Add elasticsearch with searchguard Dockerfile
[aai/search-data-service.git] / src / main / resources / json / schema / document-field.schema.json
diff --git a/src/main/resources/json/schema/document-field.schema.json b/src/main/resources/json/schema/document-field.schema.json
deleted file mode 100644 (file)
index 78d6cba..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "$schema": "http://json-schema.org/draft-04/schema#",
-  "title": "Document Field Schema",
-  "description": "Describes the structure of a document field for storage in a document store.",
-  "type": "object",
-  "javaType": "org.onap.aai.sa.rest.DocumentFieldSchema",
-  "properties": {
-    "name": {
-      "type": "string"
-    },
-    "data-type": {
-      "type": "string"
-    },
-    "format": {
-      "type": "string"
-    },
-    "searchable": {
-      "type": "boolean"
-    },
-    "search-analyzer": {
-      "type": "string"
-    },
-    "index-analyzer": {
-      "type": "string"
-    },
-    "sub-fields": {
-      "type": "array",
-      "items": {
-        "$ref": "document-field.schema.json"
-      }
-    }
-  },
-  "required": [
-    "name",
-    "data-type"
-  ]
-}
\ No newline at end of file