activity-core/schemas/event-envelope.json
tegwick 26934e25b9
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 21s
Enforce bounded operation guardrails
Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
2026-08-23 12:31:13 +02:00

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"
}