blob: d75e53cdfcc0cacfee30caf1d84db087dba42ff0 [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 },
mpriyankdaa92d72024-05-31 09:46:11 +010030 "acceptedTargets": {
emaclee183a22c2023-12-13 00:41:31 +000031 "type": "array",
32 "description": "List of accepted targets",
33 "items": {
34 "type": "string"
35 }
mpriyank7a7f4882023-07-05 16:14:34 +010036 },
mpriyankdaa92d72024-05-31 09:46:11 +010037 "rejectedTargets": {
emaclee183a22c2023-12-13 00:41:31 +000038 "type": "array",
39 "description": "List of rejected targets",
40 "items": {
41 "type": "string"
42 }
43 },
mpriyankdaa92d72024-05-31 09:46:11 +010044 "pendingTargets": {
emaclee183a22c2023-12-13 00:41:31 +000045 "type": "array",
46 "description": "List of pending targets",
47 "items": {
48 "type": "string"
mpriyank7a7f4882023-07-05 16:14:34 +010049 }
50 }
51 },
52 "required": [
mpriyankdaa92d72024-05-31 09:46:11 +010053 "acceptedTargets",
54 "pendingTargets",
55 "rejectedTargets",
emaclee183a22c2023-12-13 00:41:31 +000056 "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}