2d720e6fd6f74f1893b72fffb58e9eb8c9610843
[it/test.git] / test_scripts / O2IMS_Compliance_Test / o2ims_compliance / schemas / resourceTypes_allfields_properties.json
1 {
2     "type": "array",
3     "items": {
4         "type": "object",
5         "properties": {
6             "resourceTypeId": {
7                 "type": "string"
8             },
9             "name": {
10                 "type": "string"
11             },
12             "description": {
13                 "type": "string"
14             },
15             "vendor": {
16                 "type": "string"
17             },
18             "model": {
19                 "type": "string"
20             },
21             "version": {
22                 "type": "string"
23             },
24             "alarmDictionary": {
25                 "type": ["null", "object"],
26                 "properties": {
27                     "alarmDictionarySchemaVersion": {
28                         "type": "string"
29                     },
30                     "alarmDictionaryVersion": {
31                         "type": "string"
32                     },
33                     "entityType": {
34                         "type": "string"
35                     },
36                     "vendor": {
37                         "type": "string"
38                     },
39                     "managementInterfaceId": {
40                         "type": "string"
41                     },
42                     "pkNotificationField": {
43                         "type": "string"
44                     },
45                     "alarmDefinition": {
46                         "type": "array",
47                         "items": {
48                             "type": "object",
49                             "properties": {
50                                 "alarmDefinitionId": {
51                                     "type": "string"
52                                 },
53                                 "alarmName": {
54                                     "type": "string"
55                                 },
56                                 "alarmLastChange": {
57                                     "type": "string"
58                                 },
59                                 "alarmChangeType": {
60                                     "type": "string"
61                                 },
62                                 "alarmDescription": {
63                                     "type": "string"
64                                 },
65                                 "proposedRepairActions": {
66                                     "type": "string"
67                                 },
68                                 "clearingType": {
69                                     "type": "string"
70                                 },
71                                 "managementInterfaceId": {
72                                     "type": "string"
73                                 },
74                                 "pkNotificationField": {
75                                     "type": "string"
76                                 },
77                                 "alarmAdditionalFields": {
78                                     "type": [
79                                         "null",
80                                         "object"
81                                     ]
82                                 }
83                             },
84                             "required": [
85                                 "alarmDefinitionId",
86                                 "alarmName",
87                                 "alarmLastChange",
88                                 "alarmChangeType",
89                                 "alarmDescription",
90                                 "proposedRepairActions",
91                                 "clearingType",
92                                 "managementInterfaceId",
93                                 "pkNotificationField",
94                                 "alarmAdditionalFields"
95                             ]
96                         }
97                     }
98                 },
99                 "required": [
100                     "alarmDictionaryVersion",
101                     "alarmDictionarySchemaVersion",
102                     "entityType",
103                     "vendor",
104                     "managementInterfaceId",
105                     "pkNotificationField",
106                     "alarmDefinition"
107                 ]
108             },
109             "extensions": {
110                 "type": [
111                     "null",
112                     "object"
113                 ]
114             }
115         },
116         "required": [
117             "alarmDictionary",
118             "description",
119             "extensions",
120             "model",
121             "name",
122             "resourceTypeId",
123             "vendor",
124             "version"
125         ]
126     }
127 }