-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphone-config-schema.coffee
70 lines (70 loc) · 1.85 KB
/
phone-config-schema.coffee
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
module.exports = {
title: "Plugin config options"
type: "object"
properties:
debug:
description: "Enable debug output"
type: "boolean"
default: false
timeformat:
description: "Time format specification"
type: "string"
default: "YYYY-MM-DD hh:mm:ss"
homelocation:
description: "Tag of the home location"
type: "string"
default: "Home"
locations:
description: "Location lookup map"
type: "array"
default: []
items:
description: "Location entry"
type: "object"
properties:
name:
description: "Name of the location map entry"
type: "string"
tag:
description: "Location tag"
type: "string"
address:
description: "Location address"
type: "string"
default: ""
data:
description: "Additional location data"
type: "object"
default: {}
ssids:
description: "WiFi SSIDs"
type: "array"
default: []
items:
description: "WiFi SSID"
type: "string"
gps:
description: "GPS entry"
type: "object"
properties:
latitude:
description: "Latitude"
type: "number"
default: 0
longitude:
description: "Longitude"
type: "number"
default: 0
radius:
description: "Radius (meter)"
type: "number"
default: 0
unit: "m"
cids:
description: "Cell tower IDs"
type: "array"
default: []
items:
description: "Cell ID"
type: "string"
}