Sebastian Frank
f250ddee2c
All checks were successful
continuous-integration/drone/push Build is passing
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "JSON Schema tibi-server index configuration",
|
|
"description": "tibi-server index linter",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^x\\-": {
|
|
"description": "template property"
|
|
}
|
|
},
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "name of index"
|
|
},
|
|
"key": {
|
|
"type": "array",
|
|
"description": "array of keys, minus in front for reverse order",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"unique": {
|
|
"type": "boolean",
|
|
"description": "unique index"
|
|
},
|
|
"dropDups": {
|
|
"type": "boolean",
|
|
"description": "drop duplicates"
|
|
},
|
|
"background": {
|
|
"type": "boolean",
|
|
"description": "build index in background"
|
|
},
|
|
"sparse": {
|
|
"type": "boolean",
|
|
"description": "sparse index"
|
|
},
|
|
"defaultLanguage": {
|
|
"type": "string",
|
|
"description": "default language for text index"
|
|
},
|
|
"languageOverride": {
|
|
"type": "string",
|
|
"description": "language override field name"
|
|
}
|
|
},
|
|
"required": ["key"]
|
|
}
|