blob: caae82bb232607f73c267cc6353da6bb493295bc [file] [log] [blame]
seanbeirne7d256442023-01-13 17:13:25 +00001{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
mpriyank87f0b002023-05-04 11:24:29 +01003 "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-headers-schema:v1",
4 "$ref": "#/definitions/AvcEventHeader",
seanbeirne7d256442023-01-13 17:13:25 +00005 "definitions": {
mpriyank87f0b002023-05-04 11:24:29 +01006 "AvcEventHeader": {
7 "description": "The header for AVC event.",
seanbeirne7d256442023-01-13 17:13:25 +00008 "type": "object",
mpriyank87f0b002023-05-04 11:24:29 +01009 "javaType" : "org.onap.cps.ncmp.events.avc.v1.AvcEventHeader",
seanbeirne7d256442023-01-13 17:13:25 +000010 "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 },
mpriyankec5d74d2023-03-20 10:55:32 +000023 "eventSource": {
24 "description": "The source of the AVC event.",
seanbeirne7d256442023-01-13 17:13:25 +000025 "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"
seanbeirne7d256442023-01-13 17:13:25 +000038 }
39 },
40 "required": [
41 "eventId",
42 "eventCorrelationId",
seanbeirne7d256442023-01-13 17:13:25 +000043 "eventType",
44 "eventSchema",
45 "eventSchemaVersion"
mpriyankc02ce942023-03-14 13:51:15 +000046 ],
47 "additionalProperties": false
seanbeirne7d256442023-01-13 17:13:25 +000048 }
49 }
50}