mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
mpriyank | a3e1ba1 | 2024-02-13 11:50:23 +0000 | [diff] [blame] | 3 | "$id": "urn:cps:org.onap.cps.ncmp.events:cm-notification-subscription-ncmp-out-event-schema:1.0.0", |
| 4 | "$ref": "#/definitions/CmNotificationSubscriptionNcmpOutEvent", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 5 | "definitions": { |
mpriyank | a3e1ba1 | 2024-02-13 11:50:23 +0000 | [diff] [blame] | 6 | "CmNotificationSubscriptionNcmpOutEvent": { |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 7 | "type": "object", |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 8 | "description": "The payload applied cm subscription merge event coming out from NCMP.", |
mpriyank | a3e1ba1 | 2024-02-13 11:50:23 +0000 | [diff] [blame] | 9 | "javaType": "org.onap.cps.ncmp.events.cmsubscription_merge1_0_0.ncmp_to_client.CmNotificationSubscriptionNcmpOutEvent", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 10 | "additionalProperties": false, |
| 11 | "properties": { |
| 12 | "data": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 13 | "$ref": "#/definitions/Data" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 14 | } |
| 15 | }, |
| 16 | "required": [ |
| 17 | "data" |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 18 | ], |
mpriyank | a3e1ba1 | 2024-02-13 11:50:23 +0000 | [diff] [blame] | 19 | "title": "CmNotificationSubscriptionNcmpOutEvent" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 20 | }, |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 21 | "Data": { |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 22 | "type": "object", |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 23 | "description": "Information about the targets and subscription", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 24 | "additionalProperties": false, |
| 25 | "properties": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 26 | "subscriptionId": { |
| 27 | "type": "string", |
| 28 | "description": "The unique subscription id" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 29 | }, |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 30 | "accepted-targets": { |
| 31 | "type": "array", |
| 32 | "description": "List of accepted targets", |
| 33 | "items": { |
| 34 | "type": "string" |
| 35 | } |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 36 | }, |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 37 | "rejected-targets": { |
| 38 | "type": "array", |
| 39 | "description": "List of rejected targets", |
| 40 | "items": { |
| 41 | "type": "string" |
| 42 | } |
| 43 | }, |
| 44 | "pending-targets": { |
| 45 | "type": "array", |
| 46 | "description": "List of pending targets", |
| 47 | "items": { |
| 48 | "type": "string" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 49 | } |
| 50 | } |
| 51 | }, |
| 52 | "required": [ |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 53 | "accepted-targets", |
| 54 | "pending-targets", |
| 55 | "rejected-targets", |
| 56 | "subscriptionId" |
| 57 | ], |
| 58 | "title": "Data" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 59 | } |
| 60 | } |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 61 | |
| 62 | |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 63 | } |