-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIXSI.xsd
2077 lines (2077 loc) · 84.1 KB
/
IXSI.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
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Mit XMLSpy v2013 sp1 (x64) (http://www.altova.com) von Peter von Grumbkow (HaCon Ingenieurgesellschaft mbH) bearbeitet -->
<!-- edited with XMLSpy v2010 rel. 3 sp1 (x64) (http://www.altova.com) by Peter von Grumbkow (HaCon Ingenieurgesellschaft mbH) -->
<xs:schema xmlns="http://www.ixsi-schnittstelle.de/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ixsi-schnittstelle.de/" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!--*******************************************************************-->
<!--Interface for X-Sharing Information (IXSI)-->
<!--*******************************************************************-->
<!--Spezifikation, Version 4 vom 2014-11-25-->
<!--Urheber: Peter von Grumbkow, HaCon Ing.-Ges. mbH und Dirk Hillbrecht, cantamen GmbH-->
<!--Diese Schnittstellenspezifikation steht unter folgender Lizenz: CC BY-ND 3.0 DE (Creative Commons Namensnennung-Keine Bearbeitung 3.0 Deutschland), http://creativecommons.org/licenses/by-nd/3.0/de/-->
<!--*******************************************************************-->
<!--Specification, Version 4 of 2014-11-25-->
<!--Authors: Peter von Grumbkow, HaCon Ing.-Ges. mbH and Dirk Hillbrecht, cantamen GmbH-->
<!--This interface specification is licensed according to: CC BY-ND 3.0 DE (Creative Commons Namensnennung-Keine Bearbeitung 3.0 Deutschland), http://creativecommons.org/licenses/by-nd/3.0/de/-->
<!--*******************************************************************-->
<xs:annotation>
<xs:documentation>**** ID type definitions ****</xs:documentation>
</xs:annotation>
<xs:simpleType name="AreaIDType">
<xs:annotation>
<xs:documentation>Type for area IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="PlaceIDType">
<xs:annotation>
<xs:documentation>Type for place IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="PlaceGroupIDType">
<xs:annotation>
<xs:documentation>Type for place group IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="BookeeIDType">
<xs:annotation>
<xs:documentation>Type for bookee IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="ProviderIDType">
<xs:annotation>
<xs:documentation>Type for provider IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="SessionIDType">
<xs:annotation>
<xs:documentation>Type for session IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="BookingIDType">
<xs:annotation>
<xs:documentation>Type for booking IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="UserIDType">
<xs:annotation>
<xs:documentation>Type for user IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="SystemIDType">
<xs:annotation>
<xs:documentation>Type for system IDs.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="GlobalIDType">
<xs:annotation>
<xs:documentation>Type for globally unique IDs for identifiying clone entities.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:annotation>
<xs:documentation>**** General type definitions ****</xs:documentation>
</xs:annotation>
<xs:simpleType name="EuroPriceType">
<xs:annotation>
<xs:documentation>Type for storing prices in Euro cents.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger"/>
</xs:simpleType>
<xs:simpleType name="PercentType">
<xs:annotation>
<xs:documentation>Type for percent between 0 and 100.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:nonNegativeInteger">
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="BookingTargetIDType">
<xs:annotation>
<xs:documentation>Type for booking target IDs.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="BookeeID" type="BookeeIDType"/>
<xs:element name="ProviderID" type="ProviderIDType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProviderPlaceIDType">
<xs:annotation>
<xs:documentation>Type for provider/place combinations.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ProviderID" type="ProviderIDType"/>
<xs:element name="PlaceID" type="PlaceIDType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CoordType">
<xs:annotation>
<xs:documentation>Type for geodecimal coordinates. The reference ellipsoid is always WGS84 (GPS).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Longitude">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:minInclusive value="-180.0"/>
<xs:maxInclusive value="180.0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Latitude">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:minInclusive value="-90.0"/>
<xs:maxInclusive value="90.0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GeoRectangleType">
<xs:annotation>
<xs:documentation>Type for a geographic rectangle.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="UpperLeft" type="CoordType">
<xs:annotation>
<xs:documentation>Upper left corner of the geographic rectangle.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LowerRight" type="CoordType">
<xs:annotation>
<xs:documentation>Lower right corner of the geographic rectangle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GeoCircleType">
<xs:annotation>
<xs:documentation>Type for a geographic circle.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Center" type="CoordType">
<xs:annotation>
<xs:documentation>Coordinates of the circle center.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Radius" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Radius in meters of the circle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GeoAreaType">
<xs:annotation>
<xs:documentation>Type for geographic areas.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="PolyPoint" type="CoordType" minOccurs="3" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Geo positions of the closed border polygon of the area.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="IncExcGeoAreaType">
<xs:annotation>
<xs:documentation>Type for geographic areas with exclusion possibility.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="GeoAreaType">
<xs:sequence>
<xs:element name="Exclude" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Only if set to true, this area definition defines an exclusion.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="DurationGroup">
<xs:annotation>
<xs:documentation>Group for the probable duration and its variance for getting a booking target.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Duration" type="xs:duration">
<xs:annotation>
<xs:documentation>Probable duration for finding a booking target. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Variance" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Variance of the probable duration for finding a booking target. The probable duration can vary by this value up or down.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="DensityAreaType">
<xs:annotation>
<xs:documentation>Type for geographic areas with probable time to get a vehicle.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Area" type="GeoAreaType">
<xs:annotation>
<xs:documentation>Geographic area definition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="DurationGroup"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AddressType">
<xs:annotation>
<xs:documentation>Type for storing an address.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Country" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the country.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalCode" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Complete postal code of the address.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="City" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the city.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StreetHouseNr" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Street and house number in one string.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GeoPositionType">
<xs:annotation>
<xs:documentation>Type for a geopraphical position.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Coord" type="CoordType">
<xs:annotation>
<xs:documentation>Geographical coordinates.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" type="AddressType" minOccurs="0">
<xs:annotation>
<xs:documentation>Optional address of the geographical position.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TimePeriodType">
<xs:annotation>
<xs:documentation>Type for a time period.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Begin" type="xs:dateTime"/>
<xs:element name="End" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TimePeriodProposalType">
<xs:annotation>
<xs:documentation>Type for a time period proposal.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="TimePeriodType">
<xs:sequence>
<xs:element name="MaxWait" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Maximal waiting time until the booking actually may begin in order to fulfil the booking time grid.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="TextType">
<xs:annotation>
<xs:documentation>Type for a text.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Text" type="xs:string"/>
<xs:element name="Language" type="xs:language" minOccurs="0">
<xs:annotation>
<xs:documentation>Language identifier according to BCP 47, which is based in ISO 639.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UserInfoType">
<xs:annotation>
<xs:documentation>Type for a user identification.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ProviderID" type="ProviderIDType">
<xs:annotation>
<xs:documentation>ID of the provider of the user. Without the user ID is not unique.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UserID" type="UserIDType">
<xs:annotation>
<xs:documentation>User ID.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="Password" type="xs:normalizedString">
<xs:annotation>
<xs:documentation>Password of the user.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Token" type="xs:token">
<xs:annotation>
<xs:documentation>Authentication token for the user, which replaces the password for data security reasons.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AuthType">
<xs:annotation>
<xs:documentation>Type for an authentication within a request.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="SessionID" type="SessionIDType">
<xs:annotation>
<xs:documentation>Valid session ID. If a session is reused, fill this one.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element name="UserInfo" type="UserInfoType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>If no session is available, the user has to authenticate.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="Anonymous" type="xs:boolean">
<xs:annotation>
<xs:documentation>If neither an existing session, nor a use information is available, an anonyous session can be opened.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="SessionTimeout" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>If set, the client wishes to get a session with the given inactivity timeout.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TransactionType">
<xs:annotation>
<xs:documentation>Type for an transaction ID within requests and responses.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime"/>
<xs:element name="MessageID" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Unique ID.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="ErrorCodeType">
<xs:annotation>
<xs:documentation>Enumeration for error codes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:complexType name="ErrorType">
<xs:annotation>
<xs:documentation>Type for errors.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Code" type="ErrorCodeType">
<xs:annotation>
<xs:documentation>Code of the error taken from the list of allowed error codes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NonFatal" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If set, the corresponding operation was in general successful and operations can continue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SystemMessage" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Text for system logging, explaining the error more detailed. Should be in English.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UserMessage" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Text for user information in requested language.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>**** Type definitions ****</xs:documentation>
</xs:annotation>
<xs:simpleType name="ClassType">
<xs:annotation>
<xs:documentation>Enumeration for car classes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="EngineType">
<xs:annotation>
<xs:documentation>Enumeration for engines.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="AttributeClassType">
<xs:annotation>
<xs:documentation>Enumeration for attribute classes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:simpleType name="AttributeIDType">
<xs:annotation>
<xs:documentation>Enumeration for attribute codes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token"/>
</xs:simpleType>
<xs:complexType name="AttributeType">
<xs:annotation>
<xs:documentation>Type for structured attribute classification with associated text.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Text" type="TextType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Text of the attribute to be shown to the user.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WithText" type="xs:boolean">
<xs:annotation>
<xs:documentation>Defines, whether this attribute has a text meant for the user or not.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="AttributeIDType">
<xs:annotation>
<xs:documentation>Internal code of the attribute for referencing.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Class" type="AttributeClassType" minOccurs="0">
<xs:annotation>
<xs:documentation>Class of the attribute, taken from the list of allowed values.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Separate" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>If set to true, this attribute describes accessory equipment, which has to be booked separately.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Mandatory" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines whether the attribute has to be shown to the user in any case.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Importance" type="PercentType" minOccurs="0">
<xs:annotation>
<xs:documentation>Importance of the attribute in percent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="URL" type="xs:anyURI" minOccurs="0">
<xs:annotation>
<xs:documentation>URL to additional information on this general attribute. If available, the whole attribute text has to be used as the marked link.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="InfoType">
<xs:annotation>
<xs:documentation>Type for structured information classification with associated text.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Text" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Text of the informaton to be shown to the user.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WithText" type="xs:boolean">
<xs:annotation>
<xs:documentation>Defines, whether this information has a text meant for the user or not.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Class" type="AttributeClassType" minOccurs="0">
<xs:annotation>
<xs:documentation>Class of the information, taken from the list of allowed values.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Mandatory" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Defines whether the attribute has to be shown to the user in any case.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Importance" type="PercentType" minOccurs="0">
<xs:annotation>
<xs:documentation>Importance of the attribute in percent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="URL" type="xs:anyURI" minOccurs="0">
<xs:annotation>
<xs:documentation>URL to additional information on this general attribute. If available, the whole attribute text has to be used as the marked link.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StopLinkType">
<xs:annotation>
<xs:documentation>Type for link from a car-sharing place to a stop.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="StopID" type="xs:token"/>
<xs:group ref="DurationGroup"/>
<xs:element name="Distance" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Distance for walking this link in meters. In case of areas, this is the probable distance to walk to get a vehicle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProviderType">
<xs:annotation>
<xs:documentation>Type for provider information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="ProviderIDType">
<xs:annotation>
<xs:documentation>Provider ID. For one provider this ID has to remain constant for subsequent responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Name" type="xs:normalizedString">
<xs:annotation>
<xs:documentation>Printable full name of the provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CustomerChoice" type="xs:boolean">
<xs:annotation>
<xs:documentation>If set, this provider is presented to the user as a "home provider". This way this provider becomes a "customer provider".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ShortName" type="xs:normalizedString" minOccurs="0">
<xs:annotation>
<xs:documentation>Printable short name of the provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AttributeID" type="AttributeIDType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional information on this provider (e.g. URLs, logo, inter-app-URLs).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:group name="PlaceOrAreaGroup">
<xs:annotation>
<xs:documentation>Group for information which is used for places and free floating areas.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Name" type="TextType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Printable name(s) of the place or area.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProviderID" type="ProviderIDType">
<xs:annotation>
<xs:documentation>Provider ID, to which the place or area belongs to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="TextType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="StopLink" type="StopLinkType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Walking links to stops.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AttributeID" type="AttributeIDType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional information on this place or area.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="PlaceType">
<xs:annotation>
<xs:documentation>Type for place information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="PlaceIDType">
<xs:annotation>
<xs:documentation>Place ID. For one physical place this ID has to remain constant for subsequent responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GlobalID" type="GlobalIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>Globallly unique ID of this object. Used for identifying clones of this object, if they are delivered from different systems. Such ID should be formed using unique elements like DNS domain names.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GeoPosition" type="GeoPositionType">
<xs:annotation>
<xs:documentation>Geo position of the place.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Capacity" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Capacity of the place for returning booking targets.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="PlaceOrAreaGroup"/>
<xs:element name="OnPremisesTime" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional time needed for finding the place on the premises. Can be used for large parking areas or parking houses. Defaults to 0. </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProbabilityPlaceIDType">
<xs:annotation>
<xs:documentation>Type for a place ID with a probability for getting a booking target.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="PlaceIDType">
<xs:annotation>
<xs:documentation>Place ID.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Probability" type="PercentType" minOccurs="0">
<xs:annotation>
<xs:documentation>Average probability for getting a booking target at this place. Useful only for places within in PlaceGroups.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PlaceGroupType">
<xs:annotation>
<xs:documentation>Type for place groups.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="PlaceGroupIDType">
<xs:annotation>
<xs:documentation>Place group ID. For one physical place group this ID has to remain constant for subsequent responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlaceID" type="ProbabilityPlaceIDType" maxOccurs="unbounded"/>
<xs:element name="Probability" type="PercentType">
<xs:annotation>
<xs:documentation>Average probability for getting a booking target at a specific place in this place group. It only applies for those places, for which no specific value is provided.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FloatingAreaType">
<xs:annotation>
<xs:documentation>Type for free floating areas.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="AreaIDType">
<xs:annotation>
<xs:documentation>Area ID. For one physical free floating area this ID has to remain constant for subsequent responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Area" type="IncExcGeoAreaType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Geographic areas covered by the free floaters. A point belongs to the free floating area, if it is within at least one of the given inclusion areas, and not in one of the exclusion areas.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="PlaceOrAreaGroup"/>
<xs:group ref="DurationGroup"/>
<xs:element name="SubArea" type="DensityAreaType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Sub areas of the free floating area. For each sub area a probable time (and its variance) for getting a free floating booking target is given. For stops covered by more than one sub area, the minimum duration is used.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BookingTargetType">
<xs:annotation>
<xs:documentation>Type for booking target information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="BookingTargetIDType">
<xs:annotation>
<xs:documentation>BookingTargetID. For one physical booking target this ID has to remain constant for subsequent responses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GlobalID" type="GlobalIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>Globallly unique ID of this object. Used for identifying clones of this object, if they are delivered from different systems. Such ID should be formed using unique elements like DNS domain names.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Name" type="TextType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Printable name of the bookee.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="PlaceID" type="PlaceIDType">
<xs:annotation>
<xs:documentation>Place ID, where the bookee is placed. This has to be filled for station based booking targets.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlaceGroupID" type="PlaceGroupIDType">
<xs:annotation>
<xs:documentation>PLace group ID of this bookee, if it does not belong to a fixed place.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AreaID" type="AreaIDType">
<xs:annotation>
<xs:documentation>Area ID of this bookee. This has to be filled for free floating booking targets.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="Class" type="ClassType">
<xs:annotation>
<xs:documentation>Class of the bookee.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BookingHorizon" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Maximum duration in future, when this target can be booked. This is relative to the current time.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BookingGrid" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Grid for start and end time of bookings in minutes. Should be a divisor of 60. Examples: 1, 5, 10, 15, 30, 60.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OpeningTime" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Time needed for actually opening the booking target. If not given, the client system will assume some reasonable time.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Engine" type="EngineType" minOccurs="0"/>
<xs:element name="CO2Factor" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>CO2 emmision in gram per kilometer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaxDistance" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Maximal distance in meters, this bookee can go without longer stops. If not given, no limit is assumed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AttributeID" type="AttributeIDType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional information on this bookee, e.g. air-conditioning, navigational system, etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BookingTargetPropertiesType">
<xs:annotation>
<xs:documentation>Type for needed properties of a booking target for synchronous availability.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="BookingTargetIDType">
<xs:annotation>
<xs:documentation>Booking target ID.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Distance" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Distance to drive in meters. The car-sharing system should return only those booking targets as available, which are able to drive that distance (according to state of charge).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SeverityFactor" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Severity factor of the proposed route in percentage. 100 represents a nearly flat route. The higher the value, the more energy is cosumed for driving the route. E.g. a value of 200 indecates, that twice as much energy will be consumed as would be for a nearly flat route of the same length.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BookingTargetAvailabilityType">
<xs:annotation>
<xs:documentation>Type for availability of booking targets.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="BookingTargetIDType"/>
<xs:element name="PlaceID" type="PlaceIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>For currently available booking targets, which are not bound to a specific place, the current place should be returned.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GeoPosition" type="GeoPositionType" minOccurs="0">
<xs:annotation>
<xs:documentation>For currently available booking targets, which are not place bounded, the current position should be returned.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Inavailability" type="TimePeriodType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Periods of inavailability of the booking target.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CurrentStateOfCharge" type="PercentType" minOccurs="0">
<xs:annotation>
<xs:documentation>Current state of charge iof booking target in percent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CurrentDrivingRange" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Current driving range of booking target in meters, given a nearly flat route. If not given, the vehice is considered to have an infinite driving range.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BookingTargetChangeAvailabilityType">
<xs:annotation>
<xs:documentation>Type for changes in availability of booking targets.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="BookingTargetIDType">
<xs:annotation>
<xs:documentation>Booking target ID.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlaceID" type="PlaceIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>For currently available booking targets, which are not bound to a specific place, the current place should be returned.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GeoPosition" type="GeoPositionType" minOccurs="0">
<xs:annotation>
<xs:documentation>For newly available vehicles, which are not place bounded, the position should be returned.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="Inavailability" type="TimePeriodType">
<xs:annotation>
<xs:documentation>New inavailability period</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Availability" type="TimePeriodType">
<xs:annotation>
<xs:documentation>New availability period.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PlaceAvailabilityType">
<xs:annotation>
<xs:documentation>Type for the available capacity of a place.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="ProviderPlaceIDType"/>
<xs:element name="Availability" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Currently available capacity for returning booking targets. This is the number of booking targets which could be returned now, without exceeding the overall capacity of the place.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BookingChangeType">
<xs:annotation>
<xs:documentation>Type for changes of a booking.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="BookingID" type="BookingIDType"/>
<xs:choice>
<xs:element name="Cancelled" type="xs:boolean">
<xs:annotation>
<xs:documentation>Booking has been cancelled by user, eventually through different channels (e.g. native app, phone, etc). Afterwards the booking ID is not valid anymore.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NewPeriod" type="TimePeriodType">
<xs:annotation>
<xs:documentation>Booking has been given a new period by user. eventually through different channels (e.g. antive app, phone, etc.).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Notification" type="xs:boolean">
<xs:annotation>
<xs:documentation>The booking is still valid, but there is some infromation for the user concerning the booking.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Impossible" type="xs:boolean">
<xs:annotation>
<xs:documentation>The booking has been rendered impossible by the car sharing system (e.g. due to a car failure). However, the booking ID is still valid, as the booking might be re-possiblized later.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Repossiblized" type="xs:boolean">
<xs:annotation>
<xs:documentation>The booking has been rendered possible again (e.g. by a replacement car).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="Reason" type="TextType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TariffDetailType">
<xs:annotation>
<xs:documentation>Type for a component of a traiff including the price.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>Printable name of the tariff detail.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Price" type="EuroPriceType">
<xs:annotation>
<xs:documentation>Price in Euro-Cent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Printable description of the tariff detail.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TariffType">
<xs:annotation>
<xs:documentation>Type for a tariff including the price.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Name" type="xs:string">
<xs:annotation>
<xs:documentation>Printable name of the tariff.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Price" type="EuroPriceType">
<xs:annotation>
<xs:documentation>Price in Euro-Cent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Printable description of the tariff.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Detail" type="TariffDetailType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Details for the overall price. If provided, it should contain a set of component prices, that sums up to the overall price.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Info" type="InfoType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional information for this tariff.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OriginDestType">
<xs:annotation>
<xs:documentation>Type for an origin or a destination location.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="PlaceID" type="PlaceIDType">
<xs:annotation>
<xs:documentation>Place ID. If given, the location refers to the place with this ID. Used for place based booking targets.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GeoPosition" type="CoordType">
<xs:annotation>
<xs:documentation>If given, the location refers to this geo position. Used for free floating booking targets.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:group name="OriginDestGroup">
<xs:annotation>
<xs:documentation>Group for origin and destination location.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Origin" type="OriginDestType" minOccurs="0">
<xs:annotation>
<xs:documentation>Location where the booking target is to be picked up.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Dest" type="OriginDestType" minOccurs="0">
<xs:annotation>
<xs:documentation>Location where the booking target is to be returned.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="BookingType">
<xs:annotation>
<xs:documentation>Type for a booking.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="BookingIDType"/>