-
Notifications
You must be signed in to change notification settings - Fork 2
/
FrontEndInputExample.json
47 lines (42 loc) · 1.36 KB
/
FrontEndInputExample.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
//Front End Input
{
"Input":{
//At least 1 is required
//Both could be possible
"team": ["team1".id, "team2".id], //size is arbitrary
"tournament": "tournament1".id, //tournament is optional
"tournament_format": "single_elims" //possible feature?
},
"Output": {
"summary":{
"timestamp": datetime.now(), //timestamp when the output is made (meant for logging)
"team": ['team1', 'team2'],
"tournament_format": "single_elims", //possible feature
},
"data": [{
//everything
"rankings":{
"team1": 5,
"team2": 1,
"team3": 2,
"team4": 3,
"team5": 4,
},
"details":{
"page":1,
"winners": { //model will output this
"round1":{
"match1":["team1".id],
"match2": ["team2".id],
"match3": ["team3".id]}
},
"round2":{
"match1":["team1".id],
"match2": ["team2".id],
"match3": ["team3".id]
}
},
]
}
},
}