Message Envelope Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tcf-spec.com/schemas/v0.4/envelope.json",
"title": "TCF Message Envelope",
"type": "object",
"required": ["tcf_version", "message_id", "timestamp", "sender", "content"],
"properties": {
"tcf_version": {
"type": "string",
"pattern": "^\\d+\\.\\d+$"
},
"message_id": {
"type": "string",
"format": "uuid"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
}
📥 Download full schema
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tcf-spec.com/schemas/v0.4/envelope.json",
"title": "TCF Message Envelope",
"type": "object",
"required": ["tcf_version", "message_id", "timestamp", "sender", "content"],
"properties": {
"tcf_version": {
"type": "string",
"pattern": "^\\d+\\.\\d+$"
},
"message_id": {
"type": "string",
"format": "uuid"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
}