-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigschema.json
40 lines (40 loc) · 981 Bytes
/
configschema.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"additionalProperties": false,
"properties": {
"socket": {
"type": "object",
"additionalProperties": false,
"properties": {
"address": {
"type": "string",
"description": "Address of the companion WebSocket.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "Port of the companion WebSocket.",
"default": 6942
}
},
"required": ["address", "port"]
},
"foobar": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": false
},
"address": {
"type": "string",
"default": "http://localhost:8880"
}
},
"description": "Info needed to control foobar2000.",
"required": ["enabled"]
}
},
"required": ["socket", "foobar"]
}