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