diff --git a/schemas/api-config/config.json b/schemas/api-config/config.json index 674e305..8789fa2 100644 --- a/schemas/api-config/config.json +++ b/schemas/api-config/config.json @@ -21,19 +21,19 @@ } }, "collections": { - "oneOf": [ - { - "$comment": "for include tag", - "type": "string" - }, - { - "type": "array", - "description": "list of collections in this project", - "items": { + "type": "array", + "description": "list of collections in this project", + "items": { + "oneOf": [ + { + "$comment": "for include tag", + "type": "string" + }, + { "$ref": "collection.json" } - } - ] + ] + } } }, "required": ["namespace"]