MessagingRegistration
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
auto_renewal | Exactly false | Optional | — |
brand_reference | anyOf: string; null | Optional | — |
campaign_generation | integer | Optional | minimum: 0 |
campaign_reference | anyOf: string; null | Optional | — |
costs | object | Optional | Additional properties allowed |
costs.brand_micros | anyOf: string; null | Optional | — |
costs.campaign_initial_term_micros | anyOf: string; null | Optional | — |
costs.campaign_monthly_micros | anyOf: string; null | Optional | — |
org | string | Optional | Public org_… reference (not a UUID). pattern: ^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
profile_ready | boolean | Optional | — |
status | not_registered, brand_unknown, brand_pending, brand_ready, campaign_unknown, campaign_pending, active, expired, failed | Optional | — |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"auto_renewal": {
"const": false
},
"brand_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"campaign_generation": {
"minimum": 0,
"type": "integer"
},
"campaign_reference": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"costs": {
"additionalProperties": true,
"properties": {
"brand_micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"campaign_initial_term_micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"campaign_monthly_micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"org": {
"description": "Public org_… reference (not a UUID)",
"pattern": "^org_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"profile_ready": {
"type": "boolean"
},
"status": {
"enum": [
"not_registered",
"brand_unknown",
"brand_pending",
"brand_ready",
"campaign_unknown",
"campaign_pending",
"active",
"expired",
"failed"
],
"type": "string"
}
},
"type": "object"
}