Raw schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"maxLength": 320,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "The address that receives the confirmation email."
},
"group_ids": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "Group ids the person joins once they confirm."
},
"optinConfirmUrl": {
"description": "Page the person lands on after confirming (http:// or https:// URL).",
"type": "string",
"maxLength": 2000
},
"firstname": {
"description": "First name.",
"type": "string",
"maxLength": 200
},
"lastname": {
"description": "Last name.",
"type": "string",
"maxLength": 200
},
"company": {
"description": "Company.",
"type": "string",
"maxLength": 200
},
"gender": {
"description": "m, f or o.",
"type": "string",
"enum": [
"m",
"f",
"o"
]
},
"language": {
"description": "en_ca or fr_ca.",
"type": "string",
"enum": [
"en_ca",
"fr_ca"
]
},
"birthdate": {
"description": "Birth date, yyyy-mm-dd.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"postalCode": {
"description": "Postal code.",
"type": "string",
"maxLength": 20
},
"country": {
"description": "ISO 3166-1 alpha-2 country code, e.g. CA.",
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"note": {
"description": "Free-text note.",
"type": "string",
"maxLength": 2000
},
"customFields": {
"description": "Custom field values keyed by custom field id (see cyberimpact_list_custom_fields).",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^\\d{1,12}$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "number"
}
]
}
},
"confirm_send": {
"type": "boolean",
"const": true,
"description": "Must be true: the user explicitly approved emailing this address."
}
},
"required": [
"email",
"group_ids",
"confirm_send"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}