From 882f9523d03377c19ca0ec3044008d4c139766c2 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Thu, 11 May 2023 16:06:23 +0200 Subject: [PATCH] feat: add DashboardPanel-s to dashboard (#381) --- ui/src/main/webapp/schema/schema.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/ui/src/main/webapp/schema/schema.json b/ui/src/main/webapp/schema/schema.json index ded830c26..10ff47796 100644 --- a/ui/src/main/webapp/schema/schema.json +++ b/ui/src/main/webapp/schema/schema.json @@ -463,7 +463,14 @@ }, "DashboardPage": { "type": "object", - "properties": {}, + "properties": { + "panels": { + "type": "array", + "items": { + "$ref": "#/definitions/DashboardPanel" + } + } + }, "additionalProperties": false }, "DateValidator": { @@ -1320,6 +1327,17 @@ }, "required": ["label"], "additionalProperties": false + }, + "DashboardPanel": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100 + } + }, + "required": ["name"], + "additionalProperties": false } }, "type": "object",