Merge "Add O2 IMS compliance automation test scripts."
[it/test.git] / test_scripts / O2IMS_Compliance_Test / o2ims_compliance / schemas / resourceType_properties.json
diff --git a/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_properties.json b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_properties.json
new file mode 100644 (file)
index 0000000..7ed366e
--- /dev/null
@@ -0,0 +1,134 @@
+{
+    "type": "object",
+    "properties": {
+        "resourceTypeId": {
+            "type": "string",
+            "default": "0769ceee-ed27-40fa-92cc-98bb4eac1f02"
+        },
+        "name": {
+            "type": "string",
+            "default": "pserver_cpu"
+        },
+        "vendor": {
+            "type": "string",
+            "default": ""
+        },
+        "version": {
+            "type": "string",
+            "default": ""
+        },
+        "description": {
+            "type": "string",
+            "default": ""
+        },
+        "model": {
+            "type": "string"
+        },
+        "resourceKind": {
+            "type": "string"
+        },
+        "resourceClass": {
+            "type": "string"
+        },
+        "alarmDictionary": {
+            "type": ["null", "object"],
+            "properties": {
+                "alarmDictionarySchemaVersion": {
+                    "type": "string"
+                },
+                "alarmDictionaryVersion": {
+                    "type": "string"
+                },
+                "entityType": {
+                    "type": "string"
+                },
+                "vendor": {
+                    "type": "string"
+                },
+                "managementInterfaceId": {
+                    "type": "string"
+                },
+                "pkNotificationField": {
+                    "type": "string"
+                },
+                "alarmDefinition": {
+                    "type": "array",
+                    "items": {
+                        "type": "object",
+                        "properties": {
+                            "alarmDefinitionId": {
+                                "type": "string"
+                            },
+                            "alarmName": {
+                                "type": "string"
+                            },
+                            "alarmLastChange": {
+                                "type": "string"
+                            },
+                            "alarmChangeType": {
+                                "type": "string"
+                            },
+                            "alarmDescription": {
+                                "type": "string"
+                            },
+                            "proposedRepairActions": {
+                                "type": "string"
+                            },
+                            "clearingType": {
+                                "type": "string"
+                            },
+                            "managementInterfaceId": {
+                                "type": "string"
+                            },
+                            "pkNotificationField": {
+                                "type": "string"
+                            },
+                            "alarmAdditionalFields": {
+                                "type": [
+                                    "null",
+                                    "object"
+                                ]
+                            }
+                        },
+                        "required": [
+                            "alarmDefinitionId",
+                            "alarmName",
+                            "alarmLastChange",
+                            "alarmChangeType",
+                            "alarmDescription",
+                            "proposedRepairActions",
+                            "clearingType",
+                            "managementInterfaceId",
+                            "pkNotificationField",
+                            "alarmAdditionalFields"
+                        ]
+                    }
+                }
+            },
+            "required": [
+                "alarmDictionaryVersion",
+                "alarmDictionarySchemaVersion",
+                "entityType",
+                "vendor",
+                "managementInterfaceId",
+                "pkNotificationField",
+                "alarmDefinition"
+            ]
+        },
+        "extensions": {
+            "type": [
+                "null",
+                "object"
+            ]
+        }
+    },
+    "required": [
+        "description",
+        "name",
+        "resourceTypeId",
+        "vendor",
+        "version",
+        "model"
+    ],
+    "examples": []
+}