-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.schema.json
57 lines (57 loc) · 1.58 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
{
"pluginAlias": "RunnablePlatform",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "RunnablePlatform"
},
"run": {
"title": "Run",
"description": "Input the absolute path of your custom-made-command to control your accessories",
"type": "string"
},
"time": {
"title": "Time (Millisecond)",
"description": "Input the millisecond time to finish handling a message on your custom-made-command",
"type": "integer"
},
"accessories": {
"type": "array",
"title": "Accessories",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Accessory Name"
},
"service": {
"type": "string",
"title": "Service Type",
"description": "Service Type Name"
},
"characteristics": {
"type": "array",
"title": "Characteristics",
"items": {
"type": "string",
"title": "Characteristic",
"description": "Characteristic Short Name"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [ "name", "service", "characteristics" ]
}
}
},
"required": [ "name", "run", "time", "accessories" ]
}
}