11dc4e111435a5823084c1336bec24230438f337
[cps.git] /
1 {
2   "$schema": "https://json-schema.org/draft/2019-09/schema",
3   "$id": "urn:cps:org.onap.cps.ncmp.events:cm-notification-subscription-ncmp-out-event-schema:1.0.0",
4   "$ref": "#/definitions/NcmpOutEvent",
5   "definitions": {
6     "NcmpOutEvent": {
7       "type": "object",
8       "description": "The payload applied cm subscription merge event coming out from NCMP.",
9       "javaType": "org.onap.cps.ncmp.impl.cmnotificationsubscription_1_0_0.ncmp_to_client.NcmpOutEvent",
10       "additionalProperties": false,
11       "properties": {
12         "data": {
13           "$ref": "#/definitions/Data"
14         }
15       },
16       "required": [
17         "data"
18       ],
19       "title": "NcmpOutEvent"
20     },
21     "Data": {
22       "type": "object",
23       "description": "Information about the targets and subscription",
24       "additionalProperties": false,
25       "properties": {
26         "subscriptionId": {
27           "type": "string",
28           "description": "The unique subscription id"
29         },
30         "acceptedTargets": {
31           "type": "object",
32           "existingJavaType": "java.util.Collection<String>",
33           "description": "Unique Collection of accepted targets"
34         },
35         "rejectedTargets": {
36           "type": "object",
37           "existingJavaType": "java.util.Collection<String>",
38           "description": "Unique Collection of rejected targets"
39         },
40         "pendingTargets": {
41           "type": "object",
42           "existingJavaType": "java.util.Collection<String>",
43           "description": "Unique Collection of pending targets"
44         }
45       },
46       "required": [
47         "subscriptionId",
48         "acceptedTargets",
49         "rejectedTargets",
50         "pendingTargets"
51       ],
52       "title": "Data"
53     }
54   }
55
56
57 }