-
Notifications
You must be signed in to change notification settings - Fork 29
/
list.json
248 lines (248 loc) · 8.07 KB
/
list.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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "List",
"description": "A bot list.",
"required": [
"id",
"added",
"name",
"url",
"icon",
"language",
"display",
"defunct",
"discord_only",
"description",
"api_docs",
"api_post",
"api_post_method",
"api_field",
"api_shard_id",
"api_shard_count",
"api_shards",
"api_get",
"api_all",
"view_bot",
"bot_widget",
"content",
"owners",
"discord",
"features"
],
"properties": {
"id": {
"$id": "#/properties/id",
"type": "string",
"title": "List Id",
"description": "The domain of the bot list. Matches the file name."
},
"added": {
"$id": "#/properties/added",
"type": "integer",
"title": "List added timestamp",
"description": "Unix timestamp for when the list was added to BotBlock."
},
"name": {
"$id": "#/properties/name",
"type": "string",
"title": "List name",
"description": "The displayed name of the list."
},
"url": {
"$id": "#/properties/url",
"type": "string",
"title": "List URL",
"description": "The main URL to access the bot list."
},
"icon": {
"$id": "#/properties/icon",
"type": "string",
"title": "List icon",
"description": "A URL for an icon for the list."
},
"language": {
"$id": "#/properties/language",
"type": "string",
"title": "List language(s)",
"description": "The languages the list has support for."
},
"display": {
"$id": "#/properties/display",
"type": "integer",
"title": "List display status",
"description": "A flag for if the list is displayed on BotBlock, with 0 = hidden, 1 = displayed.",
"enum": [
0,
1
]
},
"defunct": {
"$id": "#/properties/defunct",
"type": "integer",
"title": "List defunct status",
"description": "A flag for if the list is known to be defunct, with 0 = active, 1 = defunct.",
"enum": [
0,
1
]
},
"discord_only": {
"$id": "#/properties/discord_only",
"type": "integer",
"title": "List Discord-only status",
"description": "A flag for if the list holds Discord bots only, with 0 = includes non-Discord, 1 = Discord-only.",
"enum": [
0,
1
]
},
"description": {
"$id": "#/properties/description",
"type": [
"string",
"null"
],
"title": "List description",
"description": "The displayed description of the list."
},
"api_docs": {
"$id": "#/properties/api_docs",
"type": [
"string",
"null"
],
"title": "List API docs URL",
"description": "The URL to the API docs for the list, if known."
},
"api_post": {
"$id": "#/properties/api_post",
"type": [
"string",
"null"
],
"title": "List API guild count submission endpoint",
"description": "The endpoint URL for submitting a bot's guild count to the list, if known, with `:id` as placeholder for bot Id."
},
"api_post_method": {
"$id": "#/properties/api_post_method",
"type": [
"string",
"null"
],
"title": "List API guild count HTTP method",
"description": "The HTTP method to use for submitting a bot's guild count to the list via `api_post`. Defaults to `POST` if null."
},
"api_field": {
"$id": "#/properties/api_field",
"type": [
"string",
"null"
],
"title": "List API count field name",
"description": "The field name for guild count when posting a bot's guild count to the list, if known."
},
"api_shard_id": {
"$id": "#/properties/api_shard_id",
"type": [
"string",
"null"
],
"title": "List API shard Id field name",
"description": "The field name for shard Id when posting a bot's guild count to the list, if known."
},
"api_shard_count": {
"$id": "#/properties/api_shard_count",
"type": [
"string",
"null"
],
"title": "List API shard count field name",
"description": "The field name for shard count when posting a bot's guild count to the list, if known."
},
"api_shards": {
"$id": "#/properties/api_shards",
"type": [
"string",
"null"
],
"title": "List API shards field name",
"description": "The field name for shards when posting a bot's guild count to the list, if known."
},
"api_get": {
"$id": "#/properties/api_get",
"type": [
"string",
"null"
],
"title": "List API bot GET endpoint",
"description": "The endpoint URL for getting a bot from the list, if known, with `:id` as placeholder for bot Id."
},
"api_all": {
"$id": "#/properties/api_all",
"type": [
"string",
"null"
],
"title": "List API all bots GET endpoint",
"description": "The endpoint URL for getting all bots from the list, if known."
},
"view_bot": {
"$id": "#/properties/view_bot",
"type": [
"string",
"null"
],
"title": "List view bot URL",
"description": "The URL to the view a bot on the list, if known, with `:id` as placeholder for bot Id."
},
"bot_widget": {
"$id": "#/properties/bot_widget",
"type": [
"string",
"null"
],
"title": "List bot widget URL",
"description": "The URL to get a bot widget from the list, if known, with `:id` as placeholder for bot Id."
},
"content": {
"$id": "#/properties/content",
"type": [
"string",
"null"
],
"title": "List notice content",
"description": "The displayed notice content for the list, if any."
},
"owners": {
"$id": "#/properties/owners",
"type": [
"string",
"null"
],
"pattern": "^(.{2,32}#\\d{4} \\(\\d{16,}\\))(, (.{2,32}#\\d{4} \\(\\d{16,}\\)))*$",
"title": "List owners",
"description": "Names of the list owners, if known."
},
"discord": {
"$id": "#/properties/discord",
"type": [
"string",
"null"
],
"title": "List Discord invite URL",
"description": "The URL invite for the list's Discord server, if known."
},
"features": {
"$id": "#/properties/features",
"type": "array",
"title": "List features.",
"description": "A list of feature Ids the bot list has. Ids must be valid feature Ids.",
"items": {
"type": "string",
"title": "Feature Id",
"description": "The Id of an existing feature."
}
}
}
}