Files
ITWorx Pulse release export bd774932d5
Public source validation / validate (push) Failing after 3m8s
Publish ITWorx Pulse source
2026-09-03 02:09:19 +02:00

85 lines
1.5 KiB
JSON

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