blob: 0e9f256639670bca25bb8cab03562570f4a5420c [file] [log] [blame]
seanbeirne7d256442023-01-13 17:13:25 +00001{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
3 "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-schema:v1",
4 "$ref": "#/definitions/AvcEvent",
5 "definitions": {
6 "AvcEvent": {
7 "description": "The payload for AVC event.",
8 "type": "object",
9 "properties": {
10 "eventId": {
11 "description": "The unique id identifying the event generated by DMI for this AVC event.",
12 "type": "string"
13 },
14 "eventCorrelationId": {
15 "description": "The request id passed by NCMP for this AVC event.",
16 "type": "string"
17 },
18 "eventTime": {
19 "description": "The time of the AVC event. The expected format is 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'.",
20 "type": "string"
21 },
mpriyankec5d74d2023-03-20 10:55:32 +000022 "eventSource": {
23 "description": "The source of the AVC event.",
seanbeirne7d256442023-01-13 17:13:25 +000024 "type": "string"
25 },
26 "eventType": {
27 "description": "The type of the AVC event.",
28 "type": "string"
29 },
30 "eventSchema": {
31 "description": "The event schema for AVC events.",
32 "type": "string"
33 },
34 "eventSchemaVersion": {
35 "description": "The event schema version for AVC events.",
36 "type": "string"
37 },
38 "event": {
39 "$ref": "#/definitions/Event"
40 }
41 },
42 "required": [
43 "eventId",
44 "eventCorrelationId",
45 "eventTime",
mpriyankec5d74d2023-03-20 10:55:32 +000046 "eventSource",
seanbeirne7d256442023-01-13 17:13:25 +000047 "eventType",
48 "eventSchema",
49 "eventSchemaVersion"
mpriyankc02ce942023-03-14 13:51:15 +000050 ],
51 "additionalProperties": false
seanbeirne7d256442023-01-13 17:13:25 +000052 },
53 "Event": {
54 "description": "The AVC event content.",
mpriyankc02ce942023-03-14 13:51:15 +000055 "type": "object",
56 "existingJavaType": "java.lang.Object",
57 "additionalProperties": false
seanbeirne7d256442023-01-13 17:13:25 +000058 }
59 }
60}