Merge pull request #14 from psyko-gh/missing-keyword-in-schema
fix(schema): fix missing keyword predicate
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Schema
|
# Schema
|
||||||
|
|
||||||
The JSON Schema is available here: https://github.com/psyko-gh/overcrawlrr/blob/master/schema/schema.json
|
The JSON Schema is available here: [https://raw.githubusercontent.com/psyko-gh/overcrawlrr/master/schema/schema.json](https://raw.githubusercontent.com/psyko-gh/overcrawlrr/master/schema/schema.json)
|
||||||
|
|
||||||
This is particularly helpful if you are using and editor that support JSON Schema to help you validate your configuration.
|
This is particularly helpful if you are using and editor that support JSON Schema to help you validate your configuration.
|
||||||
|
|||||||
@@ -100,6 +100,7 @@
|
|||||||
{ "$ref": "#/definitions/agePredicate" },
|
{ "$ref": "#/definitions/agePredicate" },
|
||||||
{ "$ref": "#/definitions/scorePredicate" },
|
{ "$ref": "#/definitions/scorePredicate" },
|
||||||
{ "$ref": "#/definitions/genrePredicate" },
|
{ "$ref": "#/definitions/genrePredicate" },
|
||||||
|
{ "$ref": "#/definitions/keywordPredicate" },
|
||||||
{ "$ref": "#/definitions/watchProviderPredicate" },
|
{ "$ref": "#/definitions/watchProviderPredicate" },
|
||||||
{ "$ref": "#/definitions/voteCountPredicate" },
|
{ "$ref": "#/definitions/voteCountPredicate" },
|
||||||
{ "$ref": "#/definitions/castPredicate" },
|
{ "$ref": "#/definitions/castPredicate" },
|
||||||
@@ -198,6 +199,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"keywordPredicate": {
|
||||||
|
"$id": "#/definitions/keywordPredicate",
|
||||||
|
"type": "object",
|
||||||
|
"required": ["keyword"],
|
||||||
|
"properties": {
|
||||||
|
"keyword": {
|
||||||
|
"oneOf": [
|
||||||
|
{ "type": "string" },
|
||||||
|
{ "type": "array", "items": { "type": "string" }}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"watchProviderPredicate": {
|
"watchProviderPredicate": {
|
||||||
"$id": "#/definitions/watchProviderPredicate",
|
"$id": "#/definitions/watchProviderPredicate",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
Reference in New Issue
Block a user