-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.schema.json
58 lines (58 loc) · 1.29 KB
/
config.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
{
"pluginAlias": "YindlPlatform",
"pluginType": "platform",
"schema": {
"type": "object",
"properties": {
"host": {
"title": "Host",
"type": "string",
"default": "192.168.1.251",
"placeholder": "192.168.1.251",
"format": "hostname",
"required": true
},
"port": {
"title": "Port",
"type": "number",
"default": "60002",
"placeholder": "60002",
"required": true
},
"lights": {
"title": "Light Devices",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true
},
"style": {
"title": "Style",
"type": "number",
"default": "0",
"enum": [
"0",
"1"
],
"required": true
},
"write": {
"titile": "Write",
"type": "number",
"required": true
},
"read": {
"titile": "Read",
"type": "number",
"required": true
}
}
}
}
}
}
}