seanbeirne | ddeaf09 | 2023-06-21 10:42:14 +0100 | [diff] [blame] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
mpriyank | 2fe802a | 2023-08-08 15:27:18 +0100 | [diff] [blame] | 3 | "$id": "urn:cps:org.onap.cps.ncmp.events:cm-subscription-dmi-out-event-schema:1.0.0", |
| 4 | "$ref": "#/definitions/CmSubscriptionDmiOutEvent", |
seanbeirne | ddeaf09 | 2023-06-21 10:42:14 +0100 | [diff] [blame] | 5 | "definitions": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 6 | "CmSubscriptionDmiOutEvent": { |
| 7 | "description": "The payload for cm subscription merge event coming out from DMI Plugin.", |
seanbeirne | ddeaf09 | 2023-06-21 10:42:14 +0100 | [diff] [blame] | 8 | "type": "object", |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 9 | "additionalProperties": false, |
| 10 | "javaType": "org.onap.cps.ncmp.events.cmsubscription_merge1_0_0.dmi_to_ncmp.CmSubscriptionDmiOutEvent", |
seanbeirne | ddeaf09 | 2023-06-21 10:42:14 +0100 | [diff] [blame] | 11 | "properties": { |
| 12 | "data": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 13 | "$ref": "#/definitions/Data" |
halil.cakal | 5de9788 | 2023-06-23 14:30:52 +0100 | [diff] [blame] | 14 | } |
| 15 | }, |
halil.cakal | 5de9788 | 2023-06-23 14:30:52 +0100 | [diff] [blame] | 16 | "required": [ |
| 17 | "data" |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 18 | ], |
| 19 | "title": "CmSubscriptionDmiOutEvent" |
| 20 | }, |
| 21 | "Data": { |
| 22 | "type": "object", |
| 23 | "description": "Information about the targets and subscription", |
| 24 | "additionalProperties": false, |
| 25 | "properties": { |
| 26 | "statusCode": { |
| 27 | "type": "string", |
| 28 | "format": "integer", |
| 29 | "description": "The common status as defined in CPS" |
| 30 | }, |
| 31 | "statusMessage": { |
| 32 | "type": "string", |
| 33 | "description": "The common status message as defined in CPS" |
| 34 | } |
| 35 | }, |
| 36 | "required": [ |
| 37 | "statusCode", |
| 38 | "statusMessage" |
| 39 | ], |
| 40 | "title": "Data" |
seanbeirne | ddeaf09 | 2023-06-21 10:42:14 +0100 | [diff] [blame] | 41 | } |
| 42 | } |
| 43 | } |