Engineering manualSchema reference
CTA
Declared schema: schemas/cta.schema.json
Source: schemas/cta.schema.json. This is the complete declaration, including nested definitions and constraints. Its presence is not evidence that a runtime producer or consumer validates against it.
All schemas · Data structures and lineage
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CTA",
"type": "object",
"additionalProperties": false,
"required": [
"id",
"brand_id",
"campaign_id",
"label",
"action",
"destination",
"funnel_stage",
"incentive",
"metric_ids",
"review_status"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"brand_id": {
"type": "string",
"minLength": 1
},
"campaign_id": {
"type": "string",
"minLength": 1
},
"label": {
"type": "string",
"minLength": 1
},
"action": {
"type": "string",
"minLength": 1
},
"destination": {
"type": "string",
"minLength": 1
},
"funnel_stage": {
"type": "string",
"enum": [
"awareness",
"consideration",
"conversion",
"loyalty",
"advocacy"
]
},
"incentive": {
"type": "string",
"minLength": 1
},
"metric_ids": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"review_status": {
"type": "string",
"enum": [
"draft",
"needs_review",
"approved",
"rejected"
]
}
}
}