From d0c640f89b6d8b3d1a47c7deb5a71c72cb902820 Mon Sep 17 00:00:00 2001 From: sartography-automated-committer Date: Thu, 15 Feb 2024 09:46:50 +0000 Subject: [PATCH] User: hurairaidrees@gmail.com clicked save for playground/nutech/issue2/decisionbuttons-schema.json --- .../nutech/issue2/decisionbuttons-schema.json | 41 +++++-------------- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/playground/nutech/issue2/decisionbuttons-schema.json b/playground/nutech/issue2/decisionbuttons-schema.json index f2c2b890..6d0080a7 100644 --- a/playground/nutech/issue2/decisionbuttons-schema.json +++ b/playground/nutech/issue2/decisionbuttons-schema.json @@ -1,34 +1,15 @@ { - "type": "object", - "properties": { - "approved": { - "type": "object", - "properties": { - "label": { - "type": "string", - "default": "Approve" - }, - "color": { - "type": "string", - "default": "green" - } - }, - "required": ["label", "color"] + "type": "VerticalLayout", + "elements": [ + { + "type": "Button", + "title": "Approve", + "propertyOrder": 1 }, - "rejected": { - "type": "object", - "properties": { - "label": { - "type": "string", - "default": "Reject" - }, - "color": { - "type": "string", - "default": "red" - } - }, - "required": ["label", "color"] + { + "type": "Button", + "title": "Reject", + "propertyOrder": 2 } - }, - "required": ["approved", "rejected"] + ] }