aboutsummaryrefslogtreecommitdiffstats
path: root/search-data-service/src/main/resources/json/schema/analyzer.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'search-data-service/src/main/resources/json/schema/analyzer.schema.json')
-rw-r--r--search-data-service/src/main/resources/json/schema/analyzer.schema.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/search-data-service/src/main/resources/json/schema/analyzer.schema.json b/search-data-service/src/main/resources/json/schema/analyzer.schema.json
new file mode 100644
index 0000000..7592ee9
--- /dev/null
+++ b/search-data-service/src/main/resources/json/schema/analyzer.schema.json
@@ -0,0 +1,29 @@
+{
+ "$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