-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathembedded-action-schema.json
37 lines (37 loc) · 1.06 KB
/
embedded-action-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"type":"object",
"properties":{
"blocks":{
"type":"object",
"properties":{
"block_new_task":{
"$ref":"#/definitions/element-input",
"options":{
"label":"Task name",
"placeholder":"Win a million",
"message":"Create a task from embedded action"
}
}
}
},
"actions":{
"type":"object",
"properties":{
"cancel_action":{
"$ref":"#/definitions/action-secondary",
"options":{
"label":"Cancel",
"handler":"cancel"
}
},
"submit_action":{
"$ref":"#/definitions/action-primary",
"options":{
"label":"Save",
"handler":"request"
}
}
}
}
}
}