Merge "Add O2 IMS compliance automation test scripts."
[it/test.git] / test_scripts / O2IMS_Compliance_Test / o2ims_compliance / schemas / resources_properties.json
diff --git a/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resources_properties.json b/test_scripts/O2IMS_Compliance_Test/o2ims_compliance/schemas/resources_properties.json
new file mode 100644 (file)
index 0000000..86aec84
--- /dev/null
@@ -0,0 +1,52 @@
+{
+    "type": "array",
+    "items": {
+        "type": "object",
+        "properties": {
+            "resourceId": {
+                "type": "string"
+            },
+            "resourceTypeId": {
+                "type": "string"
+            },
+            "resourcePoolId": {
+                "type": "string"
+            },
+            "name": {
+                "type": "string"
+            },
+            "parentId": {
+                "type": [
+                    "null",
+                    "string"
+                ]
+            },
+            "description": {
+                "type": "string"
+            },
+            "globalAssetId": {
+                "type": "string"
+            },
+            "extensions": {
+                "type": [
+                    "null",
+                    "object"
+                ],
+                "default": null
+            },
+            "elements": {
+                "type": [
+                    "null",
+                    "array"
+                ],
+                "default": null
+            }
+        },
+        "required": [
+            "description",
+            "resourceId",
+            "resourcePoolId",
+            "resourceTypeId"
+        ]
+    }
+}
\ No newline at end of file