blob: d9db3ffb97e117a3750d6ad403108ebf25239469 [file] [log] [blame]
mpriyank7a7f4882023-07-05 16:14:34 +01001{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
mpriyanka3e1ba12024-02-13 11:50:23 +00003 "$id": "urn:cps:org.onap.cps.ncmp.events:cm-notification-subscription-ncmp-out-event-schema:1.0.0",
4 "$ref": "#/definitions/CmNotificationSubscriptionNcmpOutEvent",
mpriyank7a7f4882023-07-05 16:14:34 +01005 "definitions": {
mpriyanka3e1ba12024-02-13 11:50:23 +00006 "CmNotificationSubscriptionNcmpOutEvent": {
mpriyank7a7f4882023-07-05 16:14:34 +01007 "type": "object",
emaclee183a22c2023-12-13 00:41:31 +00008 "description": "The payload applied cm subscription merge event coming out from NCMP.",
mpriyanka3e1ba12024-02-13 11:50:23 +00009 "javaType": "org.onap.cps.ncmp.events.cmsubscription_merge1_0_0.ncmp_to_client.CmNotificationSubscriptionNcmpOutEvent",
mpriyank7a7f4882023-07-05 16:14:34 +010010 "additionalProperties": false,
11 "properties": {
12 "data": {
emaclee183a22c2023-12-13 00:41:31 +000013 "$ref": "#/definitions/Data"
mpriyank7a7f4882023-07-05 16:14:34 +010014 }
15 },
16 "required": [
17 "data"
emaclee183a22c2023-12-13 00:41:31 +000018 ],
mpriyanka3e1ba12024-02-13 11:50:23 +000019 "title": "CmNotificationSubscriptionNcmpOutEvent"
mpriyank7a7f4882023-07-05 16:14:34 +010020 },
emaclee183a22c2023-12-13 00:41:31 +000021 "Data": {
mpriyank7a7f4882023-07-05 16:14:34 +010022 "type": "object",
emaclee183a22c2023-12-13 00:41:31 +000023 "description": "Information about the targets and subscription",
mpriyank7a7f4882023-07-05 16:14:34 +010024 "additionalProperties": false,
25 "properties": {
emaclee183a22c2023-12-13 00:41:31 +000026 "subscriptionId": {
27 "type": "string",
28 "description": "The unique subscription id"
mpriyank7a7f4882023-07-05 16:14:34 +010029 },
emaclee183a22c2023-12-13 00:41:31 +000030 "accepted-targets": {
31 "type": "array",
32 "description": "List of accepted targets",
33 "items": {
34 "type": "string"
35 }
mpriyank7a7f4882023-07-05 16:14:34 +010036 },
emaclee183a22c2023-12-13 00:41:31 +000037 "rejected-targets": {
38 "type": "array",
39 "description": "List of rejected targets",
40 "items": {
41 "type": "string"
42 }
43 },
44 "pending-targets": {
45 "type": "array",
46 "description": "List of pending targets",
47 "items": {
48 "type": "string"
mpriyank7a7f4882023-07-05 16:14:34 +010049 }
50 }
51 },
52 "required": [
emaclee183a22c2023-12-13 00:41:31 +000053 "accepted-targets",
54 "pending-targets",
55 "rejected-targets",
56 "subscriptionId"
57 ],
58 "title": "Data"
mpriyank7a7f4882023-07-05 16:14:34 +010059 }
60 }
emaclee183a22c2023-12-13 00:41:31 +000061
62
mpriyank7a7f4882023-07-05 16:14:34 +010063}