mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-25 08:25:11 +00:00
User: hurairaidrees@gmail.com clicked save for playground/nutech/issue2/decisionbuttons-schema.json
This commit is contained in:
parent
ffd12badaf
commit
d0c640f89b
@ -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"]
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user