-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest36.json
160 lines (160 loc) · 3.4 KB
/
manifest36.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"_version": "1.17.0",
"sap.app": {
"id": "adaptivecard.embedded",
"type": "card",
"title": "Sample of an Adaptive Card with Form",
"subTitle": "Sample of an Adaptive Card with Form",
"applicationVersion": {
"version": "1.0.0"
},
"shortTitle": "A short title for this Card",
"info": "Additional information about this Card",
"description": "A long description for this Card",
"tags": {
"keywords": [
"Adaptive",
"Card",
"Form",
"Sample"
]
}
},
"sap.card": {
"header": {
"title": "Form Card",
"subTitle": "Adaptive Card with sap.f.cards.Header",
"icon": {
"src": "sap-icon://form"
}
},
"type": "AdaptiveCard",
"content": {
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Input.Text",
"label": "Your Name",
"isRequired": true,
"errorMessage": "Please enter a name",
"placeholder": "Last, First",
"style": "text",
"id": "SimpleVal"
},
{
"type": "Input.Text",
"label": "Email address",
"errorMessage": "Please enter an email",
"isRequired": true,
"placeholder": "[email protected]",
"style": "email",
"id": "EmailVal"
},
{
"type": "Input.Text",
"label": "Phone Number",
"errorMessage": "Please enter a number",
"isRequired": true,
"placeholder": "xxx.xxx.xxxx",
"style": "tel",
"id": "TelVal",
"maxLength": 10
},
{
"type": "Input.Number",
"label": "Age",
"id": "NumVal",
"min": 0,
"max": 110,
"placeholder": "Age"
},
{
"type": "Input.Date",
"label": "Starting Date",
"isRequired": true,
"errorMessage": "Please enter a date",
"placeholder": "Start Date",
"id": "DateVal",
"value": "2017-09-20"
},
{
"type": "Input.Toggle",
"isRequired": true,
"title": "I accept the terms and conditions",
"id": "Checked",
"wrap": true,
"value": "false",
"valueOn": "true",
"valueOff": "false"
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "Additional Information",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "Input.Text",
"label": "Website",
"placeholder": "Website Url",
"style": "url",
"id": "UrlVal"
},
{
"type": "Input.Text",
"label": "Description",
"style": "text",
"isMultiline": true,
"id": "MultiLineVal"
},
{
"type": "Input.ChoiceSet",
"label": "Do you have a driver's license?",
"id": "SingleSelectVal",
"style": "expanded",
"choices": [
{
"title": "Yes",
"value": "1"
},
{
"title": "No",
"value": "2"
}
]
},
{
"type": "Input.ChoiceSet",
"id": "MultiSelectVal",
"label": "How do you want to be notified?",
"isMultiSelect": true,
"choices": [
{
"title": "Via mail",
"value": "1"
},
{
"title": "Via text message",
"value": "2"
},
{
"title": "Via Phone call",
"value": "3"
}
]
}
]
}
},
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
}
}