-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.json
72 lines (72 loc) · 1.64 KB
/
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
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
{
"type": "component",
"metadata": {},
"schema": {
"name": "geolocation",
"friendlyName": "Geolocation",
"description": "A form field that provides the user's current geolocation",
"icon": "Location",
"settings": [
{
"type": "field/number",
"label": "Latitude field",
"key": "latitudeField",
"required": true
},
{
"type": "field/number",
"label": "Longitude field",
"key": "longitudeField",
"required": true
},
{
"type": "text",
"label": "Label",
"key": "label"
},
{
"type": "boolean",
"label": "Show output",
"key": "showOutput",
"defaultValue": true
},
{
"type": "boolean",
"label": "Disabled",
"key": "disabled",
"defaultValue": false
},
{
"type": "boolean",
"label": "Request location automatically",
"key": "automode",
"defaultValue": false
},
{
"type": "boolean",
"label": "Show button",
"key": "showButton",
"defaultValue": true,
"dependsOn": "automode"
},
{
"type": "number",
"label": "Automatic request delay (seconds)",
"key": "automodeDelay",
"defaultValue": 2,
"min": 0,
"dependsOn": "automode"
},
{
"type": "validation/number",
"label": "Latitude validation",
"key": "latitudeValidation"
},
{
"type": "validation/number",
"label": "Longitude validation",
"key": "longitudeValidation"
}
]
}
}