0c8d02a6131af724511318fce15d762a7867549d
[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": "array",
32           "description": "List of accepted targets",
33           "items": {
34             "type": "string"
35           }
36         },
37         "rejectedTargets": {
38           "type": "array",
39           "description": "List of rejected targets",
40           "items": {
41             "type": "string"
42           }
43         },
44         "pendingTargets": {
45           "type": "array",
46           "description": "List of pending targets",
47           "items": {
48             "type": "string"
49           }
50         }
51       },
52       "required": [
53         "acceptedTargets",
54         "pendingTargets",
55         "rejectedTargets",
56         "subscriptionId"
57       ],
58       "title": "Data"
59     }
60   }
61
62
63 }