raviteja.karumuri | e9ac24f | 2023-04-13 23:44:41 +0100 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
| 3 | "$id": "urn:cps:org.onap.cps.ncmp.events.async:batch-event-headers:1.0.0", |
| 4 | "$ref": "#/definitions/BatchEventHeaders", |
| 5 | "definitions": { |
| 6 | "BatchEventHeaders": { |
| 7 | "description": "The header information of the Batch event.", |
| 8 | "type": "object", |
| 9 | "javaType" : "org.onap.cps.ncmp.events.async.BatchEventHeadersV1", |
| 10 | "properties": { |
| 11 | "eventId": { |
| 12 | "description": "The unique id for identifying the event.", |
| 13 | "type": "string" |
| 14 | }, |
| 15 | "eventCorrelationId": { |
| 16 | "description": "The request id received by NCMP as an acknowledgement.", |
| 17 | "type": "string" |
| 18 | }, |
| 19 | "eventTime": { |
| 20 | "description": "The time of the event. It should be in RFC format ('yyyy-MM-dd'T'HH:mm:ss.SSSZ').", |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "eventTarget": { |
| 24 | "description": "The destination topic to forward the consumed event.", |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "eventSource": { |
| 28 | "description": "The source of the event.", |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "eventType": { |
| 32 | "description": "The type of the Batch event.", |
| 33 | "type": "string" |
| 34 | }, |
| 35 | "eventSchema": { |
| 36 | "description": "The schema of the Batch event payload.", |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "eventSchemaVersion": { |
| 40 | "description": "The schema version of the Batch event payload.", |
| 41 | "type": "string" |
| 42 | } |
| 43 | }, |
| 44 | "required": [ |
| 45 | "eventId", |
| 46 | "eventCorrelationId", |
| 47 | "eventTarget", |
| 48 | "eventType", |
| 49 | "eventSchema", |
| 50 | "eventSchemaVersion" |
| 51 | ], |
| 52 | "additionalProperties": false |
| 53 | } |
| 54 | } |
| 55 | } |