aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/json/schema
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/json/schema')
-rw-r--r--src/main/resources/json/schema/analyzer.schema.json29
-rw-r--r--src/main/resources/json/schema/document-field.schema.json37
-rw-r--r--src/main/resources/json/schema/document.schema.json15
-rw-r--r--src/main/resources/json/schema/filter.schema.json17
4 files changed, 0 insertions, 98 deletions
diff --git a/src/main/resources/json/schema/analyzer.schema.json b/src/main/resources/json/schema/analyzer.schema.json
deleted file mode 100644
index 7592ee9..0000000
--- a/src/main/resources/json/schema/analyzer.schema.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "Analyzer",
- "description": "The analyzer aggregates a tokenizer and multiple filters to describe how an input stream should be indexed.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "behaviours": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "tokenizer": {
- "type": "string"
- },
- "filters": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
-} \ No newline at end of file
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
index 78d6cba..0000000
--- a/src/main/resources/json/schema/document-field.schema.json
+++ /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
diff --git a/src/main/resources/json/schema/document.schema.json b/src/main/resources/json/schema/document.schema.json
deleted file mode 100644
index bbf3e50..0000000
--- a/src/main/resources/json/schema/document.schema.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$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
diff --git a/src/main/resources/json/schema/filter.schema.json b/src/main/resources/json/schema/filter.schema.json
deleted file mode 100644
index 6d1a030..0000000
--- a/src/main/resources/json/schema/filter.schema.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "Filter",
- "description": "Filters accept a stream of tokens from a tokenizer and apply additional rules, possibly producing additional tokens. ",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "configuration": {
- "type": "string"
- }
- }
-} \ No newline at end of file