88d631cbecee10040272df701e848619356c373b
[cps.git] /
1 {
2   "$schema": "https://json-schema.org/draft/2019-09/schema",
3   "$id": "urn:cps:org.onap.ncmp.events.subscription:1.0.0",
4   "$ref": "#/definitions/DmiInEvent",
5   "definitions": {
6     "DmiInEvent": {
7       "description": "The payload for cm notification data job subscription event incoming message from NCMP.",
8       "type": "object",
9       "javaType": "org.onap.cps.ncmp.impl.cmnotificationsubscription_1_0_0.ncmp_to_dmi.DataJobSubscriptionDmiInEvent",
10       "properties": {
11         "data": {
12           "$ref": "#/definitions/data"
13         }
14       },
15       "required": [
16         "data"
17       ]
18     },
19     "data": {
20       "type": "object",
21       "description": "Information about the cm handle targets and data job subscription",
22       "additionalProperties": false,
23       "properties": {
24         "cmHandles": {
25           "type": "array",
26           "items": {
27             "type": "object",
28             "description": "Details for the target cmhandles",
29             "additionalProperties": false,
30             "properties": {
31               "cmhandleId": {
32                 "type": "string"
33               },
34               "privateProperties": {
35                 "type": "object",
36                 "existingJavaType": "java.util.Map<String,String>",
37                 "items": {
38                   "type": "string"
39                 }
40               }
41             }
42           }
43         },
44         "productionJobDefinition": {
45           "description": "Data job subscription details",
46           "type": "object",
47           "properties": {
48             "targetSelector": {
49               "description": "An object that contains the data node selectors.",
50               "type": "object",
51               "properties": {
52                 "dataNodeSelector": {
53                   "description": "A string that contains one or multiple data node selector in JEX format.",
54                   "type": "string"
55                 }
56               }
57             },
58             "dataSelector": {
59               "description": "An object that contains the the notification types and notification filter.",
60               "type": "object",
61               "properties": {
62                 "notificationTypes": {
63                   "description": "A string array of notification types.",
64                   "type": "array",
65                   "items": {
66                     "type": "string"
67                   }
68                 },
69                 "notificationFilter": {
70                   "description": "A string that contains one or multiple notification filter in JEX format",
71                   "type": "string"
72                 }
73               }
74             }
75           }
76         }
77       }
78     },
79     "required": [
80       "cmHandles"
81     ]
82   }
83 }