Fixes Every filters field accepts an array as well #164

This commit is contained in:
DaanV2
2023-04-18 20:36:37 +02:00
parent 4c0609fbd5
commit 6f20997d34

View File

@@ -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" }]
}