-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathschema.graphql
407 lines (379 loc) · 7.83 KB
/
schema.graphql
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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
type BootstrapStatic {
events: [Event]
game_settings: GameSettings
phases: [Phase]
teams: [Team]
total_players: Float
elements: [Element]
element_stats: [ElementStat]
element_types: [ElementType]
}
type Element {
chance_of_playing_next_round: String
chance_of_playing_this_round: String
code: Float
cost_change_event: Float
cost_change_event_fall: Float
cost_change_start: Float
cost_change_start_fall: Float
dreamteam_count: Float
element_type: Float
ep_next: String
ep_this: String
event_points: Float
first_name: String
form: String
id: Float
in_dreamteam: Boolean
news: String
news_added: String
now_cost: Float
photo: String
points_per_game: String
second_name: String
selected_by_percent: String
special: Boolean
squad_number: String
status: String
team: Float
team_code: Float
total_points: Float
transfers_in: Float
transfers_in_event: Float
transfers_out: Float
transfers_out_event: Float
value_form: String
value_season: String
web_name: String
minutes: Float
goals_scored: Float
assists: Float
clean_sheets: Float
goals_conceded: Float
own_goals: Float
penalties_saved: Float
penalties_missed: Float
yellow_cards: Float
red_cards: Float
saves: Float
bonus: Float
bps: Float
influence: String
creativity: String
threat: String
ict_index: String
}
type ElementStat {
label: String
name: String
}
type ElementSummary {
fixtures: [ElementSummaryFixture]
history: [ElementSummaryHistory]
history_past: [ElementSummaryHistoryPast]
}
type ElementSummaryFixture {
code: Float
team_h: Float
team_h_score: String
team_a: Float
team_a_score: String
event: Float
finished: Boolean
minutes: Float
provisional_start_time: Boolean
kickoff_time: String
event_name: String
is_home: Boolean
difficulty: Float
}
type ElementSummaryHistory {
element: Float
fixture: Float
opponent_team: Float
total_points: Float
was_home: Boolean
kickoff_time: String
team_h_score: Float
team_a_score: Float
round: Float
minutes: Float
goals_scored: Float
assists: Float
clean_sheets: Float
goals_conceded: Float
own_goals: Float
penalties_saved: Float
penalties_missed: Float
yellow_cards: Float
red_cards: Float
saves: Float
bonus: Float
bps: Float
influence: String
creativity: String
threat: String
ict_index: String
value: Float
transfers_balance: Float
selected: Float
transfers_in: Float
transfers_out: Float
}
type ElementSummaryHistoryPast {
season_name: String
element_code: Float
start_cost: Float
end_cost: Float
total_points: Float
minutes: Float
goals_scored: Float
assists: Float
clean_sheets: Float
goals_conceded: Float
own_goals: Float
penalties_saved: Float
penalties_missed: Float
yellow_cards: Float
red_cards: Float
saves: Float
bonus: Float
bps: Float
influence: String
creativity: String
threat: String
ict_index: String
}
type ElementType {
id: Float
plural_name: String
plural_name_short: String
singular_name: String
singular_name_short: String
squad_select: Float
squad_min_play: Float
squad_max_play: Float
ui_shirt_specific: Boolean
sub_positions_locked: [Float]
}
type Entry {
id: Float
joined_time: String
started_event: Float
favourite_team: String
player_first_name: String
player_last_name: String
player_region_id: Float
player_region_name: String
player_region_iso_code_short: String
player_region_iso_code_long: String
summary_overall_points: Float
summary_overall_rank: Float
summary_event_points: Float
summary_event_rank: String
current_event: Float
leagues: EntryLeagues
name: String
kit: String
history(event: Int): EntryHistory
picks(event: Int): EntryPicks
}
type EntryHistory {
current: [EntryHistoryCurrent]
past: [EntryHistoryPast]
chips: [String]
}
type EntryHistoryCurrent {
event: Float
points: Float
total_points: Float
rank: String
rank_sort: String
overall_rank: Float
bank: Float
value: Float
event_transfers: Float
event_transfers_cost: Float
points_on_bench: Float
}
type EntryHistoryPast {
season_name: String
total_points: Float
rank: Float
}
type EntryLeagues {
classic: [EntryLeaguesClassic]
h2h: [String]
}
type EntryLeaguesClassic {
id: Float
name: String
short_name: String
created: String
closed: Boolean
rank: String
max_entries: String
league_type: String
scoring: String
admin_entry: String
start_event: Float
entry_rank: Float
entry_last_rank: Float
entry_can_leave: Boolean
entry_can_admin: Boolean
entry_can_invite: Boolean
}
type EntryPicks {
active_chip: String
automatic_subs: [EntryPicksAutomaticSub]
entry_history: EntryPicksEntryHistory
picks: [EntryPicksPick]
}
type EntryPicksAutomaticSub {
entry: Float
element_in: Float
element_out: Float
event: Float
}
type EntryPicksEntryHistory {
event: Float
points: Float
total_points: Float
rank: String
rank_sort: String
overall_rank: Float
bank: Float
value: Float
event_transfers: Float
event_transfers_cost: Float
points_on_bench: Float
}
type EntryPicksPick {
element: Float
position: Float
multiplier: Float
is_captain: Boolean
is_vice_captain: Boolean
}
type Event {
id: Float
name: String
deadline_time: String
average_entry_score: Float
finished: Boolean
data_checked: Boolean
highest_scoring_entry: String
deadline_time_epoch: Float
deadline_time_game_offset: Float
highest_score: String
is_previous: Boolean
is_current: Boolean
is_next: Boolean
chip_plays: [EventChipPlay]
most_selected: String
most_transferred_in: String
top_element: String
transfers_made: Float
most_captained: String
most_vice_captained: String
}
type EventChipPlay {
chip_name: String
num_played: Float
}
type EventLive {
elements: [EventLiveElement]
}
type EventLiveElement {
id: Float
stats: EventLiveElementStats
explain: [EventLiveElementExplain]
}
type EventLiveElementExplain {
fixture: Float
stats: [EventLiveElementExplainStat]
}
type EventLiveElementExplainStat {
identifier: String
points: Float
value: Float
}
type EventLiveElementStats {
minutes: Float
goals_scored: Float
assists: Float
clean_sheets: Float
goals_conceded: Float
own_goals: Float
penalties_saved: Float
penalties_missed: Float
yellow_cards: Float
red_cards: Float
saves: Float
bonus: Float
bps: Float
influence: String
creativity: String
threat: String
ict_index: String
total_points: Float
in_dreamteam: Boolean
}
type GameSettings {
league_join_private_max: Float
league_join_public_max: Float
league_max_size_public_classic: Float
league_max_size_public_h2h: Float
league_max_size_private_h2h: Float
league_max_ko_rounds_private_h2h: Float
league_prefix_public: String
league_points_h2h_win: Float
league_points_h2h_lose: Float
league_points_h2h_draw: Float
squad_squadplay: Float
squad_squadsize: Float
squad_team_limit: Float
squad_total_spend: Float
ui_currency_multiplier: Float
ui_use_special_shirts: Boolean
ui_special_shirt_exclusions: [String]
stats_form_days: Float
sys_vice_captain_enabled: Boolean
transfers_sell_on_fee: Float
cup_start_event_id: Float
timezone: String
}
type Phase {
id: Float
name: String
start_event: Float
stop_event: Float
}
type Query {
bootstrapStatic: BootstrapStatic
entry(id: Int): Entry
event(event: Int): EventLive
elementSummary(id: Int): ElementSummary
}
type Team {
code: Float
draw: Float
form: String
id: Float
loss: Float
name: String
played: Float
points: Float
position: Float
short_name: String
strength: Float
team_division: String
unavailable: Boolean
win: Float
strength_overall_home: Float
strength_overall_away: Float
strength_attack_home: Float
strength_attack_away: Float
strength_defence_home: Float
strength_defence_away: Float
}