{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://itworx.local/pulse/specs/event.schema.json", "title": "Pulse event", "type": "object", "additionalProperties": false, "required": [ "schemaVersion", "eventId", "eventType", "severity", "occurredAt", "receivedAt", "sourceId", "summary", "attributes" ], "properties": { "schemaVersion": { "type": "integer", "minimum": 1 }, "eventId": { "type": "string", "format": "uuid" }, "eventType": { "type": "string", "pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9_]*)+$", "maxLength": 160 }, "severity": { "type": "string", "enum": [ "info", "attention", "warning", "critical" ] }, "entityId": { "type": [ "string", "null" ], "format": "uuid" }, "sourceId": { "type": "string", "format": "uuid" }, "occurredAt": { "type": "string", "format": "date-time" }, "receivedAt": { "type": "string", "format": "date-time" }, "dedupKey": { "type": [ "string", "null" ], "maxLength": 512 }, "correlationId": { "type": [ "string", "null" ], "maxLength": 128 }, "summary": { "type": "string", "minLength": 1, "maxLength": 500 }, "attributes": { "type": "object", "maxProperties": 100 } } }