LcmEvent to have header now
[cps.git] / cps-ncmp-events / src / main / resources / schemas / dmidataavc / avc-event-header-v1.json
1 {
2   "$schema": "https://json-schema.org/draft/2019-09/schema",
3   "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-header-schema:v1",
4   "$ref": "#/definitions/AvcEventHeader",
5   "definitions": {
6     "AvcEventHeader": {
7       "description": "The header for AVC event.",
8       "type": "object",
9       "javaType" : "org.onap.cps.ncmp.events.avc.v1.AvcEventHeader",
10       "properties": {
11         "eventId": {
12           "description": "The unique id identifying the event generated by DMI for this AVC event.",
13           "type": "string"
14         },
15         "eventCorrelationId": {
16           "description": "The request id passed by NCMP for this AVC event.",
17           "type": "string"
18         },
19         "eventTime": {
20           "description": "The time of the AVC event. The expected format is 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'.",
21           "type": "string"
22         },
23         "eventSource": {
24           "description": "The source of the AVC event.",
25           "type": "string"
26         },
27         "eventType": {
28           "description": "The type of the AVC event.",
29           "type": "string"
30         },
31         "eventSchema": {
32           "description": "The event schema for AVC events.",
33           "type": "string"
34         },
35         "eventSchemaVersion": {
36           "description": "The event schema version for AVC events.",
37           "type": "string"
38         }
39       },
40       "required": [
41         "eventId",
42         "eventCorrelationId",
43         "eventType",
44         "eventSchema",
45         "eventSchemaVersion"
46       ],
47       "additionalProperties": false
48     }
49   }
50 }