aboutsummaryrefslogtreecommitdiffstats
path: root/search-data-service/src/main/resources/json/schema/document.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'search-data-service/src/main/resources/json/schema/document.schema.json')
-rw-r--r--search-data-service/src/main/resources/json/schema/document.schema.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/search-data-service/src/main/resources/json/schema/document.schema.json b/search-data-service/src/main/resources/json/schema/document.schema.json
new file mode 100644
index 0000000..bbf3e50
--- /dev/null
+++ b/search-data-service/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.onap.aai.sa.rest.DocumentSchema",
+ "properties": {
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "document-field.schema.json"
+ }
+ }
+ }
+} \ No newline at end of file