forked from smagla/sector-xsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
taf_cat_complete_sector.xsd
8242 lines (8192 loc) · 353 KB
/
taf_cat_complete_sector.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"?>
<!-- edited with XMLSpy v2012 rel. 2 (x64) (http://www.altova.com) by Daniel Drexler (RailNetEurope) -->
<!-- Clean version, containing approved CRs (JSG and ERA) and bug-fixes, containing sector schema -->
<!-- version 2.1.1 from the 16/10/2015 -->
<!-- 16/10/2015 annotation of MessageType changed. Annotation added to ErrorCode -->
<!-- version 2.1.2 from the 11/11/2015 -->
<!-- 11/11/2015 Error correction of UIP and Raildata (RU-RU communication) according to CRs SMO 46/ ERA 391, SMO 47 / ERA 394 -->
<!-- version 2.1.3 from the 22/12/2015 -->
<!-- 22/12/2015
CRs approved by ERA and JSG:
SMO 38 sector message: passenger train composition - association of vehicle list added to global association
SMO 49 sector message: other technical restrictions for passenger rolling stock simplified
SMO 35 / ERA 396 Wagon data cardinality changed to /0 to many/ from /1 to many/
SMO 43 / ERA 397 BookedLocationDateTime added to PlannedJourneySection/Timing/TimingAtLocation
SMO 44 / ERA 398 BookedLocationDateTime added to AffectedSection/Start-EndOfSection
-->
<!-- 15/04/2016
Bug Fix: CR 45 / ERA 395 Approved correction of LocationFileDatasetMessage
usage of corrected ValidityType without restriction
Schema Version remains the same due to bug fix.
-->
<!-- version 2.1.4 from the 27/06/2016 -->
<!-- 27/06/2016
CRs approved by ERA and JSG:
SMO 16 ERA 357 Public Time Support – TimeQualifierCode (PathRequest/PathDetails) - TimerQualifierCode moved to code list schema
SMO 34 ERA 392 "DangerousGoodsIndication in TrainCompositionMessage - TrainRunningData
SMO 50 ERA 409 (Hand) Brake (Braked) weight values “0” in TrainCompositionMessage - HandBrakedBrakeWeight type changed from Numeric3-3 to xs:integer with restriction 000 to 999
SMO 51 ERA 411 Replace Train Control System Code in TrainCompositionMessage with xs:token and annotation. Code list remains in the code list schema to be updated accordingly.
-->
<!-- version 2.1.5 from the 15/12/2016 -->
<!--
SMO 53 ERA 419 Loco Numbers in Train Composition Message (TCM): the new optional element LocoNumber is added to the LocoIdent used in TCM (affected only TCM. New global element LocoNumber added)
SMO 55 ERA 417 Creation of the code list for the element TractionType: The TractionType is converted to a code list and moved to taf_cat_codelists_sector.xsd. The new codes are:
First digit:
“0” = not specified
“1” = external electric power supply for traction (catenary and pantograph, third rail or other such as maglev)
“2” = on-board traction power supply for traction without external electrical or other power supply available
“3” = hybrid traction (both on-board or electric traction available)
Second digit (definitions in chapter 2.2.2 of the LOC&PAS TSI 1302/2014):
“0” = not specified
“1” = locomotive or power unit
“2” = trainset or multiple unit or railcar
“3” = shunter
“4” = on track machine or infrastructure inspection vehicle
(affected only TCM)
SMO 57 (Sector CR, nor ERA ID) PathSectionNotification - added ScheduledDateTimeAtTransferPoint on message level (affected only PathSectionNotificationMessage)
SMO 59 ERA 418 TrainCompositionMessage: Mistake in HazardIdentificationNumber element resolved: the regular expression with the constraint on the format is removed. (affected only TCM)
-->
<!-- version 2.1.6 from the 08/02/2017 -->
<!--
CRs approved by ERA and JSG:
CR60 ERA 423 CR is mainly renaming and adding the annotation - affects only RSRD.
Elements affected:
....MaxDesignSpeed - added, replaced MaxSpeedEmpty and MaxSpeedLoaded
....NormalLoadingGauge
....LoadTable
....ParkingBrakeForce
Elements deleted (completely removed from the schema!):
....MaxSpeedEmpty
....MaxSpeedLoaded
....MaxParkingBrakeGradient
CR61 ERA 424 Change of the type of the element MaxAxleWeight - affects:
.....RollingStockDatasetMessage
......TrainCompoositionMessage
......PathRequestMessage
......PathDetailsMessage
CR62 ERA 425 Renaming and annotation improvement - affects TrainComposition & RSRD
Elements affected:
....LengthOverBuffers (replaced WagonLenth - IMPORTANT for those who already have mapping on TCM)
....ExceptionalGaugingInd (Train Level)
Element removed from the message (but remains in the schema) (IMPORTANT for those who already have mapping on TCM!):
....WagonLength
CR63 (Sector Message PassengerTrainComposition):
Redefinition of the type of EuropeanVehicleNumber - changed from integer to string with restiction and regular expression.
CR66 ERA 426 Wrong number in the code list (repeated value) - affects TrainComposition (the change is applied on the code list)
Affected code list: TractionMode. Code 44 repeated twice, code 54 must be added instead.
CR67 ERA 427 Wrong pattern applied - affects ErrorMessage
Error code number format was wrong - there will be no restrictions on format on the error code any more.
-->
<!-- version 2.1.6 from the 20/02/2017 -->
<!--
LengthOverBuffers annotation on DesignDataset level (RSRD message) removed - this is not needed, since the global annotation (documentation) of the element LengthOverBuffers applies.
No version change is needed for this documentation error fix.
-->
<!-- version 2.1.7 from the 18/05/2017 -->
<!--
CR 70 ERA 433: Error Message Element Multiplicity: all significant elements of the message are packed into one complex element Error which has the 1-n multiplicity. Affected message: ErrorMessage
CR 71 ERA 434: TypeOfInformationCode 23 added. The code is used for PathNotAvailable message. Indicates that the alternative offer will be prepared by IM. Affected messages: all messages for Path Request process, because they all use the TypeOfInformatonCode list. This particular code should be used only for PathNotAvailable and ReceiptConfirmation.
CR 76 ERA 435: Element name and type changed: MinVerticleRadiusYardHump / Integer 1-9999 became MinVerticalRadiusYardHump / Integer 1-999, measured in meters. Affected message: RSRD.
-->
<!-- version 2.1.8 from the 21/09/2017 -->
<!--
1) Error Correction (Affected: PathRequest, PathDetails, PathCoordination, ObjectInfo messages): The TimingQualifierCode list of attributes was accidentaly moved to time in the version 2.1.4. It actually belongs to Timing (it was an attribute list of the Timing element in all versions before 2.1.4). To correct the error, we moved the list of attributes TimerQualifierCode back to Timing element.
2) CR 82: Update of RU-WagonKeeper communication (GCU Working Party result): new version of WagonPerformanceMessage is provided in the SECTOR schema.
-->
<!-- version 2.2.1 from 14/06/2018 -->
<!--
1) CR 87 / ERA 444: Information on connecting services and their direction should be provided by defining two new type codes “Connecting service to other train” and “Connecting service from other train” (definition according to type codes 0044/0045). Affected element: TrainActivity, description - no functional change.
2) CR 88 / ERA 445: DerailmentDetectionDevice element added. New type (enumerated code list) created. CHANGE ON THE CODE LIST: DerailmentDetectionDeviceEnumeration added,
3) CR 89 / ERA 446: Extension of the NormalLoadingGauge code list.
4) CR79 / ERA 443: Add an optional element RequestedCalendar in the PathInformation.
This calendar will indicate the dates of the request to which that path is answering. Its value is a subset of the PlannedCalendar which was sent in the PathRequest message.
In case the element is not present, the RequestedCalendar is assumed to be strictly identical to the PlannedCalendar provided in the TrainInfomation (no offset). Affected messages: Path Reqiest, Path Details, Path Coordination (sector message).
New global element RequestedCalendar is created. It is now the optional element of the PathInformation.
5) CR93 : RouteClass code list error fixed: the empty pattern indication is removed.
6) CR 86 (sector-only): make TrainInformation and PathInformation in PathCoordinationMessage optional. During the harmonization phase, the messages between RUs contain usually only the TrainInformation. During the path elaboration phase (after path request, before path offer), the IMs usually exhange only PathInformation. Also, during the planning process, the companies indicate their acceptance of the dossier by sending only the TypeOfInformation, where the details of the whole train and / or path are not relevant. Therefore, both TrainInformation and PathInformation may become optional.
7) CR85 (sector-only): In the PassengerTrainCompositionProcessMessage, the Lenth (expressed in mm) used in TrainDataPassenger is replaced by TrainLength (expressed in m)
8) CR84 (sector-only): Identification of the RollingStockType and the RollingStockIdentification in the PassengersTrainCompositionProcessMessage was provided in the "choice" structure: one could choose only one or another element but not both. The use cases show that there is a need to have both identification elements at the same time. Therefore, the structure "choice" is changed to the structure "sequence". Both elements are set as optional, but the sequence is mandatory.
-->
<!-- version 2.2.2 from 21/06/2018 -->
<!--
Alignment with ERA 2.2.2 (implementing ERA CR 439): Fixing the error found in ConsignmentOrderMessage in RouteCode: the wrong pattern was used \d*(1-9)\d*0, and it is replaced by the correct one: \d*[1-9]\d*0
-->
<!-- version 2.2.3 from 07/12/2018 -->
<!--
Change Requests approved on ERA TAF/TAP CCM WP on 2018-11-15 are reflected in this version.
1) CR: SMO ID 72, ERA ID 453: BitmapDays of calendar used in Path Request related messages changed to 740. Affected messages: all path-request related messages
2) CR: SMO ID 95, ERA 459: Correction of value range of element AirBrakedMass. Affected: RSRD messages
3) CR: SMO ID 101, ERA ID 460 Identification of Affected Section. Affected messages: PathSectionNotification, PathCancelation, PathConfirmed, PathDetailsRefused
4) CR: SMO ID 91, ERA ID 457 ErrorMessage : to add an optional element in ErrorCauseReference tag. Affected: ErrorMessage
5) CR: SMO ID 90, ERA ID 456 ReceiptConfirmationMessage : to add an optional element in RelatedReference tag. Affected: ReceiptConfirmationMessage
6) CR: SMO ID 73, ERA ID 454 Unified use of the element “ LocoTypeNumber”. IMPORTANT: Fundamental element structure change. Affected: TrainCompositionMessage, PathRequest, PathDetails, PathCoordination, ObjectInfo
7) CR: SMO ID 52: (Sector Only): ObjectInfoMessage adaptation with multiple TrainInformation and PathInformation blocks. Affected: ObjectInfoMessage
8) CR: SMO ID 119: (Sector Only): Identification of the Rolling Stock in the PassengersTrainCompositionProcessMessage by both the EVN and RollingStockType + RollingStockIdentification. Affected: PassengerTrainCompositionProcessMessage
-->
<!-- version 2.2.4 from 22/05/2019 -->
<!--
Change Requests approved on ERA TAF/TAP CCM WP on 2019-05-22 are reflected in this version.
1) CR: SMO ID: 125, ERA ID 472 Update of TrainCompositionMessage with complex TrainActivityType
2) CR: SMO ID: 126, ERA ID 473 Correction of Error: Requested Calendar BitmapDays
3) CR: SMO ID: 124, ERA ID 474 New TypeOfInformation for acceptance and rejection of Draft and Final offer
4) CR: SMO ID: 114, ERA ID 475 Specification for number in “message type” for national messages
5) CR: SMO ID: 127, ERA ID 477 Addition of a Related Identifier Section in TrainRunningForecast and Information
6) CR: SMO ID: 128, ERA ID 478 Cancellation of train object
7) CR: SMO ID: 99, ERA ID 480 Change of annotation of data type “Time” in xsd
8) CR: SMO ID: 111, ERA ID 482 Change of process to reject path offer
9) CR: SMO ID: 102, ERA ID 485 Identification of a Section (Operation)
10) CR: SMO ID: 140, ERA ID / Error in pattern for LocoTypeNumber
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://taf-jsg.info/schemes" xmlns:dcterms="http://purl.org/dc/terms/" targetNamespace="http://taf-jsg.info/schemes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.2.4">
<xs:include schemaLocation="taf_cat_codelists_sector.xsd"/>
<xs:annotation>
<xs:appinfo>
<dcterms:title>TAF TSI - message exchange.</dcterms:title>
<dcterms:description>This schema defines messages for the TAF TSI.</dcterms:description>
<dcterms:creator>European Railway Agency. mailto:taf_tsi@era.europa.eu</dcterms:creator>
<dcterms:coverage>European Union</dcterms:coverage>
<dcterms:created>2015-10-05</dcterms:created>
<dcterms:type>text/xml</dcterms:type>
<dcterms:subject>Transport, Freight Transport, Rail</dcterms:subject>
<dcterms:identifier>{http://www.era.europa.eu/schemes/TAFTSI}taf_cat_complete.xsd</dcterms:identifier>
<dcterms:language>en</dcterms:language>
<dcterms:publisher>ERA European Railway Agency, 120 rue Marc Lefrancq, 59307 Valenciennes Cedex, http://www.era.europa.eu/</dcterms:publisher>
<dcterms:rights>Unclassified</dcterms:rights>
<dcterms:rightsHolder>European Railway Agency</dcterms:rightsHolder>
<dcterms:copyright>ERA 2015</dcterms:copyright>
<dcterms:status>Draft</dcterms:status>
</xs:appinfo>
</xs:annotation>
<!-- Sector part begin -->
<!-- version 2.2.3. from the 07/12/2018 SMO version -->
<xs:element name="AirBrakeSpecialCharacteristic" type="xs:string">
<xs:annotation>
<xs:documentation>Special characteristic of an air brake system (e.g. two or more steps brake)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssociatedTrain">
<xs:annotation>
<xs:documentation>Train from which comes or in which continues a rolling stock incorporated in the considered train</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element ref="TransportOperationalIdentifiers"/>
<xs:element ref="PlannedTransportIdentifiers"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Association">
<xs:annotation>
<xs:documentation>Indicates the location of association/disassociation of a rolling stock and the identification of the concerned train </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="AssociatedTrain" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="AssociationLocation" minOccurs="0"/>
<xs:element ref="ComesFromContinuesInIndicator" minOccurs="0"/>
<xs:element ref="OperationalTrainNumberIdentifier" minOccurs="0"/>
<xs:element ref="ReferenceOTN" minOccurs="0"/>
<xs:element ref="TransferPoint" minOccurs="0"/>
<xs:element ref="TransfereeIM" minOccurs="0"/>
<xs:element ref="RetailServiceID" minOccurs="0">
<xs:annotation>
<xs:documentation>Retail Train Number written on the ticket</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssociationVehicleTrainPosition" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Indicates the expected value of the VehicleTrainposition the rolling stock will take in the associated train the rolling stock will continue in. Or the VehicleTrainposition the rolling stock had in the associated train the rolling stock came from. NOTE: the AssociationVehicleTrainPosition will follow the direction of the associated train.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssociationLocation" type="LocationIdent">
<xs:annotation>
<xs:documentation>Indicates the location of association/disassociation of a rolling stock</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AvailabilityFrom" type="LocationIdent">
<xs:annotation>
<xs:documentation>Location from where a service is available</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AvailabilityTo" type="LocationIdent">
<xs:annotation>
<xs:documentation>Location to where a service is available</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoachOrTrainsetCommercialData">
<xs:annotation>
<xs:documentation>Information used by the passenger to find its train or the vehicle in which he will travel</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="RetailServiceID">
<xs:annotation>
<xs:documentation>Train number written on the ticket</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="6"/>
<xs:pattern value=""/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CommercialNumberOfVehicle" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Reservation number of a vehicle indicated on the ticket</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CommercialTrafficType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ComesFromContinuesInIndicator" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates if the rolling stock comes from a train or continues in another train</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CommercialService">
<xs:annotation>
<xs:documentation>Additional service offered in a train</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="CommercialServiceCode" minOccurs="0"/>
<xs:element ref="AvailabilityFrom" minOccurs="0"/>
<xs:element ref="AvailabilityTo" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CommercialServiceCode">
<xs:annotation>
<xs:documentation>Code of the additional service offered in a train</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="01 electronic seat reservation mandatory"/>
<xs:enumeration value="02 electronic seat reservation possible"/>
<xs:enumeration value="03 silence comsectionment"/>
<xs:enumeration value="04 silence comsectionment"/>
<xs:enumeration value="05 comsectionment for families"/>
<xs:enumeration value="06 comsectionement for women"/>
<xs:enumeration value="07 nursery in use"/>
<xs:enumeration value="08 bike accepted for free"/>
<xs:enumeration value="09 bike accepted against paiement"/>
<xs:enumeration value="10 comsectionment for train staff"/>
<xs:enumeration value="11 comsectionment "/>
<xs:enumeration value="12 passport comsectionement"/>
<xs:enumeration value="13 comsectionement for PRM"/>
<xs:enumeration value="14 journey where seats are in sleeping position"/>
<xs:enumeration value="15 empty and not in service coach"/>
<xs:enumeration value="16 coach with seats not in standard use"/>
<xs:enumeration value="17 cars loaded against direction of travel"/>
<xs:enumeration value="18 cars loaded in direction of travel"/>
<xs:enumeration value="19 rail courier / rail postal service"/>
<xs:enumeration value="20 reduced number of seats for reservation"/>
<xs:enumeration value="21 dining car or bar in service"/>
<xs:enumeration value="22 mobile dining service "/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CompositionStartOrChangeLocation" type="LocationIdent">
<xs:annotation>
<xs:documentation>The location of the most recent change of composition</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateTimeOfRestriction" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Date and time when the restriction or defect is detected</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DriverIndication" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates if a driver is operating the rolling stock</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EuropeanVehicleNumber">
<xs:annotation>
<xs:documentation>Number on 12 digits allocated to each rail vehicle to uniquely identify it from any other rail vehicle</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12"/>
<xs:minLength value="12"/>
<xs:pattern value="[0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InformationToBeDisplayed">
<xs:annotation>
<xs:documentation>Information for passengers displayed in the stations or in public timetables</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="01 First-class seats vehicle"/>
<xs:enumeration value="02 First-class couchettes vehicle"/>
<xs:enumeration value="03 First-class sleepers vehicle"/>
<xs:enumeration value="04 Second-class seats vehicle"/>
<xs:enumeration value="05 Second-class couchettes vehicle"/>
<xs:enumeration value="06 Second-class sleepers vehicle"/>
<xs:enumeration value="07 Second-class reclining seats vehicle"/>
<xs:enumeration value="08 Panorama vehicle"/>
<xs:enumeration value="09 Dining vehicle"/>
<xs:enumeration value="10 Bar/Bistro vehicle"/>
<xs:enumeration value="11 Mobile dining service"/>
<xs:enumeration value="12 Cars loaded"/>
<xs:enumeration value="13 Cars loaded against direction of travel"/>
<xs:enumeration value="14 Cars loaded in direction of travel"/>
<xs:enumeration value="15 Non-smoking vehicle"/>
<xs:enumeration value="16 Vehicle with smoking compartments"/>
<xs:enumeration value="17 Vehicle with PRM access"/>
<xs:enumeration value="18 Silence vehicle"/>
<xs:enumeration value="19 Vehicle with child/family facilities"/>
<xs:enumeration value="20 Vehicle with compartments reserved for women"/>
<xs:enumeration value="21 Bike accepted"/>
<xs:enumeration value="22 Bike accepted for free"/>
<xs:enumeration value="23 Bike accepted against paiement"/>
<xs:enumeration value="24 Special vehicle"/>
<xs:enumeration value="25 Telephone"/>
<xs:enumeration value="26 Wifi"/>
<xs:enumeration value="27 Service vehicle"/>
<xs:enumeration value="28 Train staff available in this vehicle"/>
<xs:enumeration value="29 Not in service vehicle"/>
<xs:enumeration value="30 With supplement"/>
<xs:enumeration value="31 Reservation compulsory"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InternalFittingDefect">
<xs:complexType>
<xs:sequence>
<xs:element ref="InternalFittingDefectCode"/>
<xs:element ref="FreeTextField"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InternalFittingDefectCode">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
<xs:enumeration value="09"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
<xs:enumeration value="12"/>
<xs:enumeration value="13"/>
<xs:enumeration value="14"/>
<xs:enumeration value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InternalVehicleFacility">
<xs:annotation>
<xs:documentation>Facility offered in a rolling stock</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="01 PRM (generic): Equipements for PRM"/>
<xs:enumeration value="02 PRM: number of equipments"/>
<xs:enumeration value="03 PRM: fit for wheelchair"/>
<xs:enumeration value="04 PRM: adapted toilets"/>
<xs:enumeration value="10 boxes for bicycles"/>
<xs:enumeration value="11 non-smoking vehicle"/>
<xs:enumeration value="12 sound system available"/>
<xs:enumeration value="13 box for conductor"/>
<xs:enumeration value="14 smoking compartment"/>
<xs:enumeration value="15 dining car"/>
<xs:enumeration value="16 number of business class seats"/>
<xs:enumeration value="17 number if first class seats"/>
<xs:enumeration value="18 number of second class seats"/>
<xs:enumeration value="19 number of seats with reclining position"/>
<xs:enumeration value="20 number of sleeping places"/>
<xs:enumeration value="21 compartment for children"/>
<xs:enumeration value="22 service vehicle"/>
<xs:enumeration value="23 status of vehicle (open/closed to clients)"/>
<xs:enumeration value="24 panorama vehicle"/>
<xs:enumeration value="25 vehicle with business compartments"/>
<xs:enumeration value="26 lounge first class"/>
<xs:enumeration value="27 lounge second class"/>
<xs:enumeration value="28 vehicle with conference compartment"/>
<xs:enumeration value="29 bistro vehicle"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ItineraryOfRollingStock">
<xs:annotation>
<xs:documentation>Itinerary of a rolling stock incorporated in the considered train</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Origin" minOccurs="0"/>
<xs:element ref="Destination" minOccurs="0"/>
<xs:element ref="Association" minOccurs="0" maxOccurs="2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="JourneySectionDestination">
<xs:annotation>
<xs:documentation>Destination of the section on which train composition is unchanged</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="LocationIdent">
<xs:sequence minOccurs="0">
<xs:element ref="BookedLocationDateTime" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="JourneySectionOrigin">
<xs:annotation>
<xs:documentation>Origin of the section on which train composition is unchanged</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="LocationIdent">
<xs:sequence minOccurs="0">
<xs:element ref="BookedLocationDateTime" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Keeper" type="CompanyCode">
<xs:annotation>
<xs:documentation>The person, who being the owner or having the right to dispose of it, exploits a vehicle economically in a permanent manner as a means of transport and is registered as such in the Rolling Stock Register.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationOfRestrictionDetection">
<xs:annotation>
<xs:documentation>Location where the restriction or defect is detected</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="Location"/>
<xs:element ref="DateTimeOfRestriction"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ObjectInfoMessage">
<xs:annotation>
<xs:documentation>This message serves to request an information about the object, to update an information in an object, and to inform about the content of the object.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="MessageHeader"/>
<xs:element ref="MessageStatus"/>
<xs:element ref="AdministrativeContactInformation"/>
<xs:element name="Identifier" type="CompositIdentifierPlannedType"/>
<xs:element name="ObjectInfoType">
<xs:annotation>
<xs:documentation>The type of action which has to be executed regarding the object (coded through attribute):
R = request info about object
I = Information about object
U = update information on object</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Code" use="required">
<xs:annotation>
<xs:documentation>R = request info about object
I = Information about object
U = update information on object</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="R"/>
<xs:enumeration value="I"/>
<xs:enumeration value="U"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="TrainInformationExtended" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="PlannedTransportIdentifiers"/>
<xs:element ref="TrainInformation"/>
<xs:element name="PathInformationExtended" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="PlannedTransportIdentifiers"/>
<xs:element ref="PathInformation"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PathInformationExtended" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element ref="PlannedTransportIdentifiers" minOccurs="0"/>
<xs:element ref="PathInformation"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="FreeTextField" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Origin" type="LocationIdent">
<xs:annotation>
<xs:documentation>Origin of the itinerary of a rolling stock incorporated in the considered train</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OtherPassengerRestrictionOrDefect">
<xs:complexType>
<xs:sequence>
<xs:element ref="RestrictionOrDefectCode"/>
<xs:element ref="RestrictionOrDefectValue"/>
<xs:element ref="FreeTextField"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PartJourney">
<xs:complexType>
<xs:sequence>
<xs:element ref="StartLocation"/>
<xs:element ref="EndLocation"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PassengerJourneySectionOrigin">
<xs:annotation>
<xs:documentation>Origin of the section on which train composition is unchanged with relevant date or calendar</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="JourneySectionOrigin"/>
<xs:element ref="SectionDepartureDate" minOccurs="0"/>
<xs:element ref="SectionDepartureTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Departure time at the origin of the section</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PlannedCalendar" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PassengerTrainCompositionProcessMessage">
<xs:annotation>
<xs:documentation>This message is sent from an RU to an IM defining the composition of the proposed train.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="MessageHeader"/>
<xs:element ref="MessageStatus"/>
<xs:choice>
<xs:element ref="PlannedTransportIdentifiers" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="TransportOperationalIdentifiers" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:element ref="OperationalTrainNumberIdentifier" minOccurs="0"/>
<xs:element ref="ReferenceOTN" minOccurs="0"/>
<xs:element ref="TransfereeIM" minOccurs="0"/>
<xs:element ref="TransferPoint" minOccurs="0"/>
<xs:element ref="TrainDepartureStation" minOccurs="0"/>
<xs:element ref="TrainDestinationStation" minOccurs="0"/>
<xs:element ref="TrainCompositionJourneySectionPassenger" maxOccurs="unbounded"/>
<xs:element ref="Parameters" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="Remarks" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PassengerTrainRunningData">
<xs:complexType>
<xs:sequence>
<xs:element ref="TrainRunningTechData"/>
<xs:element ref="ExceptionalGaugingInd" minOccurs="0"/>
<xs:element ref="DangerousGoodsIndication" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PassengerTransportRestriction">
<xs:complexType>
<xs:sequence>
<xs:element ref="TransportRestrictionCode"/>
<xs:element ref="TransportRestrictionValue"/>
<xs:element ref="FreeTextField"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PathCoordinationMessage">
<xs:annotation>
<xs:documentation>This message is used for exchange of information between RUs and between IMs for coordination and data synchronization purposes</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="MessageHeader"/>
<xs:element ref="AdministrativeContactInformation"/>
<xs:element ref="Identifiers" minOccurs="0"/>
<xs:element ref="MessageStatus"/>
<xs:element ref="ReceivedOnTime" minOccurs="0"/>
<xs:element ref="TypeOfRUHarmonization" minOccurs="0"/>
<xs:element ref="TypeOfIMHarmonization" minOccurs="0">
<xs:annotation>
<xs:documentation>Enumeration of Type of IM harmonization: Full, Part
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="LeadRU" minOccurs="0"/>
<xs:element ref="CoordinatingIM" minOccurs="0">
<xs:annotation>
<xs:documentation>Proposal from the RU, IM's will decide who will take the role.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TypeOfRequest">
<xs:annotation>
<xs:documentation>1=Path Study, 2=Path Request, 3=Path Modification needs to be indicated</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TypeOfInformation"/>
<xs:element ref="TrainInformation" minOccurs="0"/>
<xs:element ref="PathInformation" minOccurs="0"/>
<xs:element ref="NetworkSpecificParameter" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="RevisedRequest" minOccurs="0"/>
<xs:element ref="FreeTextField" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PathSectionNotificationMessage">
<xs:annotation>
<xs:documentation>This message is used for notification about the usage of path sections during the planning and operational phase for coordination and data synchronization purposes between RUs and IMs</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="MessageHeader"/>
<xs:element ref="AdministrativeContactInformation"/>
<xs:element ref="Identifiers" minOccurs="0"/>
<xs:element ref="MessageStatus"/>
<xs:element ref="TypeOfRequest" minOccurs="0"/>
<xs:element ref="TypeOfInformation" minOccurs="0"/>
<xs:element ref="LeadRU" minOccurs="0"/>
<xs:element ref="CoordinatingIM" minOccurs="0">
<xs:annotation>
<xs:documentation>Proposal from the RU, IM's will decide who will take the role.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TypeOfIMHarmonization" minOccurs="0">
<xs:annotation>
<xs:documentation>Enumeration of Type of IM harmonization: Full, Part
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TypeOfRUHarmonization" minOccurs="0"/>
<xs:element ref="NetworkSpecificParameter" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="AffectedSection" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Indication for the recepient if not the entire path is affected, e.g. in case of a partial cancelation for the last part of the path</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InterruptionInformation" minOccurs="0"/>
<xs:element ref="FreeTextField" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ScheduledDateTimeAtTransfer" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReceivedOnTime"/>
<xs:element name="ResponsibilityActualSectionPassenger">
<xs:annotation>
<xs:documentation>This element identifies the responsible RU or IM for the actual path section</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ResponsibleRU"/>
<xs:element ref="ResponsibleIM" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ResponsibilityNextSectionPassenger">
<xs:annotation>
<xs:documentation>This element identifies the responsible RU and IM for the following path section</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="ResponsibleRU" minOccurs="0"/>
<xs:element ref="ResponsibleIM" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RestrictionOrDefectCode"/>
<xs:element name="RestrictionOrDefectValue" type="xs:string"/>
<xs:element name="RetailServiceID" type="xs:string">
<xs:annotation>
<xs:documentation>Train number used for passenger information (indicated on the ticket, displayed on screens in station, etc.)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RollingStockIdentification">
<xs:annotation>
<xs:documentation>Code used to identify a vehicle or a trainset</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="EuropeanVehicleNumber" minOccurs="0"/>
<xs:element name="TrainsetID" minOccurs="0">
<xs:annotation>
<xs:documentation>Coding used to identify uniquely a trainset</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RollingStockRestrictionMessage">
<xs:annotation>
<xs:documentation>Message used for passenger trains when the restrictions and defects are sent sent within the Passenger Train Composition Process message</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="MessageHeader"/>
<xs:element ref="MessageStatus"/>
<xs:element ref="TransportOperationalIdentifiers" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="OperationalTrainNumberIdentifier"/>
<xs:element ref="ReferenceOTN" minOccurs="0"/>
<xs:element ref="TransfereeIM" minOccurs="0"/>
<xs:element ref="TransferPoint" minOccurs="0"/>
<xs:element ref="LocationOfRestrictionDetection" minOccurs="0"/>
<xs:element ref="RollingStockIdentification"/>
<xs:element ref="TechnicalPassengerRollingStockRestriction"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RollingStockTechnicalData">
<xs:annotation>
<xs:documentation>This element shows the rolling stock relevant technical data for the rolling stock within a running train</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="NumberOfAxles" minOccurs="0"/>
<xs:element ref="WagonMaxSpeed" minOccurs="0"/>
<xs:element ref="LengthOverBuffers" minOccurs="0"/>
<xs:element ref="WagonWeightEmpty" minOccurs="0"/>
<xs:element ref="TotalLoadWeight" minOccurs="0"/>
<xs:element ref="LoadingGauge" minOccurs="0"/>
<xs:element ref="ExceptionalGaugingProfile" minOccurs="0"/>
<xs:element ref="ExceptionalGaugingIdent" minOccurs="0"/>
<xs:element ref="TypeOfHeating" minOccurs="0"/>
<xs:element ref="HandBrake" minOccurs="0"/>
<xs:element ref="AirBrake" minOccurs="0"/>
<xs:element ref="AirBrakeSpecialCharacteristic" minOccurs="0"/>
<xs:element ref="CouplingType" minOccurs="0"/>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref="BrakeType"/>
<xs:element ref="BrakeWeight"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SectionDepartureDate" type="xs:date">
<xs:annotation>
<xs:documentation>Departure date at the origin of the section</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SectionDepartureTime" type="xs:time"/>
<xs:element name="SpecialServiceDescription">
<xs:annotation>
<xs:documentation>Special Service provided in a Train according to TAP Code List B.4.7161</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="SpecialServiceDescriptionCode" minOccurs="0"/>
<xs:element ref="AvailabilityFrom" minOccurs="0"/>
<xs:element ref="AvailabilityTo" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TechnicalPassengerRollingStockRestriction">
<xs:annotation>
<xs:documentation>Set of restrictions or defects related to the rolling stock</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="PassengerTransportRestriction" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Restriction that can prevent the ability of the train to run according the path</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TransportRestrictionCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="07 Shunt only when hand brake operable with ground staff"/>
<xs:enumeration value="08 Tank wagon loaded with liquid"/>
<xs:enumeration value="09 Wagon loaded with people"/>
<xs:enumeration value="11 Wagon other than bogie wagon with wheelbase of more than 9 metres"/>
<xs:enumeration value="12 Bogie wagon with distance between wheels of more than 14 metres and up to and including a distance of 17,50 metres"/>
<xs:enumeration value="13 Bogie wagon with distance between wheels of more than 17,50 metres"/>
<xs:enumeration value="15 Wagon not allowed over the hump"/>
<xs:enumeration value="16 Do not fly shunt or gravity shunt (3 red triangles)"/>
<xs:enumeration value="18 Must not use active braking equipment"/>
<xs:enumeration value="25 Gas carrying tank wagon with orange side stripe"/>
<xs:enumeration value="29 Driving safety equipment fault (e.g. event recorder)"/>
<xs:enumeration value="30 CCS fault (see CCS coding list)"/>
<xs:enumeration value="31 Braking system fault"/>
<xs:enumeration value="32 Wheelset, bogie fault"/>
<xs:enumeration value="33 Headlighting or back lighting fault"/>
<xs:enumeration value="34 Front glass broken"/>
<xs:enumeration value="35 Horn fault"/>
<xs:enumeration value="36 Radio fault"/>
<xs:enumeration value="37 Energy supply fault"/>
<xs:enumeration value="38 Traction or motor fault"/>
<xs:enumeration value="39 Access door fault"/>
<xs:enumeration value="40 Coupling device fault"/>
<xs:enumeration value="41 Place this wagon at the front of the train"/>
<xs:enumeration value="42 Place this wagon at the rear of the train"/>
<xs:enumeration value="50 Speed restriction"/>
<xs:enumeration value="51 Diesel locomotive instead of electric locomotive"/>
<xs:enumeration value="52 Electric locomotive instead of diesel locomotive"/>
<xs:enumeration value="61 Wagon forming part of a consignment of several wagons"/>
<xs:enumeration value="62 Wagon forming part of a group of wagons from which it must not be separated"/>
<xs:enumeration value="63 Special consignment or (for passengers trains) loading/cinematical gauge larger than the planned one"/>
<xs:enumeration value="68 First or last wagon of a wagon group from which it must not be separated"/>
<xs:enumeration value="70 Shunt with care (1 red triangle)"/>
<xs:enumeration value="71 Shunt with special care (2 red triangle)"/>
<xs:enumeration value="90 Vehicle/trainset planned with passengers operated without passengers"/>
<xs:enumeration value="91 Vehicle/trainset planned without passengers operated with passengers"/>
<xs:enumeration value="92 Train planned with hauled rolling stock and operated without any coaches (light engine)"/>
<xs:enumeration value="94 Gas carrying wagon without orange side stripe"/>
<xs:enumeration value="99 Other"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TransportRestrictionValue" type="xs:string" minOccurs="0"/>
<xs:element ref="FreeTextField" minOccurs="0"/>
<xs:element name="ActiveRestriction" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InternalFittingDefect" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defect which affects the level of comfort of the passengers</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="InternalFittingDefectCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="01 Lighting (totally out)"/>
<xs:enumeration value="02 Window pane broken"/>
<xs:enumeration value="03 Intercom fault"/>
<xs:enumeration value="04 Public-address system (incl. WiFi) fault"/>
<xs:enumeration value="05 Seats, berths"/>
<xs:enumeration value="06 Heating, air conditioning"/>
<xs:enumeration value="07 Toilets"/>
<xs:enumeration value="08 Water supply"/>
<xs:enumeration value="09 Bar/Restaurant equipments"/>
<xs:enumeration value="10 Spotting"/>
<xs:enumeration value="11 No reservation signs in the vehicle"/>
<xs:enumeration value="12 Facilities for bike transport missing/limited"/>
<xs:enumeration value="13 PRM accessible device missing/out of order"/>
<xs:enumeration value="99 Other"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="FreeTextField" minOccurs="0"/>
<xs:element name="ActiveRestriction" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OtherPassengerRestrictionOrDefect" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>List of restrictions or defects referring to national rules (or multilateral agreed rules)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="RestrictionOrDefectCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="4"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RestrictionOrDefectValue" type="xs:string" minOccurs="0"/>
<xs:element ref="FreeTextField" minOccurs="0"/>
<xs:element name="ActiveRestriction" type="xs:boolean" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="TiltingFunction" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates if a rolling stock is fitted with a tilting system</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Traction">
<xs:complexType>
<xs:sequence>
<xs:element ref="TractionDetails" minOccurs="0" maxOccurs="24"/>
<xs:element ref="BrakeWeight" minOccurs="0"/>
<xs:element ref="HandBrake" minOccurs="0"/>
<xs:element ref="NumberOfAxles" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TrainCompositionJourneySectionPassenger">
<xs:annotation>
<xs:documentation>Defines the make up of a train for each section of its journey</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="PassengerJourneySectionOrigin"/>
<xs:element ref="JourneySectionDestination"/>
<xs:element ref="ResponsibilityActualSectionPassenger"/>
<xs:element ref="ResponsibilityNextSectionPassenger" minOccurs="0"/>
<xs:element ref="TrainDataPassenger" minOccurs="0"/>
<xs:element ref="TrainCompositionPassenger"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TrainCompositionPassenger">
<xs:annotation>
<xs:documentation>Defines the rules of train composition description and the list of vehicles</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TrainDescriptionManner">
<xs:annotation>
<xs:documentation>Manner of describing the composition, by vehicle (locomotive or coach), by vehicle in a trainset (including the power car) or by Trainset (as a whole). 1=Vehicle, 2=Vehicle in Trainset 3=Trainset</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>