Modify DmiDataOperationRequest to make it identical as DataOperationRequest
[cps.git] / cps-ncmp-events / src / main / resources / schemas / cmsubscription / cm-subscription-ncmp-out-event-schema-1.0.0.json
1 {
2   "$schema": "https://json-schema.org/draft/2019-09/schema",
3   "$id": "urn:cps:org.onap.cps.ncmp.events:cm-subscription-ncmp-out-event-schema:1.0.0",
4   "$ref": "#/definitions/CmSubscriptionNcmpOutEvent",
5   "definitions": {
6     "CmSubscriptionNcmpOutEvent": {
7       "description": "The payload for avc subscription event outcome message.",
8       "type": "object",
9       "javaType": "org.onap.cps.ncmp.events.cmsubscription1_0_0.ncmp_to_client.CmSubscriptionNcmpOutEvent",
10       "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 }