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", |
mpriyank | bac230b | 2024-07-01 12:32:27 +0100 | [diff] [blame] | 4 | "$ref": "#/definitions/NcmpOutEvent", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 5 | "definitions": { |
mpriyank | bac230b | 2024-07-01 12:32:27 +0100 | [diff] [blame] | 6 | "NcmpOutEvent": { |
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 | bac230b | 2024-07-01 12:32:27 +0100 | [diff] [blame] | 9 | "javaType": "org.onap.cps.ncmp.impl.cmnotificationsubscription_1_0_0.ncmp_to_client.NcmpOutEvent", |
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 | bac230b | 2024-07-01 12:32:27 +0100 | [diff] [blame] | 19 | "title": "NcmpOutEvent" |
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 | }, |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 30 | "acceptedTargets": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 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 | }, |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 37 | "rejectedTargets": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 38 | "type": "array", |
| 39 | "description": "List of rejected targets", |
| 40 | "items": { |
| 41 | "type": "string" |
| 42 | } |
| 43 | }, |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 44 | "pendingTargets": { |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 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": [ |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 53 | "acceptedTargets", |
| 54 | "pendingTargets", |
| 55 | "rejectedTargets", |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 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 | } |