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