railML 2.2 Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.railml.org/schemas/2013
Version 2.2
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):
Documentation Copyright (c) railML.org; All Rights Reserved.

This work is licensed under a Creative Commons Attribution 2.0 License. http://www.railml.org/index.php/license.html

For further information see: http://www.railml.org/

Content of this file: XML Schema for railML(R) 2.2 Definition of simple types, which represent railway specific units of measure and enumeration lists, used by all sub schemas

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
rail http://www.railml.org/schemas/2013
Schema Component Representation
<xs:schema targetNamespace="http://www.railml.org/schemas/2013" elementFormDefault="qualified" version="2.2">
<xs:include schemaLocation="physicalUnits.xsd"/>
...
</xs:schema>
top

Global Definitions

Simple Type: tDelimitedDirection

Super-types: xs:string < tLaxDirection (by restriction) < tDelimitedDirection (by restriction)
Sub-types: None
Name tDelimitedDirection
Content
  • Base XSD Type: string
  • value comes from list: {'up'|'down'|'unknown'|'none'|'both'}
  • value comes from list: {'up'|'down'|'unknown'}
Documentation generic type for more constrained direction statements
Schema Component Representation
<xs:simpleType name="tDelimitedDirection">
<xs:restriction base="rail:tLaxDirection">
<xs:enumeration value="up"/>
<xs:enumeration value="down"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tEffortNewton

Super-types: rail:tForceNewton < tEffortNewton (by restriction)
Sub-types: None
Name tEffortNewton
Content
  • 'tForceNewton' super type was not found in this schema. Its facets could not be printed out.
Documentation generic type for effort values measured in newton
Schema Component Representation
<xs:simpleType name="tEffortNewton">
<xs:restriction base="rail:tForceNewton"/>
</xs:simpleType>
top

Simple Type: tEtcsTrainCategory

Super-types: xs:integer < tEtcsTrainCategory (by restriction)
Sub-types: None
Name tEtcsTrainCategory
Content
  • Base XSD Type: integer
  • 0 <= value <= 15
Documentation the international train category number as specified on page 38 in ERA_ERTMS_040001 "Assignment of values to ETCS variables" v1.9 from 10/07/12
Schema Component Representation
<xs:simpleType name="tEtcsTrainCategory">
<xs:restriction base="xs:integer">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="15"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tExtendedDirection

Super-types: xs:string < tLaxDirection (by restriction) < tExtendedDirection (by restriction)
Sub-types: None
Name tExtendedDirection
Content
  • Base XSD Type: string
  • value comes from list: {'up'|'down'|'unknown'|'none'|'both'}
  • value comes from list: {'up'|'down'|'unknown'|'none'}
Documentation generic type for more constrained direction statements
Schema Component Representation
<xs:simpleType name="tExtendedDirection">
<xs:restriction base="rail:tLaxDirection">
<xs:enumeration value="up"/>
<xs:enumeration value="down"/>
<xs:enumeration value="unknown"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tFlowDirection

Super-types: None
Sub-types: None
Name tFlowDirection
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'in'|'out'|'both'|'unknown'}
    • Locally defined type:
      • 'tOtherEnumerationValue' super type was not found in this schema. Its facets could not be printed out.
Documentation extensible generic type for flow statements
Schema Component Representation
<xs:simpleType name="tFlowDirection">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="in"/>
<xs:enumeration value="out"/>
<xs:enumeration value="both"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="rail:tOtherEnumerationValue"/>
</xs:simpleType>
</xs:union>
</xs:simpleType>
top

Simple Type: tLaxDirection

Super-types: xs:string < tLaxDirection (by restriction)
Sub-types:
Name tLaxDirection
Content
  • Base XSD Type: string
  • value comes from list: {'up'|'down'|'unknown'|'none'|'both'}
Documentation generic type for direction statements
Schema Component Representation
<xs:simpleType name="tLaxDirection">
<xs:restriction base="xs:string">
<xs:enumeration value="up"/>
<xs:enumeration value="down"/>
<xs:enumeration value="unknown"/>
<xs:enumeration value="none"/>
<xs:enumeration value="both"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tMeterload

Super-types: xs:decimal < tMeterload (by restriction)
Sub-types:
Name tMeterload
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 3
Documentation applies as basic type for inheritance, should not be used directly because of missing unit of measure
Schema Component Representation
<xs:simpleType name="tMeterload">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3" fixed="true"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tMeterloadTonsPerMeter

Super-types: xs:decimal < tMeterload (by restriction) < tMeterloadTonsPerMeter (by restriction)
Sub-types: None
Name tMeterloadTonsPerMeter
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 3
Documentation generic type for load per meter values measured in ton per meter
Schema Component Representation
<xs:simpleType name="tMeterloadTonsPerMeter">
<xs:restriction base="rail:tMeterload"/>
</xs:simpleType>
top

Simple Type: tMileageDirection

Super-types: xs:string < tMileageDirection (by restriction)
Sub-types: None
Name tMileageDirection
Content
  • Base XSD Type: string
  • value comes from list: {'raising'|'falling'}
Documentation generic type for mileage direction statements
Schema Component Representation
<xs:simpleType name="tMileageDirection">
<xs:restriction base="xs:string">
<xs:enumeration value="raising"/>
<xs:enumeration value="falling"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tStrictDirection

Super-types: xs:string < tLaxDirection (by restriction) < tStrictDirection (by restriction)
Sub-types: None
Name tStrictDirection
Content
  • Base XSD Type: string
  • value comes from list: {'up'|'down'|'unknown'|'none'|'both'}
  • value comes from list: {'up'|'down'}
Documentation generic type for even more constrained direction statements as optional attributes
Schema Component Representation
<xs:simpleType name="tStrictDirection">
<xs:restriction base="rail:tLaxDirection">
<xs:enumeration value="up"/>
<xs:enumeration value="down"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tTrainAlignment

Super-types: xs:string < tTrainAlignment (by restriction)
Sub-types: None
Name tTrainAlignment
Content
  • Base XSD Type: string
  • value comes from list: {'head'|'center'|'rear'}
Documentation generic type for the alignment of a train relative to some objective in the used context
Schema Component Representation
<xs:simpleType name="tTrainAlignment">
<xs:restriction base="xs:string">
<xs:enumeration value="head"/>
<xs:enumeration value="center"/>
<xs:enumeration value="rear"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tTrainCategory

Super-types: xs:string < tTrainCategory (by restriction)
Sub-types: None
Name tTrainCategory
Content
  • Base XSD Type: string
Documentation generic type for category names of trains; allowing digits, letters and white spaces; length not limited
Schema Component Representation
<xs:simpleType name="tTrainCategory">
<xs:restriction base="xs:string"/>
</xs:simpleType>
top