mpriyank | 7a7f488 | 2023-07-05 16:14:34 +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-ncmp-out-event-schema:1.0.0", |
| 4 | "$ref": "#/definitions/CmSubscriptionNcmpOutEvent", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 5 | "definitions": { |
mpriyank | 2fe802a | 2023-08-08 15:27:18 +0100 | [diff] [blame] | 6 | "CmSubscriptionNcmpOutEvent": { |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 7 | "description": "The payload for avc subscription event outcome message.", |
| 8 | "type": "object", |
mpriyank | 2fe802a | 2023-08-08 15:27:18 +0100 | [diff] [blame] | 9 | "javaType": "org.onap.cps.ncmp.events.cmsubscription1_0_0.ncmp_to_client.CmSubscriptionNcmpOutEvent", |
mpriyank | 7a7f488 | 2023-07-05 16:14:34 +0100 | [diff] [blame] | 10 | "additionalProperties": false, |
| 11 | "properties": { |
| 12 | "data": { |
| 13 | "$ref": "#/definitions/data" |
| 14 | } |
| 15 | }, |
| 16 | "required": [ |
| 17 | "data" |
| 18 | ] |
| 19 | }, |
| 20 | "data": { |
| 21 | "type": "object", |
| 22 | "description": "The actual data containing information about the pending and rejected targets", |
| 23 | "additionalProperties": false, |
| 24 | "properties": { |
| 25 | "statusCode": { |
| 26 | "type": "integer" |
| 27 | }, |
| 28 | "statusMessage": { |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "additionalInfo": { |
| 32 | "type": "object", |
| 33 | "additionalProperties": false, |
| 34 | "properties": { |
| 35 | "rejected": { |
| 36 | "$ref": "#/definitions/additionalInfoDetails" |
| 37 | }, |
| 38 | "pending": { |
| 39 | "$ref": "#/definitions/additionalInfoDetails" |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | }, |
| 44 | "required": [ |
| 45 | "statusCode", |
| 46 | "statusMessage" |
| 47 | ] |
| 48 | }, |
| 49 | "additionalInfoDetails": { |
| 50 | "type": "array", |
| 51 | "items": { |
| 52 | "type": "object", |
| 53 | "description": "Details for the target cmhandles", |
| 54 | "additionalProperties": false, |
| 55 | "properties": { |
| 56 | "details": { |
| 57 | "type": "string" |
| 58 | }, |
| 59 | "targets": { |
| 60 | "type": "array", |
| 61 | "items": { |
| 62 | "type": "string" |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | } |