From 4f372b22aadd905b418167da1e5e60673a3506bd Mon Sep 17 00:00:00 2001 From: olzzon Date: Thu, 7 Mar 2024 15:35:40 +0100 Subject: [PATCH] wip: update to r50 - change schema to fit existing structure --- src/$schemas/device.json | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/$schemas/device.json b/src/$schemas/device.json index 76792a4..275dd2c 100644 --- a/src/$schemas/device.json +++ b/src/$schemas/device.json @@ -4,25 +4,19 @@ "title": "Spreadsheet Gateway Config", "type": "object", "properties": { - "Settings": { - "type": "object", - "ui:title": "", - "properties": { - "FolderPath": - { - "ui:title": "Spreadsheet Folder Path", - "type": "string" - }, - "DebugLogging": - { - "ui:title": "Activate Debug Logging", - "type": "boolean" - } - }, - "required": ["FolderPath","DebugLogging"], - "additionalProperties": false + "folderPath": { + "ui:title": "Spreadsheet Folder Path", + "type": "string", + "default": "https://docs.google.com/spreadsheets/xxxxxxxx" + }, + "debugLogging": { + "ui:title": "Activate Debug Logging", + "type": "boolean" } }, - "required": ["Settings"], + "required": [ + "FolderPath", + "DebugLogging" + ], "additionalProperties": false -} +} \ No newline at end of file