From a7a7032b1d83c64aace642cf5af585da5b0a8bf6 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 30 Apr 2022 23:25:49 +0100 Subject: [PATCH] :card_file_box: Adds pages to schema --- src/utils/ConfigSchema.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json index 1d9bd140..8f24c989 100644 --- a/src/utils/ConfigSchema.json +++ b/src/utils/ConfigSchema.json @@ -5,6 +5,29 @@ ], "additionalProperties": false, "properties": { + "pages": { + "title": "Page List", + "type": "array", + "description": "List of additional config files to load as extra pages", + "items": { + "title": "Pages", + "type": "object", + "required": ["name", "path"], + "additionalProperties": false, + "properties": { + "name": { + "title": "Name", + "type": "string", + "description": "Unique page identifier" + }, + "path": { + "title": "Path", + "type": "string", + "description": "The file name, or path. If in public directory, use just `file-name.yml`" + } + } + } + }, "pageInfo": { "type": "object", "properties": {