-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yml
1142 lines (1108 loc) · 41.1 KB
/
openapi.yml
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
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
title: Eventor API
description: |
Eventor API
version: "1.0.0"
termsOfService: https://eventor.orientering.se/Home/About
contact:
name: Eventor
url: https://eventor.orienteering.org/api/documentation
servers:
- url: https://eventor.orientering.no/api
description: Norwegian Eventor API
- url: https://eventor.orientering.se/api
description: Swedish Eventor API
- url: https://eventor.orienteering.asn.au/api
description: Australian Eventor API
- url: https://eventor.orienteering.org/api
description: International Eventor API
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
name: ApiKey
in: header
security:
- ApiKeyAuth: []
paths:
/events:
get:
summary: Returns a list with the events matching the search parameters.
parameters:
- in: query
name: fromDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Start time (yyyy-mm-dd hh:mm:ss).
- in: query
name: toDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: End time (yyyy-mm-dd hh:mm:ss).
- in: query
name: fromModifyDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Includes only events that have changed after this time (yyyy-mm-dd hh:mm:ss).
- in: query
name: toModifyDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Includes only events that have changed before this time (yyyy-mm-dd hh:mm:ss).
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list of event IDs. Omit to include all events.
- in: query
name: organisationIds
schema:
type: string
example: "273,89"
description: Comma-separated list of organisation IDs for the organising clubs. If a state's organisation ID is specified, all events organised by a club in that state will be included. Omit to include all events.
- in: query
name: classificationIds
schema:
type: string
example: "4,5"
description: Comma-separated list of event classification IDs, where 1=championship event, 2=national event, 3=state event, 4=local event, 5=club event. Omit to include all events.
- in: query
name: includeEntryBreaks
schema:
type: boolean
default: false
description: Set to `true` to include the entry deadlines of the event.
- in: query
name: includeAttributes
schema:
type: boolean
default: false
description: Set to `true` to include the event's event attributes.
- in: query
name: parentIds
schema:
type: string
example: 1,2
description: If filtering on parent events, comma-separated list of IDs for parent events.
responses:
"200":
description: XML element `EventList`
content:
application/xml:
schema:
type: array # TODO
xml:
name: EventList
wrapped: true
items:
xml:
name: Event
/events/documents:
get:
summary: Returns a list with documents for the events matching the search parameters.
parameters:
- in: query
name: fromDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Start time (yyyy-mm-dd hh:mm:ss).
- in: query
name: toDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: End time (yyyy-mm-dd hh:mm:ss).
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list of event IDs. Omit to include all events.
- in: query
name: organisationIds
schema:
type: string
example: 273,89
description: Comma-separated list of organisation IDs for the organising clubs. If a state's organisation ID is specified, all events organised by a club in that state will be included. Omit to include all events.
responses:
"200":
description: XML element `DocumentList`
content:
application/xml:
schema:
type: array
xml:
name: DocumentList
wrapped: true
items:
xml:
name: Document
type: object
properties:
id:
type: integer
xml:
attribute: true
referenceId:
type: integer
xml:
attribute: true
name:
type: string
xml:
attribute: true
url:
type: string
format: uri
xml:
attribute: true
type:
type: string
enum:
- Invitation
- Other
- Program
xml:
attribute: true
modifyDate:
type: string
format: date-time
xml:
attribute: true
additionalProperties: false
/event/{eventId}:
get:
summary: Returns an event.
parameters:
- in: path
name: eventId
schema:
type: integer
example: 8248
required: true
description: The ID of the event as specified by `/events`.
responses:
"200":
description: XML element `Event`
content:
application/xml:
schema:
type: string # TODO
/eventclasses:
get:
summary: Returns all classes in an event.
parameters:
- in: query
name: eventId
schema:
type: integer
example: 8248
required: true
description: The ID of the event as specified by `/events`.
- in: query
name: includeEntryFees
schema:
type: boolean
example: false
description: Set to `true` to include IDs and application order for the entry fees of the classes.
responses:
"200":
description: XML element `EventClassList`
content:
application/xml:
schema:
type: string # TODO
/entryfees/events/{eventId}:
get:
summary: Returns all entry fees in an event.
parameters:
- in: path
name: eventId
schema:
type: integer
example: 8248
required: true
description: The ID of the event as specified by `/events`.
responses:
"200":
description: XML element `EntryFeeList`
content:
application/xml:
schema:
type: string # TODO
/organisation/apiKey:
get:
summary: Returns the organisation that the specified API key belongs to.
responses:
"200":
description: XML element `Organisation`
content:
application/xml:
schema:
type: string # TODO
/organisations:
get:
summary: Returns a list with all organisations (federations, state associations and clubs).
parameters:
- in: query
name: includeProperties
schema:
type: boolean
default: false
description: Set to `true` to include extended information about the organisations.
responses:
"200":
description: XML element `OrganisationList`
content:
application/xml:
schema:
type: string # TODO
/organisation/{id}:
get:
summary: Returns an organisation (federation, state association or club).
parameters:
- in: path
name: id
schema:
type: integer
example: 273
required: true
description: The ID of the organisation.
responses:
"200":
description: XML element `Organisation`
content:
application/xml:
schema:
type: string # TODO
/persons/organisations/{organisationId}:
get:
summary: Returns all persons that are members of an organisation.
parameters:
- in: path
name: organisationId
schema:
type: integer
example: 273
required: true
description: The ID of the organisation as specified by `/organisations`. This parameter must be set to the own organisation's ID.
- in: query
name: includeContactDetails
schema:
type: boolean
default: false
description: Set to `true` to include the members' addresses, phone numbers and email addresses.
responses:
"200":
description: XML element `PersonList`
content:
application/xml:
schema:
type: string # TODO
/competitors:
get:
summary: Returns event settings (punching card numbers, pre-selected classes) for all persons that have specified these settings within an organisation.
parameters:
- in: query
name: organisationId
schema:
type: integer
example: 273
required: true
description: The ID of the organisation as specified by `/organisations`. This parameter must be set to the own organisation's ID.
responses:
"200":
description: XML element `CompetitorList`
content:
application/xml:
schema:
type: string # TODO
/externalLoginUrl:
get:
summary: Returns a link that can be used to redirect a person from an external website to logged-in mode in Eventor. The link can only be used once and is forfeited after five minutes. Useful when a club has a website solution with its own login system. **Caution!** Make sure to use this method in such a way that only authorized users in the external system will have access to the redirect link!
parameters:
- in: query
name: personId
schema:
type: integer
example: 1
required: true
description: The ID of the person as specified by `/persons/organisations/{organisationId}`. The person must be a member of the organisation specified by organisationId.
- in: query
name: organisationId
schema:
type: integer
example: 273
required: true
description: The ID of the organisation as specified by `/organisations`. This parameter must be set to the own organisation's ID.
- in: query
name: includeContactDetails
schema:
type: boolean
default: false
description: Set to `true` to include the members' addresses, phone numbers and email addresses.
responses:
"200":
description: XML element `ExternalLoginUrl`
content:
application/xml:
schema:
type: string # TODO
/authenticatePerson:
get:
summary: Returns the person matching the specified user name and password.
parameters:
- in: header
name: Username
schema:
type: string
example: OlaNordmann
required: true
description: The person's user name i Eventor.
- in: header
name: Password
schema:
type: string
example: 0r13nt3r1n5
required: true
description: The person's password i Eventor.
responses:
"200":
description: XML element `Person`
content:
application/xml:
schema:
type: string # TODO
/entries:
get:
summary: Returns persons entered to an event as specified by the search parameters.
parameters:
- in: query
name: organisationIds
schema:
type: string
example: 273,89
description: Comma-separated list with IDs as specified by `/organisations` for the organisation that entries is to be fetched for. Omit to include all organisations.
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list with event IDs as specified by `/events`. Omit to include all events.
- in: query
name: eventClassIds
schema:
type: string
example: "2"
description: Comma-separated list with class IDs as specified by `/eventclasses`. Omit to include all classes.
- in: query
name: fromEventDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Gets entries from events organised at this or later times (yyyy-mm-dd hh:mm:ss).
- in: query
name: toEventDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Gets entries from events organised at this or earlier times (yyyy-mm-dd hh:mm:ss).
- in: query
name: fromEntryDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Gets entries that are made at this time or later (yyyy-mm-dd hh:mm:ss).
- in: query
name: toEntryDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Gets entries that are made at this time or earlier (yyyy-mm-dd hh:mm:ss).
- in: query
name: fromModifyDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Gets entries that have changed at this time or later (yyyy-mm-dd hh:mm:ss).
- in: query
name: toModifyDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Gets entries that are changed at this time or earlier (yyyy-mm-dd hh:mm:ss).
- in: query
name: includeEntryFees
schema:
type: boolean
default: false
description: Set to `true` to include entry fee information.
- in: query
name: includePersonElement
schema:
type: boolean
default: false
description: Set to `true` to include complete person information insted of just a person ID.
- in: query
name: includeOrganisationElement
schema:
type: boolean
example: false
description: Set to `true` to include complete organisation information insted of just an organisation ID.
- in: query
name: includeEventElement
schema:
type: boolean
example: false
description: Set to `true` to include complete event information insted of just an event ID.
responses:
"200":
description: XML element `EntryList`
content:
application/xml:
schema:
type: string # TODO
/competitorcount:
get:
summary: Returns the number of entries as given by the search parameters.
parameters:
- in: query
name: organisationIds
schema:
type: string
example: 273,89
required: true
description: Comma-separated list with IDs as specified by `/organisations` for the organisation that entries is to be fetched for.
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list with event IDs as specified by `/events`. Omit to include all events.
- in: query
name: personIds
schema:
type: string
example: "1"
description: Comma-separated list with personIDs as specified by `/persons/organisations/{organisationId}`. The persons must be members in the organisation specified by organisationIds.
responses:
"200":
description: XML element `CompetitorCountList`
content:
application/xml:
schema:
type: string # TODO
/starts/event:
get:
summary: Returns start times for an event.
parameters:
- in: query
name: eventId
schema:
type: integer
example: 8248
required: true
description: Event ID as specified by `/events`.
responses:
"200":
description: XML element `StartList`
content:
application/xml:
schema:
type: string # TODO
/starts/person:
get:
summary: Returns start times for a person in a number of events.
parameters:
- in: query
name: personId
schema:
type: integer
example: 1
required: true
description: Person ID as specified by `/persons/organisations/{organisationId}`.
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list with event IDs as specified by `/events`. Omit to include all events.
- in: query
name: fromDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Includes events organised this or later times (yyyy-mm-dd hh:mm:ss).
- in: query
name: toDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Includes events organised this or earlier times (yyyy-mm-dd hh:mm:ss).
responses:
"200":
description: XML element `StartListList`
content:
application/xml:
schema:
type: string # TODO
/starts/organisation:
get:
summary: Returns start times for an organisation's (club's) competitors in an event.
parameters:
- in: query
name: organisationIds
schema:
type: string
example: 273,89
required: true
description: Comma-separated list with IDs as specified by `/organisations` for the organisations that start times are to be fetched for. This parameter must be set to the own organisation's ID.
- in: query
name: eventId
schema:
type: integer
example: 8248
required: true
description: The ID of the event as specified by `/events`.
responses:
"200":
description: XML element `StartList`
content:
application/xml:
schema:
type: string # TODO
/results/event:
get:
summary: Returns results for an event.
parameters:
- in: query
name: eventId
schema:
type: integer
example: 8248
description: The ID of the event as specified by `/events`.
- in: query
name: includeSplitTimes
schema:
type: boolean
example: false
description: Set to `true` to include split times.
- in: query
name: top
schema:
type: integer
example: 50
description: Only returns this number of competitors from the top of the result list. Omit to include all competitors.
responses:
"200":
description: XML element `ResultList`
content:
application/xml:
schema:
type: string # TODO
/results/person:
get:
summary: Returns results for a person in a number of events.
parameters:
- in: query
name: personId
schema:
type: integer
example: 1
description: Person ID as specified by `/persons/organisations/{organisationId}`.
- in: query
name: eventIds
schema:
type: string
example: 8248,15365
description: Comma-separated list with event IDs as specified by `/events`. Omit to include all events.
- in: query
name: fromDate
schema:
type: string
default: "0000-01-01 00:00:00"
description: Includes events organised this or later times (yyyy-mm-dd hh:mm:ss).
- in: query
name: toDate
schema:
type: string
default: "9999-12-31 23:59:59"
description: Includes events organised this or earlier times (yyyy-mm-dd hh:mm:ss).
- in: query
name: includeSplitTimes
schema:
type: boolean
example: false
description: Set to `true` to include split times.
- in: query
name: top
schema:
type: integer
example: 50
description: Returns, besides the specified person, only this number of competitors from the top of the result list. Omit to include the specified person only.
responses:
"200":
description: XML element `ResultListList`
content:
application/xml:
schema:
type: string # TODO
/results/organisation:
get:
summary: Returns results for an organisation's (club's) competitors in an event.
parameters:
- in: query
name: organisationIds
schema:
type: string
example: 273,89
required: true
description: Comma-separated list with IDs as specified by `/organisations` for the organisations that start times are to be fetched for. This parameter must be set to the own organisation's ID.
- in: query
name: eventId
schema:
type: integer
example: 8248
required: true
description: The ID of the event as specified by `/events`.
- in: query
name: includeSplitTimes
schema:
type: boolean
example: false
description: Set to `true` to include split times.
- in: query
name: top
schema:
type: integer
example: 50
description: Returns, besides the specified organisation's competitors, only this number of competitors from the top of each class' result list. Omit to include the specified organisation's comeptitors only.
responses:
"200":
description: XML element `ResultList`
content:
application/xml:
schema:
type: string # TODO
/activities:
get:
summary: Returns all activities for an organisation (club) in a given period of time.
parameters:
- in: query
name: organisationId
schema:
type: integer
example: 273
required: true
description: The ID of the organisation as specified by `/organisations`. This parameter must be set to the own organisation's ID.
- in: query
name: from
schema:
type: string
example: "1000-01-01 00:00:00"
required: true
description: The start of the time period (yyyy-mm-dd hh:mm:ss).
- in: query
name: to
schema:
type: string
example: "9999-12-31 23:59:59"
required: true
description: The end of the time period (yyyy-mm-dd hh:mm:ss).
- in: query
name: includeRegistrations
schema:
type: boolean
default: false
description: Set to `true` to include registrastions for the activities.
responses:
"200":
description: XML element `ActivityList`
content:
application/xml:
schema:
type: string # TODO
/activity:
get:
summary: Returns an activity.
parameters:
- in: query
name: organisationId
schema:
type: integer
example: 273
required: true
description: The ID of the organisation as specified by `/organisations`. This parameter must be set to the own organisation's ID.
- in: query
name: id
schema:
type: integer
example: 1
required: true
description: The ID of the activity as specified by by `/activities`.
- in: query
name: includeRegistrations
schema:
type: boolean
default: false
description: Set to `true` to include registrastions for the activities.
responses:
"200":
description: XML element `Activity`
content:
application/xml:
schema:
type: string # TODO
/competitor/{personId}:
get:
summary: Returns a person's event settings (e.g. pre-selected classes and punching card numbers).
parameters:
- in: path
name: personId
schema:
type: integer
example: 1
required: true
description: The ID of the person as specified by `/persons/organisations/{organisationId}`. The person must be a member of the organisation whose API key is used.
responses:
"200":
description: XML element `Competitor`
content:
application/xml:
schema:
type: string # TODO
/competitor:
put:
summary: Saves a person's event settings (e.g. pre-selected classes and punching card numbers).
requestBody:
description: The event settings for the person specified as a `Competitor` object. The person must be a member of the organisation whose API key is used.
required: true
content:
application/xml:
schema:
type: string # TODO
responses:
"200":
description: XML element `Competitor`
content:
application/xml:
schema:
type: string # TODO
example: |
<Competitor>
<Person sex="F">
<Id>1</Id>
<Name>
<Family>Schneider</Family>
<Given>Stefanie</Given>
</Name>
<BirthDate>1986-11-12</BirthDate>
<Nationality code="GER">Germany</Nationality>
</Person>
<Organisation>
<Id>1</Id>
<Name>Super Fast Orienteers</Name>
<Country code="GBR">Great Britain</Country>
</Organisation>
<Organisation>
<Id>2</Id>
<Name>Bushmen OC</Name>
<Country code="GBR">Great Britain</Country>
</Organisation>
<ControlCard punchingSystem="SI">99999</ControlCard>
<ControlCard punchingSystem="Emit">88888</ControlCard>
<Class>
<Id>3</Id>
<Name>Men Open</Name>
</Class>
</Competitor>
/export/competitors:
get:
summary: Returns all persons that are members for given organisations
parameters:
- in: query
name: organisationIds
schema:
type: string
example: 273,89
required: false
description: Comma-separated list with IDs as specified by `/organisations` for the organisations that competitors are to be fetched for. Omit to include all competitors.
- in: query
name: version
schema:
type: string
example: "3.0"
required: false
description: IOF XSD version, `2.0` or `3.0`
- in: query
name: includePreselectedClasses
schema:
type: boolean
example: false
description: Should preselected classes be included for each competitor.
- in: query
name: zip
schema:
type: boolean
example: false
description: Set to `true` to return a zip file of the result.
responses:
"200":
description: XML element `CompetitorList`
content:
application/xml:
schema:
type: string # TODO
/import/startlist:
post:
summary: Import start list for event
parameters: []
requestBody:
description: XML element `StartList`
required: true
content:
application/xml:
schema:
type: string # TODO
responses:
'200':
description: XML element `StartList`
content:
application/xml:
schema:
type: string # TODO
/import/resultlist:
post:
summary: Import result list for event
parameters: []
responses:
'200':
description: XML element `ImportResultListResult`
content:
application/xml:
schema:
type: string
example: |
<?xml version="1.0" encoding="utf-8"?>
<ImportResultListResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResultListUrl>https://eventor.orientering.no/Events/ResultList?eventId=15455&groupBy=EventClass</ResultListUrl>
<SplitTimeListUrl>http://obasen.orientering.se/winsplits/online/no/default.asp?page=classes&databaseId=76549</SplitTimeListUrl>
</ImportResultListResult>
requestBody:
description: XML element `ResultList`
required: true
content:
application/xml:
schema:
type: string
example: |
<?xml version="1.0" encoding="UTF-8"?>
<ResultList xmlns="http://www.orienteering.org/datastandard/3.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
iofVersion="3.0"
createTime="2021-08-21T07:46:33+01:00"
creator="Example Software"
status="Complete">
<!--
Result list for an individual event where one of the classes use multiple courses (butterfly-loop style).
-->
<Event>
<Id>15455</Id>
<Name>Liten trening</Name>
<StartTime>
<Date>2021-08-21</Date>
<Time>10:00:00+01:00</Time>
</StartTime>
<EndTime>
<Date>2021-08-21</Date>
<Time>14:00:00+01:00</Time>
</EndTime>
</Event>
<ClassResult>
<Class>
<Id>1</Id>
<Name>Men Elite</Name>
</Class>
<!-- if there are multiple courses per class, a Course element without any id may be included to express the properties of an average pseudo course -->
<Course>
<!-- course length is expressed in meters -->
<Length>4650</Length>
<!-- course climb is expressed in meters; omit the Climb element if the course climb is not known -->
<Climb>160</Climb>
</Course>
<PersonResult>
<Person>
<Id>1</Id>
<Name>
<Family>Wood</Family>
<Given>George</Given>
</Name>
</Person>
<!-- the Organisation element is to be omitted if the competitor does not represent a club -->
<Organisation>
<Id>5</Id>
<Name>OC Back and Forth</Name>
<Country code="GBR">Great Britain</Country>
</Organisation>
<Result>
<BibNumber>101</BibNumber>
<!-- start and finish times are expressed in ISO 8601 format, optionally including time zone information: YYYY-MM-DDThh:mm:ss[.s[s[s]]][((+|-)hh:mm)|Z] -->
<!-- for a detailed specification, see http://www.w3.org/TR/xmlschema-2/#dateTime -->
<StartTime>2021-08-21T15:00:00+01:00</StartTime>
<FinishTime>2021-08-21T15:33:21+01:00</FinishTime>
<!-- times are expressed in seconds, use period as decimal separator for fractions of seconds -->
<Time>2001</Time>
<!-- time behind the winner -->
<TimeBehind>0</TimeBehind>
<!-- the position in the result list -->
<Position>1</Position>
<!-- the result status, see the xml schema file for all status codes -->