Adding JSON Schema support in APEX-PDP
[policy/apex-pdp.git] / plugins / plugins-context / plugins-context-schema / plugins-context-schema-json / src / test / resources / schema / commonHeaderTypeWithOptional.json
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderTypeWithOptional.json b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderTypeWithOptional.json
new file mode 100644 (file)
index 0000000..d8d994f
--- /dev/null
@@ -0,0 +1,23 @@
+{
+  "$schema": "http://json-schema.org/draft-04/schema#",
+  "type": "object",
+  "properties": {
+    "requestId": {
+      "type": "string"
+    },
+    "subRequestId": {
+      "type": "string"
+    },
+    "originatorId": {
+      "type": "string"
+    },
+    "testId": {
+      "type": "integer"
+    }
+  },
+  "required": [
+    "requestId",
+    "subRequestId",
+    "originatorId"
+  ]
+}