From 7e012254474f0bc06f4ab8fc88136e712038d1a9 Mon Sep 17 00:00:00 2001 From: robin <binkrassdufass@gmail.com> Date: Sun, 23 Jul 2023 21:30:36 +0000 Subject: [PATCH] final dashboard --- schemas/api-config/dashboard.json | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/schemas/api-config/dashboard.json b/schemas/api-config/dashboard.json index 05ad371..bbc1249 100644 --- a/schemas/api-config/dashboard.json +++ b/schemas/api-config/dashboard.json @@ -231,12 +231,17 @@ ] }, "subTitle": { - "type": "object", - "properties": { - "de": { "type": "string" }, - "en": { "type": "string" } - }, - "required": ["de", "en"] + "oneOf": [ + { "type": "string" }, + { + "type": "object", + "properties": { + "de": { "type": "string" }, + "en": { "type": "string" } + }, + "required": ["de", "en"] + } + ] }, "columns": { "type": "array",