6916cd62eb6267295eebe2bbcaba2bc58ee413b8
[cps.git] /
1
2 {
3   "$schema": "http://json-schema.org/draft-04/schema#",
4   "title": "Data job subscription operation event format",
5   "type": "object",
6   "javaType": "org.onap.cps.ncmp.impl.cmnotificationsubscription_1_0_0.DataJobSubscriptionOperationInEvent",
7   "properties": {
8     "eventType": {
9       "description": "the type of the event",
10       "type": "string"
11     },
12     "event": {
13       "description": "the root level of the common event format",
14       "type": "object",
15       "properties": {
16         "dataJob": {
17           "type": "object",
18           "properties": {
19             "id": {
20               "description": "The subscription data job identifier.",
21               "type": "string"
22             },
23             "productionJobDefinition": {
24               "description": "Additional values to be added into the subscription.",
25               "type": "object",
26               "properties": {
27                 "targetSelector": {
28                   "description": "An object that contains the data node selectors.",
29                   "type": "object",
30                   "properties": {
31                     "dataNodeSelector": {
32                       "description": "A string that contains one or multiple data node selector in JEX format.",
33                       "type": "string"
34                     }
35                   }
36                 },
37                 "dataSelector": {
38                   "description": "An object that contains the the notification types and notification filter.",
39                   "type": "object",
40                   "properties": {
41                     "notificationTypes": {
42                       "description": "A string array of notification types.",
43                       "type": "array",
44                       "items": {
45                         "type": "string"
46                       }
47                     },
48                     "notificationFilter": {
49                       "description": "A string that contains one or multiple notification filter in JEX format",
50                       "type": "string"
51                     }
52                   }
53                 }
54               }
55             }
56           }
57         },
58         "dataType": {
59           "description": "The data type of the data job subscription.",
60           "type": "object",
61           "properties": {
62             "dataTypeId": {
63               "description": "The data type identifier",
64               "type": "string"
65             }
66           }
67         }
68       }
69     }
70   }
71 }