forked from speedcontrol/nodecg-speedcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigschema.json
43 lines (43 loc) · 1.29 KB
/
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
41
42
43
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"twitch": {
"type": "object",
"properties": {
"enable": {"type": "boolean", "default": false},
"clientID": {"type": "string", "default": "CLIENT_ID"},
"clientSecret": {"type": "string", "default": "CLIENT_SECRET"},
"redirectURI": {"type": "string", "default": "http://localhost:9090/nodecg-speedcontrol/twitchauth"},
"ffzIntegration": {"type": "boolean", "default": false},
"streamTitle": {"type": "string", "default": "Game: {{game}} - Category: {{category}} - Players: {{players}}"},
"streamDefaultGame": {"type": "string", "default": "Games + Demos"}
}
},
"schedule": {
"type": "object",
"properties": {
"defaultURL": {"type": "string", "default": "https://horaro.org/event/schedule"},
"ignoreGamesWhileImporting": {
"type": ["array", "null"],
"uniqueItems": true,
"items": {"type": "string"},
"minItems": 1
},
"disableSpeedrunComLookup": {"type": "boolean", "default": false},
"customData": {
"type": ["array", "null"],
"uniqueItems": true,
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"key": {"type": "string"}
}
},
"minItems": 1
}
}
}
}
}