-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigschema.json
186 lines (184 loc) · 4.11 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"useMockData": {
"type": "boolean",
"description": "Whether or not to use mock data instead of the real tracker API. If true, pulls from Lange's Dropbox.",
"default": false
},
"discordBotToken": {
"type": "string",
"description": "Bot Token for the ZSRBot"
},
"displayDuration": {
"type": "number",
"description": "How long (in seconds) most things show on-screen for.",
"default": 10
},
"osc": {
"type": ["object", "null"],
"properties": {
"address": {
"type": "string",
"description": "The IP address or hostname of a Behringer X32 digital mixer."
},
"gameAudioChannels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sd": {
"type": ["integer", "null"]
},
"hd": {
"type": ["integer", "null"]
}
}
},
"minItems": 4,
"maxItems": 4
}
},
"required": ["address", "gameAudioChannels"],
"default": null
},
"twitter": {
"type": ["object", "null"],
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"userId": {
"type": "string",
"description": "The numeric userid of the Twitter account that owns these API keys. http://mytwitterid.com/"
},
"consumerKey": {
"type": "string"
},
"consumerSecret": {
"type": "string"
},
"accessTokenKey": {
"type": "string"
},
"accessTokenSecret": {
"type": "string"
},
"consumerKey2": {
"type": "string"
},
"consumerSecret2": {
"type": "string"
},
"accessTokenKey2": {
"type": "string"
},
"accessTokenSecret2": {
"type": "string"
},
"debug": {
"type": "boolean",
"default": false
}
},
"required": ["userId", "consumerKey", "consumerSecret", "accessTokenKey", "accessTokenSecret"],
"default": null
},
"twitch": {
"type": ["object", "null"],
"additionalProperties": false,
"properties": {
"channelId": {
"type": "string",
"description": "The ID (not name!) of the Twitch channel to operate on."
},
"oauthToken": {
"type": "string",
"description": "The OAuth token to use to make API requests."
},
"titleTemplate": {
"type": "string",
"description": "The template used to set the title of the stream whenever the current run changes."
},
"clientId": {
"type": "string",
"description": "The Client ID of the Twitch API application to use when sending API requests."
},
"bitsOffset": {
"type": "number",
"description": "The amount of bits to subtract from the total shown.",
"default": 0
},
"debug": {
"type": "boolean",
"description": "If true, enables additional debug logging for some Twitch systems.",
"default": false
}
},
"required": ["channelId", "oauthToken", "clientId", "bitsOffset", "debug"],
"default": null
},
"footpedal": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"buttonId": {
"type": "number",
"default": 31
}
}
},
"tracker": {
"type": ["object", "null"],
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
},
"description": "Login information for the private areas of the tracker API.",
"required": ["username", "password"],
"default": null
},
"youtubeUploadScriptPath": {
"type": "string"
},
"donationSocketUrl": {
"type": "string"
},
"casparcg": {
"type": "object",
"additionalProperties": false,
"properties": {
"host": {
"type": "string",
"default": "localhost"
},
"port": {
"type": "number",
"default": 5250
},
"lockSecret": {
"type": "string",
"default": "defaultLockSecret"
},
"localOscPort": {
"type": "number",
"default": 6250
}
},
"required": ["host", "port", "lockSecret", "localOscPort"]
}
},
"adsPath": {
"type": "string"
},
"required": ["tracker", "adsPath"]
}