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 / commonHeaderType_draft04.json
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderType_draft04.json b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/test/resources/schema/commonHeaderType_draft04.json
new file mode 100644 (file)
index 0000000..de1c05b
--- /dev/null
@@ -0,0 +1,24 @@
+{
+  "$schema": "http://json-schema.org/draft-04/schema#",
+  "type": "object",
+  "properties": {
+    "requestId": {
+      "type": "string"
+    },
+    "subRequestId": {
+      "type": "string"
+    },
+    "originatorId": {
+      "type": "string"
+    },
+    "testId": {
+      "type": "number"
+    }
+  },
+  "required": [
+    "requestId",
+    "subRequestId",
+    "originatorId",
+    "testId"
+  ]
+}