Merge "Further TTL increase"
[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         "eventTarget": {
23           "description": "The target 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         "eventTarget",
47         "eventType",
48         "eventSchema",
49         "eventSchemaVersion"
50       ]
51     },
52     "Event": {
53       "description": "The AVC event content.",
54       "type": "object"
55     }
56   }
57 }