Move integration test (DataService)
[cps.git] / cps-ncmp-events / src / main / resources / schemas / avc-event-schema-v1.json
1 {
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         },
22         "eventSource": {
23           "description": "The source of the AVC event.",
24           "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",
46         "eventSource",
47         "eventType",
48         "eventSchema",
49         "eventSchemaVersion"
50       ],
51       "additionalProperties": false
52     },
53     "Event": {
54       "description": "The AVC event content.",
55       "type": "object",
56       "existingJavaType": "java.lang.Object",
57       "additionalProperties": false
58     }
59   }
60 }