element LocoTypeNumber
diagram taf_cat_complete_sector_p289.png
namespace http://taf-jsg.info/schemes
properties
content complex
children TypeCode1 TypeCode2 CountryCode SeriesNumber SerialNumber ControlDigit
used by
elements TrainCompositionJourneySection/LocoIdent TractionDetails
annotation
documentation
Composite identifier for the loco types and locomotives. First four elements identify the series of the loco, rest can identify the exact individual locomotive
source <xs:element name="LocoTypeNumber">
 
<xs:annotation>
   
<xs:documentation>Composite identifier for the loco types and locomotives. First four elements identify the series of the loco, rest can identify the exact individual locomotive</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="TypeCode1">
       
<xs:annotation>
         
<xs:documentation>Value is 9 as it's written in Part 0 of the Appendix 6 of the decision 2007/756</xs:documentation>
       
</xs:annotation>
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="1"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="1"/>
           
<xs:pattern value="[9]"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<xs:element name="TypeCode2">
       
<xs:annotation>
         
<xs:documentation>Type of tractive rolling stock as in Part 8 of the Appendix 6 of the decision 2007/756</xs:documentation>
       
</xs:annotation>
       
<!--In PCS the following types are differentiated: Electric, Diesel, Steam, Hybrid:-->
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="1"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="1"/>
           
<xs:pattern value="[0-9]"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<xs:element name="CountryCode">
       
<xs:annotation>
         
<xs:documentation>Numerical country code as in Part 4 of the Appendix 6 of the decision 2007/756</xs:documentation>
       
</xs:annotation>
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="2"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="2"/>
           
<xs:pattern value="[0-9]{2}"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<xs:element name="SeriesNumber">
       
<xs:annotation>
         
<xs:documentation>4 digits representing the type according to the country rules and based on the national vehicle register of the country indicated with the CountryCode</xs:documentation>
       
</xs:annotation>
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="4"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="4"/>
           
<xs:pattern value="[0-9]{4}"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<xs:element name="SerialNumber" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>3 digits representing the serial number of the traction of the series. Not used in Planning</xs:documentation>
       
</xs:annotation>
       
<!--Not necessary for Planning. Composite identifier should be unique with the series number inside one country:-->
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="3"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="3"/>
           
<xs:pattern value="[0-9]{3}"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
     
<xs:element name="ControlDigit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>1 control digit as usual at the end of the 12 digit UIC identifier. Not used in Planning</xs:documentation>
       
</xs:annotation>
       
<!--Not necessary for Planning. Composite identifier should be unique with the series number inside one country:-->
       
<xs:simpleType>
         
<xs:restriction base="xs:string">
           
<xs:minLength value="1"/>
           
<xs:whiteSpace value="replace"/>
           
<xs:maxLength value="1"/>
           
<xs:pattern value="[0-9]"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element LocoTypeNumber/TypeCode1
diagram taf_cat_complete_sector_p290.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
minLength 1
maxLength 1
whiteSpace replace
pattern [9]
annotation
documentation
Value is 9 as it's written in Part 0 of the Appendix 6 of the decision 2007/756
source <xs:element name="TypeCode1">
 
<xs:annotation>
   
<xs:documentation>Value is 9 as it's written in Part 0 of the Appendix 6 of the decision 2007/756</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="1"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="1"/>
     
<xs:pattern value="[9]"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element LocoTypeNumber/TypeCode2
diagram taf_cat_complete_sector_p291.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
minLength 1
maxLength 1
whiteSpace replace
pattern [0-9]
annotation
documentation
Type of tractive rolling stock as in Part 8 of the Appendix 6 of the decision 2007/756
source <xs:element name="TypeCode2">
 
<xs:annotation>
   
<xs:documentation>Type of tractive rolling stock as in Part 8 of the Appendix 6 of the decision 2007/756</xs:documentation>
 
</xs:annotation>
 
<!--In PCS the following types are differentiated: Electric, Diesel, Steam, Hybrid:-->
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="1"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="1"/>
     
<xs:pattern value="[0-9]"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element LocoTypeNumber/CountryCode
diagram taf_cat_complete_sector_p292.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
minLength 2
maxLength 2
whiteSpace replace
pattern [0-9]{2}
annotation
documentation
Numerical country code as in Part 4 of the Appendix 6 of the decision 2007/756
source <xs:element name="CountryCode">
 
<xs:annotation>
   
<xs:documentation>Numerical country code as in Part 4 of the Appendix 6 of the decision 2007/756</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="2"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="2"/>
     
<xs:pattern value="[0-9]{2}"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element LocoTypeNumber/SeriesNumber
diagram taf_cat_complete_sector_p293.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
minLength 4
maxLength 4
whiteSpace replace
pattern [0-9]{4}
annotation
documentation
4 digits representing the type according to the country rules and based on the national vehicle register of the country indicated with the CountryCode
source <xs:element name="SeriesNumber">
 
<xs:annotation>
   
<xs:documentation>4 digits representing the type according to the country rules and based on the national vehicle register of the country indicated with the CountryCode</xs:documentation>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="4"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="4"/>
     
<xs:pattern value="[0-9]{4}"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element LocoTypeNumber/SerialNumber
diagram taf_cat_complete_sector_p294.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minLength 3
maxLength 3
whiteSpace replace
pattern [0-9]{3}
annotation
documentation
3 digits representing the serial number of the traction of the series. Not used in Planning
source <xs:element name="SerialNumber" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>3 digits representing the serial number of the traction of the series. Not used in Planning</xs:documentation>
 
</xs:annotation>
 
<!--Not necessary for Planning. Composite identifier should be unique with the series number inside one country:-->
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="3"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="3"/>
     
<xs:pattern value="[0-9]{3}"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>

element LocoTypeNumber/ControlDigit
diagram taf_cat_complete_sector_p295.png
namespace http://taf-jsg.info/schemes
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
minLength 1
maxLength 1
whiteSpace replace
pattern [0-9]
annotation
documentation
1 control digit as usual at the end of the 12 digit UIC identifier. Not used in Planning
source <xs:element name="ControlDigit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>1 control digit as usual at the end of the 12 digit UIC identifier. Not used in Planning</xs:documentation>
 
</xs:annotation>
 
<!--Not necessary for Planning. Composite identifier should be unique with the series number inside one country:-->
 
<xs:simpleType>
   
<xs:restriction base="xs:string">
     
<xs:minLength value="1"/>
     
<xs:whiteSpace value="replace"/>
     
<xs:maxLength value="1"/>
     
<xs:pattern value="[0-9]"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:element>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy