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"] + ] }