Fixes Every filters field accepts an array as well #164
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"filters": { "type": "object", "$ref": "../../filters/filters.json" },
|
"filters": { "$ref": "../../filters/filters.json" },
|
||||||
"max_dist": {
|
"max_dist": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Maximum distance this mob can be away to be a valid choice.",
|
"description": "Maximum distance this mob can be away to be a valid choice.",
|
||||||
@@ -68,8 +68,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oneOf": [
|
"oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/entity_definition" } }, { "$ref": "#/definitions/entity_definition" }]
|
||||||
{ "type": "array", "items": { "$ref": "#/definitions/entity_definition" } },
|
|
||||||
{ "$ref": "#/definitions/entity_definition" }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user