forked from phenotypic/homebridge-http-lock-mechanism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.schema.json
44 lines (44 loc) · 945 Bytes
/
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
{
"pluginAlias": "2NSwitch",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Intercom switch"
},
"intercomHost": {
"title": "Intercom host",
"type": "string",
"required": true,
"placeholder": "http://192.168.1.101"
},
"switchId": {
"title": "Switch ID",
"type": "integer",
"required": false,
"placeholder": "1"
},
"username": {
"title": "Username",
"type": "string",
"required": false
},
"password": {
"title": "Password",
"type": "string",
"required": false
},
"httpPort": {
"title": "HTTP port",
"type": "integer",
"required": true,
"default": 9010
}
}
}
}