-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfigschema.json
More file actions
119 lines (117 loc) · 2.83 KB
/
configschema.json
File metadata and controls
119 lines (117 loc) · 2.83 KB
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
{
"$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
},
"displayDuration": {
"type": "number",
"description": "How long (in seconds) most things show on-screen for.",
"default": 10
},
"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
},
"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"
},
},
"adsPath": {
"type": "string"
},
"required": ["tracker", "adsPath"]
}