Merge "Add O2 IMS compliance automation test scripts."
[it/test.git] / test_scripts / O2IMS_Compliance_Test / o2ims_compliance / schemas / resourceType_allfields_properties.json
diff --git a/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_allfields_properties.json b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resourceType_allfields_properties.json
new file mode 100644 (file)
index 0000000..522e8b9
--- /dev/null
@@ -0,0 +1,130 @@
+{
+    "type": "object",
+    "properties": {
+        "resourceTypeId": {
+            "type": "string",
+            "default": "60cba7be-e2cd-3b8c-a7ff-16e0f10573f9"
+        },
+        "name": {
+            "type": "string",
+            "default": "pserver"
+        },
+        "description": {
+            "type": "string",
+            "default": "The Physical Server resource type"
+        },
+        "vendor": {
+            "type": "string",
+            "default": ""
+        },
+        "model": {
+            "type": "string",
+            "default": ""
+        },
+        "version": {
+            "type": "string",
+            "default": ""
+        },
+        "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": [
+        "alarmDictionary",
+        "description",
+        "extensions",
+        "model",
+        "name",
+        "resourceTypeId",
+        "vendor",
+        "version"
+    ]
+}