generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
58 lines (58 loc) · 1.44 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": "OpnSense",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "OpnSense plugin"
},
"host": {
"title": "OpnSense Firewall host",
"description": "IP or hostname of your OpnSense firewall - need to be serving over https",
"type": "string",
"required": true,
"format": "hostname"
},
"apiKey": {
"title": "OpnSense user API key",
"type": "string",
"required": true
},
"apiSecret": {
"title": "OpnSense user API secret",
"type": "string",
"required": true
},
"allowInvalidCert": {
"title": "Allow invalid https certificate",
"description": "If set, you'll be able to connect to an https server with an invalid certificate",
"type": "boolean"
},
"fwRules": {
"title": "Firewall rules",
"type": "array",
"items": {
"title": "Rule",
"type": "object",
"properties": {
"uuid": {
"title": "UUID",
"type": "string",
"required": true
},
"name": {
"title": "Name",
"type": "string",
"required": true
}
}
}
}
}
}
}