-
Notifications
You must be signed in to change notification settings - Fork 34
/
schema.json
36 lines (35 loc) · 1.02 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GeoView Swiper Config Schema",
"type": "object",
"version": 1.0,
"comments": "Configuration for GeoView swiper package.",
"additionalProperties": false,
"properties": {
"orientation": {
"type": "string",
"enum": ["vertical", "horizontal"],
"description": "Orientation of the swiper bar.",
"default": "vertical"
},
"keyboardOffset": {
"type": "number",
"minimum": 10,
"maximum": 100,
"description": "The offset value when swiper is moved from the keyboard.",
"default": 10
},
"layers": {
"type": "array",
"items": {
"type": "string"
}
},
"version": {
"type": "string",
"enum": ["1.0"],
"description": "The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer."
}
},
"required": ["orientation", "layers"]
}