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