seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame^] | 3 | "$id": "urn:cps:org.onap.cps.ncmp.events:avc-event-headers-schema:v1", |
| 4 | "$ref": "#/definitions/AvcEventHeader", |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 5 | "definitions": { |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame^] | 6 | "AvcEventHeader": { |
| 7 | "description": "The header for AVC event.", |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 8 | "type": "object", |
mpriyank | 87f0b00 | 2023-05-04 11:24:29 +0100 | [diff] [blame^] | 9 | "javaType" : "org.onap.cps.ncmp.events.avc.v1.AvcEventHeader", |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 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 | }, |
mpriyank | ec5d74d | 2023-03-20 10:55:32 +0000 | [diff] [blame] | 23 | "eventSource": { |
| 24 | "description": "The source of the AVC event.", |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 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" |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 38 | } |
| 39 | }, |
| 40 | "required": [ |
| 41 | "eventId", |
| 42 | "eventCorrelationId", |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 43 | "eventType", |
| 44 | "eventSchema", |
| 45 | "eventSchemaVersion" |
mpriyank | c02ce94 | 2023-03-14 13:51:15 +0000 | [diff] [blame] | 46 | ], |
| 47 | "additionalProperties": false |
seanbeirne | 7d25644 | 2023-01-13 17:13:25 +0000 | [diff] [blame] | 48 | } |
| 49 | } |
| 50 | } |