Merge "switch drools pdp image to new one"
[integration.git] / test / mocks / mass-pnf-sim / pnf-sim-lightweight / json_schema / input_validator.json
1 {
2   "$schema": "http://json-schema.org/draft-04/schema#",
3   "type": "object",
4   "properties": {
5     "simulatorParams": {
6       "type": "object",
7       "properties": {
8         "testDuration": {
9           "type": "string"
10         },
11         "messageInterval": {
12           "type": "string"
13         }
14       },
15       "required": [
16         "testDuration",
17         "messageInterval"
18       ]
19     },
20     "commonEventHeaderParams": {
21       "type": "object",
22       "properties": {
23         "eventName": {
24           "type": "string"
25         },
26         "nfNamingCode": {
27           "type": "string"
28         },
29         "nfcNamingCode": {
30           "type": "string"
31         }
32       },
33       "required": [
34         "eventName"
35       ]
36     },
37
38
39     "pnfRegistrationParams": {
40       "type": "object",
41       "properties": {
42         "serialNumber": {
43           "type": "string"
44         },
45         "vendorName": {
46           "type": "string"
47         },
48         "oamV4IpAddress": {
49           "type": "string"
50         },
51         "oamV6IpAddress": {
52           "type": "string"
53         },
54         "unitFamily": {
55           "type": "string"
56         },
57         "modelNumber": {
58           "type": "string"
59         },
60         "softwareVersion": {
61           "type": "string"
62         },
63         "unitType": {
64           "type": "string"
65         }
66       },
67       "required": [
68         "serialNumber",
69         "vendorName",
70         "oamV4IpAddress",
71         "oamV6IpAddress",
72         "unitFamily",
73         "modelNumber",
74         "softwareVersion",
75         "unitType"
76       ]
77     },
78     "notificationParams": {
79       "type": "object",
80       "properties": {
81         "changeIdentifier": {
82           "type": "string"
83         },
84         "changeType": {
85           "type": "string"
86         }
87       },
88       "required": [
89         "changeIdentifier",
90         "changeType"
91       ]
92     }
93   },
94
95   "oneOf": [
96     {
97       "required": [
98         "simulatorParams",
99         "commonEventHeaderParams",
100         "pnfRegistrationParams"
101       ]
102     },
103     {
104       "required": [
105         "simulatorParams",
106         "commonEventHeaderParams",
107         "notificationParams"
108       ]
109     }
110   ]
111
112
113 }