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