-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
spec.xsd
535 lines (534 loc) · 25.3 KB
/
spec.xsd
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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="tournament">
<xs:annotation>
<xs:documentation xml:lang="en">Tournaments are the core of the data collected as part of debates.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="round" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">A round is a collection of debates, which may have similarities in time or stage in the tournament.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="debate" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Debates are collections of speeches between competitors which are compared to form a score/result. Byes are represented by having only one side to a debate.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="side" minOccurs="2" maxOccurs="4">
<xs:annotation>
<xs:documentation xml:lang="en">Opposing speeches are often grouped as sides to a debate, with each team representing a position.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ballot" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="speech" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation xml:lang="en">Each debate is comprised of speeches by members of each opposing team. These speeches may be scores individually or grouped by team. As each speech has a speaker, the team (if any) can be inferred. Duplicate speeches (iron-man) should show as a separate speech.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ballot" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="intervention" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="speaker" type="xs:IDREF"/>
<xs:attribute name="reply" type="xs:boolean" default="false"/>
<xs:attribute name="length" type="xs:duration" use="optional"/>
</xs:complexType>
<xs:keyref name="speech_speaker" refer="speaker_id">
<xs:selector xpath="speech"/>
<xs:field xpath="@speaker"/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="team" type="xs:IDREF"/>
<xs:attribute name="forfeit" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="motion-veto" type="xs:IDREF" use="optional"/>
</xs:complexType>
<xs:keyref name="side_team" refer="team_id">
<xs:selector xpath="side"/>
<xs:field xpath="@team"/>
</xs:keyref>
<xs:keyref name="side_veto" refer="motion_id">
<xs:selector xpath="side"/>
<xs:field xpath="@motion-veto"/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="chair" type="xs:IDREF" use="optional"/>
<xs:attribute name="venue" type="xs:IDREF" use="optional"/>
<xs:attribute name="motion" type="xs:IDREF" use="optional"/>
<xs:attribute name="adjudicators" type="xs:IDREFS">
<xs:annotation>
<xs:documentation xml:lang="en">The first adjudicator listed will be considered the chair if no chair explicitly specified. Also include adjudicators who did not participate in scoring (trainees).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:key name="debate_id">
<xs:selector xpath="debate"/>
<xs:field xpath="@id"/>
</xs:key>
<xs:keyref name="debate_chair_adjudicator" refer="adjudicator_id">
<xs:selector xpath="debate"/>
<xs:field xpath="@chair"/>
</xs:keyref>
<xs:keyref name="debate_venue" refer="venue_id">
<xs:selector xpath="debate"/>
<xs:field xpath="@venue"/>
</xs:keyref>
<xs:keyref name="debate_motion" refer="motion_id">
<xs:selector xpath="debate"/>
<xs:field xpath="@motion"/>
</xs:keyref>
<xs:keyref name="debate_adjudicators" refer="adjudicator_id">
<xs:selector xpath="debate"/>
<xs:field xpath="@adjudicators"/>
</xs:keyref>
</xs:element>
<xs:element name="bye" minOccurs="0" type="xs:IDREF" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">A bye is where a debate could not be held due to a lack of teams as not all of the assigned teams to the debate are present. The ID of the present team should be the content.</xs:documentation>
</xs:annotation>
<xs:keyref name="bye_team" refer="team_id">
<xs:selector xpath="bye"/>
<xs:field xpath="."/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute default="false" name="elimination" type="xs:boolean"/>
<xs:attribute name="feedback-weight" type="xs:float" use="optional"/>
<xs:attribute name="break-category" type="xs:IDREF" use="optional"/>
<xs:attribute name="start" type="xs:dateTime" use="optional"/>
<xs:attribute name="division" type="xs:IDREF" use="optional"/>
<xs:attribute name="flight" type="xs:integer" use="optional" default="1"/>
</xs:complexType>
<xs:keyref name="round_break_category" refer="break_category_id">
<xs:selector xpath="round"/>
<xs:field xpath="@break-category"/>
</xs:keyref>
<xs:keyref name="round_division" refer="division_id">
<xs:selector xpath="round"/>
<xs:field xpath="@division"/>
</xs:keyref>
</xs:element>
<xs:element name="participants">
<xs:annotation>
<xs:documentation xml:lang="en">Container element for competitive participants for clarity of the contents of the parent element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="team" minOccurs="2" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Teams are groups of speakers normally associated with a specific institution. In addition to ranking team members, teams are also ranked, which may determine eligibility in elimination rounds.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="speaker" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation xml:lang="en">Speakers are represented without anything tournament-specific, but are most-often grouped as teams. If teams are non-existant, they may be declared outside the tournament-type. Their name should be the content of the element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="person">
<xs:attribute name="categories" type="xs:IDREFS"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:key name="speaker_id">
<xs:selector xpath="speaker"/>
<xs:field xpath="@id"/>
</xs:key>
<xs:keyref name="speaker_institution" refer="institution_id">
<xs:selector xpath="speaker"/>
<xs:field xpath="@institutions"/>
</xs:keyref>
<xs:keyref name="speaker_categories" refer="speaker_category_id">
<xs:selector xpath="speaker"/>
<xs:field xpath="@categories"/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="break-eligibilities" type="xs:IDREFS"/>
<xs:attribute name="division" type="xs:IDREF" use="optional"/>
<xs:attribute name="swing" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation xml:lang="en">Swing teams are ineligible for breaks. They are normally formed when there are not enough eligible teams.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:key name="team_id">
<xs:selector xpath="team"/>
<xs:field xpath="@id"/>
</xs:key>
<xs:keyref name="team_break_categories" refer="break_category_id">
<xs:selector xpath="team"/>
<xs:field xpath="@break-eligibilities"/>
</xs:keyref>
<xs:keyref name="team_division" refer="division_id">
<xs:selector xpath="team"/>
<xs:field xpath="@division"/>
</xs:keyref>
</xs:element>
<xs:element name="adjudicator" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">While an adjudicator can participate in many tournaments, their status (as indpendent, core, etc.) can vary, and so they must stay attached.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:complexContent>
<xs:extension base="person">
<xs:sequence>
<xs:element name="feedback" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="answer" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">The content should be the answer given.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="question" type="xs:IDREF"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:keyref name="answer_question" refer="question_id">
<xs:selector xpath="answer"/>
<xs:field xpath="@question"/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="source-team" type="xs:IDREF" use="optional"/>
<xs:attribute name="source-adjudicator" type="xs:IDREF" use="optional"/>
<xs:attribute name="debate" type="xs:IDREF"/>
<xs:attribute name="score" type="xs:decimal"/>
</xs:complexType>
<xs:keyref name="feedback_source_team" refer="team_id">
<xs:selector xpath="feedback"/>
<xs:field xpath="@source-team"/>
</xs:keyref>
<xs:keyref name="feedback_source_adj" refer="adjudicator_id">
<xs:selector xpath="feedback"/>
<xs:field xpath="@source-adjudicator"/>
</xs:keyref>
<xs:keyref name="feedback_debate" refer="debate_id">
<xs:selector xpath="feedback"/>
<xs:field xpath="@debate"/>
</xs:keyref>
</xs:element>
</xs:sequence>
<xs:attribute name="core" type="xs:boolean"/>
<xs:attribute name="independent" type="xs:boolean"/>
<xs:attribute default="0.0" name="score" type="xs:float" use="optional"/>
<xs:attribute name="team-conflicts" type="xs:IDREFS" use="optional"/>
<xs:attribute name="adjudicator-conflicts" type="xs:IDREFS" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:key name="adjudicator_id">
<xs:selector xpath="adjudicator"/>
<xs:field xpath="@id"/>
</xs:key>
<xs:keyref name="adjudicator_institutions" refer="institution_id">
<xs:selector xpath="adjudicator"/>
<xs:field xpath="@institutions"/>
</xs:keyref>
<xs:keyref name="adjudicator_team_conflicts" refer="team_id">
<xs:selector xpath="adjudicator"/>
<xs:field xpath="@team-conflicts"/>
</xs:keyref>
<xs:keyref name="adjudicator_adj_conflicts" refer="adjudicator_id">
<xs:selector xpath="adjudicator"/>
<xs:field xpath="@adjudicator-conflicts"/>
</xs:keyref>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="institution" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Institutions represent collections of individuals with a shared debating history. This means that members are more familiar with each-other and so judging within is to be avoided. All participants may have affiliations, and teams may be categorized by their institution. Its name should be the content.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="reference" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:key name="institution_id">
<xs:selector xpath="institution"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
<xs:element name="motion" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Motions are not exclusive to a tournament, and so have been set apart. Rounds and debates may reference them. The resolution should be the non-element content of the tag.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element name="info-slide" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="reference" type="xs:string"/>
<xs:attribute name="language" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The language(s) of the motion/the debates using the motion. Use ISO 639 codes, separated by whitespace.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="contentious" type="xs:boolean" default="false" use="optional"/>
</xs:complexType>
<xs:key name="motion_id">
<xs:selector xpath="motion"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
<xs:element name="venue" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">Venues are where debates may take place. Specific attributes that a venue has should be added as a venue-category and referenced. Its name, excluding category suffixes, should be the content.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="categories" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Venue categories are a simple reference element to designate venues with a similarity, such as being easily accessible.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="score" type="xs:float" use="optional"/>
<xs:attribute name="division" type="xs:IDREF" use="optional"/>
<xs:attribute name="priority" type="xs:decimal" use="optional" default="0">
<xs:annotation>
<xs:documentation xml:lang="en">The priority of a venue is a value indicating whether this venue should be preferred over another. Lower scores are not preferred.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:key name="venue_id">
<xs:selector xpath="venue"/>
<xs:field xpath="@id"/>
</xs:key>
<xs:keyref name="venue_division" refer="division_id">
<xs:selector xpath="venue"/>
<xs:field xpath="@division"/>
</xs:keyref>
</xs:element>
<xs:element name="question" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">A question posed to participant(s) of each debate on an adjudicator. The text of the question should be its content.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element name="choice" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type">
<xs:annotation>
<xs:documentation xml:lang="en">Type can be one of the following: bc for checkbox, bs for yes/no (dropdown), i for integer (textbox), is for integer scale, f for float, t for text, tl for long text, ss for select one, ms for select multiple</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="bc"/>
<xs:enumeration value="bs"/>
<xs:enumeration value="i"/>
<xs:enumeration value="is"/>
<xs:enumeration value="f"/>
<xs:enumeration value="t"/>
<xs:enumeration value="tl"/>
<xs:enumeration value="ss"/>
<xs:enumeration value="ms"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="from-teams" type="xs:boolean"/>
<xs:attribute name="from-adjudicators" type="xs:boolean"/>
</xs:complexType>
<xs:key name="question_id">
<xs:selector xpath="question"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
<xs:element name="break-category" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation xml:lang="en">A break category. Its name should be the content.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="priority" type="xs:decimal"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:key name="break_category_id">
<xs:selector xpath="break-category"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
<xs:element name="speaker-category" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:ID"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:key name="speaker_category_id">
<xs:selector xpath="speaker-category"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
<xs:element name="division" minOccurs="0" maxOccurs="5">
<xs:annotation>
<xs:documentation xml:lang="en">Divisions are groupings of teams that compete amongst themselves, but within the same tournament as teams in different divisions. Its name should be its content.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:ID"/>
<xs:attributeGroup ref="styles"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:key name="division_id">
<xs:selector xpath="division"/>
<xs:field xpath="@id"/>
</xs:key>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="short" type="xs:string" use="optional"/>
<xs:attribute name="host" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The organizing institution(s). Nominally a string-type, could contain IDREFS towards institutions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="styles"/>
<xs:attribute name="start-date" type="xs:date" use="optional"/>
<xs:attribute name="end-date" type="xs:date" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="ballot">
<xs:annotation>
<xs:documentation xml:lang="en">A ballot is an atomic score/result given by one or more adjudicators towards a team or speaker and not the collection of scores by the same adjudicator. The score, or whether the team advanced (true/false), should be its content. Win or lose should be determined by comparing the rank or the score of all sides of the debate. Please note that it is not the collection of scores by the same adjudicator. The score should be its content, using criteria subelements if applicable.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence>
<xs:element name="score" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en">One of the scores given for the speech in relation to a marking rubric. The score is the content.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:decimal">
<xs:attribute name="criterion" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="adjudicators" type="xs:IDREFS"/>
<xs:attribute default="false" name="minority" type="xs:boolean"/>
<xs:attribute name="rank" type="xs:integer" use="optional"/>
<xs:attribute default="false" name="ignored" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:keyref name="ballot_adjudicators" refer="adjudicator_id">
<xs:selector xpath="ballot"/>
<xs:field xpath="@adjudicators"/>
</xs:keyref>
</xs:element>
<xs:complexType name="person" mixed="true">
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="gender" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">m for male, f for female, and o for other.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="m"/>
<xs:enumeration value="f"/>
<xs:enumeration value="o"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="institutions" type="xs:IDREFS"/>
<xs:attribute name="name" type="xs:string" use="optional"/>
<xs:attribute name="email" type="xs:string" use="optional"/>
</xs:complexType>
<xs:element name="intervention">
<xs:annotation>
<xs:documentation xml:lang="en">An intervention is when another speaker proposes the current speaker to hear from them, such as for a point of information.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="speaker" type="xs:IDREF"/>
<xs:attribute name="request" default="information">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="information"/>
<xs:enumeration value="privilege"/>
<xs:enumeration value="clarification"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="accepted" type="xs:boolean" default="true"/>
<xs:attribute name="start" type="xs:duration" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">The start of the intervention (or request) relative to the beginning of the speech.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="length" type="xs:duration" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:keyref name="intervention_speaker" refer="speaker_id">
<xs:selector xpath="intervention"/>
<xs:field xpath="@speaker"/>
</xs:keyref>
</xs:element>
<xs:attributeGroup name="styles">
<xs:attribute name="style" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">An enumeration of many standardized tournament formats: apda for American Parliamentary Debate Association, asians for Asian Parliamentary Debate, aus-easters for Australian Easters, australs for Australs, bp for British Parliamentary, cndc for Canadian National Debating Championships, cp for Canadian Parliamentary, ffd for Fédération Francophone de Débat, joynt for Joynt Scroll, ld for Lincoln–Douglas, npda for National Parliamentary Debate Association, nz-easters for New Zealand Easters, opd for Offene parlamentarische Debatte, paris-v for Paris V, uadc for United Asians Debating Championships, wadl for Western Australian Debating League, and wsdc for World Schools Debating Championships.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="apda"/>
<xs:enumeration value="asians"/>
<xs:enumeration value="aus-easters"/>
<xs:enumeration value="australs"/>
<xs:enumeration value="bp"/>
<xs:enumeration value="cndc"/>
<xs:enumeration value="cp"/>
<xs:enumeration value="ffd"/>
<xs:enumeration value="joynt"/>
<xs:enumeration value="ld"/>
<xs:enumeration value="npda"/>
<xs:enumeration value="nz-easters"/>
<xs:enumeration value="opd"/>
<xs:enumeration value="paris-v"/>
<xs:enumeration value="uadc"/>
<xs:enumeration value="wadl"/>
<xs:enumeration value="wsdc"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="language" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Please use ISO 639 codes.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
</xs:schema>