-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
132 lines (131 loc) · 5.28 KB
/
schema.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$version": "v1.1.1",
"type": "object",
"required": ["tournaments"],
"properties": {
"speaker_name": {
"type": "string",
"description": "The name of the speaker in this account."
},
"tournaments": {
"type": "array",
"description": "The tournaments to include in this account.",
"items": {
"type": "object",
"required": ["tournament_name"],
"properties": {
"tournament_name": {
"type": "string",
"description": "The name of the tournament."
},
"format": {
"type": "string",
"description": "The debating format used at this tournament (e.g. BP)."
},
"broke": {
"type": "boolean",
"description": "Whether the debater broke at this tournament."
},
"break_categories": {
"type": ["string", "array"],
"description": "The category or categories the speaker broke in.",
"items" : {"type": "string"}
},
"rounds": {
"type": "array",
"description": "All the rounds the debater participated in in this tournament.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the round (e.g. 'round 1' or 'grand finals')."
},
"outround": {
"type": "boolean",
"description": "If this round was an outround."
},
"outround_category": {
"type": "string",
"description": "What speaker category this outround belongs to (e.g. open or ESL). Should only be used if the round is an outround."
},
"prepped": {
"type": "boolean",
"description": "Whether the round was a prepped round (if applicable)."
},
"date": {
"type": "string",
"description": "The date at which this round took place. Should be an ISO date."
},
"topics": {
"type": "array",
"description": "Keywords relating to the topic of the debate (e.g. 'Politics').",
"items": {"type": "string"}
},
"motion": {
"type": "string",
"description": "The motion of the round."
},
"infoslide":{
"type": "string",
"description": "The infoslide attached to the motion."
},
"side": {
"type": "string",
"description": "The side of the motion the debater was on.",
"enum": ["prop", "opp", "gov", "aff", "neg"]
},
"half": {
"type": "string",
"description": "The half of the debate the debater was on. Only applies to BP.",
"enum": ["opening", "closing"]
},
"teammates": {
"type": ["string", "array"],
"description": "The teammate or teammates the speaker was debating with this round.",
"items": {"type": "string"}
},
"speech": {
"type": "integer",
"description": "The number of the speech the debater gave. Only counts speeches on the debater's side (e.g. in BP an opposition whip would be speech 4, not 8).",
"deprecated": true
},
"speak": {
"type": "number",
"description": "The speak the debater got for this speech.",
"deprecated": true
},
"speeches": {
"type": "array",
"description": "The speeches the speaker gave in this round.",
"items": {
"type": "object",
"properties": {
"speech": {
"type": "integer",
"description": "The number of this speech. Only counts speeches on the debater's side (e.g. in BP an opposition whip would be speech 4, not 8)."
},
"speak": {
"type": "number",
"description": "The speak this speech received."
}
}
}
},
"result": {
"type": "integer",
"description": "How many points the debater's team got from this round. In two-team formats, a 1 or 0 simply mean a win or loss, respectively. For more complex formats, such as BP, please refer to the format's manuals for how many points a certain result yields."
},
"advanced": {
"type": "boolean",
"description": "If the speaker advanced to the next phase of the tournament (if this round is an outround)."
}
}
}
}
}
}
}
}
}