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": { |
mpriyank | f11f294 | 2024-07-31 16:29:01 +0100 | [diff] [blame] | 31 | "type": "object", |
| 32 | "existingJavaType": "java.util.Collection<String>", |
| 33 | "description": "Unique Collection of accepted targets" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 34 | }, |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 35 | "rejectedTargets": { |
mpriyank | f11f294 | 2024-07-31 16:29:01 +0100 | [diff] [blame] | 36 | "type": "object", |
| 37 | "existingJavaType": "java.util.Collection<String>", |
| 38 | "description": "Unique Collection of rejected targets" |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 39 | }, |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 40 | "pendingTargets": { |
mpriyank | f11f294 | 2024-07-31 16:29:01 +0100 | [diff] [blame] | 41 | "type": "object", |
| 42 | "existingJavaType": "java.util.Collection<String>", |
| 43 | "description": "Unique Collection of pending targets" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 44 | } |
| 45 | }, |
| 46 | "required": [ |
mpriyank | 0b200f1 | 2024-07-24 14:10:48 +0100 | [diff] [blame] | 47 | "subscriptionId", |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 48 | "acceptedTargets", |
mpriyank | daa92d7 | 2024-05-31 09:46:11 +0100 | [diff] [blame] | 49 | "rejectedTargets", |
mpriyank | 0b200f1 | 2024-07-24 14:10:48 +0100 | [diff] [blame] | 50 | "pendingTargets" |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 51 | ], |
| 52 | "title": "Data" |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 53 | } |
| 54 | } |
emaclee | 183a22c | 2023-12-13 00:41:31 +0000 | [diff] [blame] | 55 | |
| 56 | |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 57 | } |