-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathBotBuilderCommunity.NumberWithUnitInput.schema
More file actions
47 lines (46 loc) · 1.31 KB
/
BotBuilderCommunity.NumberWithUnitInput.schema
File metadata and controls
47 lines (46 loc) · 1.31 KB
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
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.IDialog)", "extends(Microsoft.InputDialog)" ],
"title": "NumberWithUnit",
"description": "Collect information - Ask for a Number With Unit , based on the NumberUnit",
"type": "object",
"properties": {
"defaultLocale": {
"$ref": "schema:#/definitions/stringExpression",
"description": "Value from callers memory to use as localization",
"title": "DefaultLocale",
"examples": [
"en-us"
]
},
"resultProperty": {
"$ref": "schema:#/definitions/stringExpression",
"description": "Value from callers memory to store the result",
"title": "Result",
"examples": [
"Value : 25 , Unit : Year (Select Number),User : 25 years old "
]
},
"NumberUnit": {
"title": "Number Unit",
"description": "Input type to find the number unit",
"oneOf": [
{
"type": "object",
"title": "NumberUnit",
"description": "Choose the NumberUnit Type",
"enum": [
"Currency",
"Temperature",
"Age",
"Dimension"
],
"default": "Temperature"
}
]
}
},
"$policies": {
"interactive": true
}
}