Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
46 lines
No EOL
1.2 KiB
JSON
46 lines
No EOL
1.2 KiB
JSON
{
|
|
"description": "Standard internal event envelope. All inbound events (NATS, webhook, cron)\nare normalised into this shape before processing.",
|
|
"properties": {
|
|
"id": {
|
|
"description": "UUID v4 \u2014 stable unique ID for deduplication.",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Dot-namespaced event type, e.g. 'org.repo.registered'.",
|
|
"title": "Type",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"default": "1.0",
|
|
"description": "Schema version string.",
|
|
"title": "Version",
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"description": "When the event occurred (UTC).",
|
|
"format": "date-time",
|
|
"title": "Timestamp",
|
|
"type": "string"
|
|
},
|
|
"publisher": {
|
|
"description": "Originating service, e.g. 'the-custodian/state-hub'.",
|
|
"title": "Publisher",
|
|
"type": "string"
|
|
},
|
|
"attributes": {
|
|
"additionalProperties": true,
|
|
"description": "Event-specific attributes; structure varies by event type.",
|
|
"title": "Attributes",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"type",
|
|
"timestamp",
|
|
"publisher"
|
|
],
|
|
"title": "EventEnvelope",
|
|
"type": "object"
|
|
} |