{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://stella-ops.org/notify/schemas/event-envelope.schema.json", "title": "Notify Event Envelope", "type": "object", "required": [ "schema_version", "tenant_id", "event_id", "occurred_at", "kind", "payload" ], "properties": { "schema_version": { "type": "string", "pattern": "^v[0-9]+\\.[0-9]+$" }, "tenant_id": { "type": "string", "minLength": 1 }, "event_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{18,36}$" }, "occurred_at": { "type": "string", "format": "date-time" }, "kind": { "type": "string", "minLength": 1 }, "correlation_id": { "type": "string" }, "source": { "type": "string" }, "payload": { "type": "object" }, "attributes": { "type": "object", "additionalProperties": { "type": ["string", "number", "boolean", "null"] } } }, "additionalProperties": false }