aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/json/schema/document.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/json/schema/document.schema.json')
-rw-r--r--src/main/resources/json/schema/document.schema.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/resources/json/schema/document.schema.json b/src/main/resources/json/schema/document.schema.json
new file mode 100644
index 0000000..e2dd204
--- /dev/null
+++ b/src/main/resources/json/schema/document.schema.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Document Schema",
+ "description": "Describes the structure of a document for storage in a document store.",
+ "type": "object",
+ "javaType": "org.openecomp.sa.rest.DocumentSchema",
+ "properties": {
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "document-field.schema.json"
+ }
+ }
+ }
+} \ No newline at end of file