diff --git a/.vscode/settings.json b/.vscode/settings.json index 3d2cefc..a2d4104 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,7 @@ "schemas/api-config/collection.json": "demo-api/collections/*.y*ml", "schemas/api-config/field.json": "demo-api/collections/fields/*.y*ml" }, - "editor.formatOnSave": true -} \ No newline at end of file + "editor.formatOnSave": true, + "editor.tabCompletion": "on", + "diffEditor.codeLens": true +} diff --git a/schemas/api-config/collection.json b/schemas/api-config/collection.json index 35a94cf..be419c5 100644 --- a/schemas/api-config/collection.json +++ b/schemas/api-config/collection.json @@ -23,36 +23,44 @@ "description": "relative to config.yml, path for file uploads" }, "meta": { - "type": "object", - "description": "meta object used for admin ui configuration", - "additionalProperties": true, - "allOf": [{ "$ref": "collectionNavigation.json" }], - "properties": { - "rowIdentTpl": { - "description": "template which evaluates to short string to identify entry in pe. select boxes", - "$ref": "field.json#/definitions/evalExpressions" - }, - "subNavigation": { - "oneOf": [ - { "$comment": "for include tag", "type": "string" }, - { - "type": "array", - "description": "sub navigation of collection", - "items": { - "oneOf": [ - { - "$comment": "for include tag", - "type": "string" - }, - { - "$ref": "collectionNavigation.json" + "oneOf": [ + { "$comment": "for include tag", "type": "string" }, + { + "type": "object", + "description": "meta object used for admin ui configuration", + "additionalProperties": true, + "allOf": [{ "$ref": "collectionNavigation.json" }], + "properties": { + "rowIdentTpl": { + "description": "template which evaluates to short string to identify entry in pe. select boxes", + "$ref": "field.json#/definitions/evalExpressions" + }, + "subNavigation": { + "oneOf": [ + { + "$comment": "for include tag", + "type": "string" + }, + { + "type": "array", + "description": "sub navigation of collection", + "items": { + "oneOf": [ + { + "$comment": "for include tag", + "type": "string" + }, + { + "$ref": "collectionNavigation.json" + } + ] } - ] - } + } + ] } - ] + } } - } + ] }, "projections": { "oneOf": [