-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEvent-Schema.json
57 lines (57 loc) · 1.58 KB
/
Event-Schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "EventDto",
"properties": {
"eventId": {
"type": "string",
"description": "Unique identifier for the event"
},
"description": {
"type": "string",
"description": "Description of the event"
},
"productionModule": {
"type": "string",
"description": "Production module associated with the event",
"minLength": 1
},
"pilot": {
"type": "string",
"description": "Pilot associated with the event",
"minLength": 1
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the event in ISO 8601 format"
},
"priority": {
"type": "string",
"description": "Priority of the message",
"enum": ["LOW", "MEDIUM", "HIGH"]
},
"eventType": {
"type": "string",
"description": "Type of the event"
},
"sourceComponent": {
"type": "string",
"description": "Source component of the event"
},
"smartService": {
"type": "string",
"description": "Smart service associated with the event"
},
"topic": {
"type": "string",
"description": "Topic of the event"
},
"results": {
"type": ["object", "null"],
"description": "Results of the event"
}
},
"required": ["productionModule", "pilot", "priority"],
"additionalProperties": false
}