This repository has been archived by the owner on Jul 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfigschema.json
229 lines (227 loc) · 5.01 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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"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
},
"displayDuration": {
"type": "number",
"description": "How long (in seconds) most things show on-screen for.",
"default": 10
},
"omnibar": {
"type": "object",
"additionalProperties": false,
"properties": {
"scrollHoldDuration": {
"type": "number",
"description": "How long (in seconds) to hold items during a scroll.",
"default": 7
}
}
},
"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"
},
"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
}
}
},
"firebase": {
"type": ["object", "null"],
"description": "Credentials used to log into Firebase, which is what hosts Lightning Round.",
"properties": {
"type": {
"type": "string"
},
"project_id": {
"type": "string"
},
"private_key_id": {
"type": "string"
},
"private_key": {
"type": "string"
},
"client_email": {
"type": "string"
},
"client_id": {
"type": "string"
},
"auth_uri": {
"type": "string"
},
"token_uri": {
"type": "string"
},
"auth_provider_x509_cert_url": {
"type": "string"
},
"client_x509_cert_url": {
"type": "string"
}
},
"required": ["project_id", "private_key", "client_email"],
"additionalProperties": false,
"default": null
},
"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": ""
},
"localOscPort": {
"type": "number",
"default": 6250
},
"adsPath": {
"type": "string",
"default": "casparcg/server/media"
},
"debug": {
"type": "boolean",
"default": false
}
},
"required": ["host", "port", "lockSecret", "localOscPort", "adsPath"]
},
"nowPlayingKey": {
"type": "string"
}
},
"required": ["tracker"]
}