blob: 9c0c28b2fa3b081bbeb464a4cf5a0742a4dfbfdd [file] [log] [blame]
mpriyank7a7f4882023-07-05 16:14:34 +01001{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
mpriyank2fe802a2023-08-08 15:27:18 +01003 "$id": "urn:cps:org.onap.cps.ncmp.events:cm-subscription-ncmp-out-event-schema:1.0.0",
4 "$ref": "#/definitions/CmSubscriptionNcmpOutEvent",
mpriyank7a7f4882023-07-05 16:14:34 +01005 "definitions": {
mpriyank2fe802a2023-08-08 15:27:18 +01006 "CmSubscriptionNcmpOutEvent": {
mpriyank7a7f4882023-07-05 16:14:34 +01007 "description": "The payload for avc subscription event outcome message.",
8 "type": "object",
mpriyank2fe802a2023-08-08 15:27:18 +01009 "javaType": "org.onap.cps.ncmp.events.cmsubscription1_0_0.ncmp_to_client.CmSubscriptionNcmpOutEvent",
mpriyank7a7f4882023-07-05 16:14:34 +010010 "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}