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 general units of measure, 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="genericRailML.xsd"/>
...
</xs:schema>
top

Global Definitions

Simple Type: tAcceleration

Super-types: xs:decimal < tAcceleration (by restriction)
Sub-types:
Name tAcceleration
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="tAcceleration">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tAccelerationMeterPerSquareSec

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

Simple Type: tAngleDeg

Super-types: xs:decimal < tAngleDeg (by restriction)
Sub-types:
Name tAngleDeg
Content
  • Base XSD Type: decimal
  • -360 <= value <= 360
  • total no. of digits = 6
  • 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="tAngleDeg">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:totalDigits value="6"/>
<xs:minInclusive value="-360"/>
<xs:maxInclusive value="360"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tAngleDegFullCircle

Super-types: xs:decimal < tAngleDeg (by restriction) < tAngleDegFullCircle (by restriction)
Sub-types: None
Name tAngleDegFullCircle
Content
  • Base XSD Type: decimal
  • -360 <= value <= 360
  • total no. of digits = 6
  • no. of fraction digits = 3
  • -180 <= value <= 180
Documentation generic type for angle values measured in degree, allowing -180 ... +180
Schema Component Representation
<xs:simpleType name="tAngleDegFullCircle">
<xs:restriction base="rail:tAngleDeg">
<xs:minInclusive value="-180"/>
<xs:maxInclusive value="180"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tAngleDegQuadrant

Super-types: xs:decimal < tAngleDeg (by restriction) < tAngleDegQuadrant (by restriction)
Sub-types: None
Name tAngleDegQuadrant
Content
  • Base XSD Type: decimal
  • -360 <= value <= 360
  • total no. of digits = 6
  • no. of fraction digits = 3
  • 0 < value <= 90
Documentation generic type for angle values measured in degree, allowing 0 ... +90
Schema Component Representation
<xs:simpleType name="tAngleDegQuadrant">
<xs:restriction base="rail:tAngleDeg">
<xs:minExclusive value="0"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tArea

Super-types: xs:decimal < tArea (by restriction)
Sub-types:
Name tArea
Content
  • Base XSD Type: decimal
  • value >= 0
  • 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="tArea">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tAreaSquareMeter

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

Simple Type: tCurrent

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

Simple Type: tCurrentAmpere

Super-types: xs:decimal < tCurrent (by restriction) < tCurrentAmpere (by restriction)
Sub-types: None
Name tCurrentAmpere
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 1
Documentation generic type for electric current values measured in ampere
Schema Component Representation
<xs:simpleType name="tCurrentAmpere">
<xs:restriction base="rail:tCurrent"/>
</xs:simpleType>
top

Simple Type: tEnergy

Super-types: xs:decimal < tEnergy (by restriction)
Sub-types:
Name tEnergy
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="tEnergy">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tEnergyKiloWattHours

Super-types: xs:decimal < tEnergy (by restriction) < tEnergyKiloWattHours (by restriction)
Sub-types: None
Name tEnergyKiloWattHours
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 3
Documentation generic type for energy values measured in kilowatt*hour
Schema Component Representation
<xs:simpleType name="tEnergyKiloWattHours">
<xs:restriction base="rail:tEnergy"/>
</xs:simpleType>
top

Simple Type: tFlux

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

Simple Type: tFluxVoltSecond

Super-types: xs:decimal < tFlux (by restriction) < tFluxVoltSecond (by restriction)
Sub-types: None
Name tFluxVoltSecond
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 6
Documentation generic type for electric flux values measured in volt*second
Schema Component Representation
<xs:simpleType name="tFluxVoltSecond">
<xs:restriction base="rail:tFlux"/>
</xs:simpleType>
top

Simple Type: tForce

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

Simple Type: tForceNewton

Super-types: xs:decimal < tForce (by restriction) < tForceNewton (by restriction)
Sub-types: None
Name tForceNewton
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 0
Documentation generic type for force values measured in newton
Schema Component Representation
<xs:simpleType name="tForceNewton">
<xs:restriction base="rail:tForce"/>
</xs:simpleType>
top

Simple Type: tFrequency

Super-types: xs:decimal < tFrequency (by restriction)
Sub-types:
Name tFrequency
Content
  • Base XSD Type: decimal
  • value >= 0
  • 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="tFrequency">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tFrequencyHertz

Super-types: xs:decimal < tFrequency (by restriction) < tFrequencyHertz (by restriction)
Sub-types: None
Name tFrequencyHertz
Content
  • Base XSD Type: decimal
  • value >= 0
  • no. of fraction digits = 3
Documentation generic type for frequency values measured in hertz
Schema Component Representation
<xs:simpleType name="tFrequencyHertz">
<xs:restriction base="rail:tFrequency"/>
</xs:simpleType>
top

Simple Type: tGradient

Super-types: xs:decimal < tGradient (by restriction)
Sub-types:
Name tGradient
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="tGradient">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tGradientPromille

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

Simple Type: tInductance

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

Simple Type: tInductanceHenry

Super-types: xs:decimal < tInductance (by restriction) < tInductanceHenry (by restriction)
Sub-types: None
Name tInductanceHenry
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 6
Documentation generic type for inductance values measured in henry
Schema Component Representation
<xs:simpleType name="tInductanceHenry">
<xs:restriction base="rail:tInductance"/>
</xs:simpleType>
top

Simple Type: tLength

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

Simple Type: tLengthKM

Super-types: xs:decimal < tLength (by restriction) < tLengthKM (by restriction)
Sub-types: None
Name tLengthKM
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 6
Documentation generic type for length values measured in kilometer
Schema Component Representation
<xs:simpleType name="tLengthKM">
<xs:restriction base="rail:tLength"/>
</xs:simpleType>
top

Simple Type: tLengthM

Super-types: xs:decimal < tLength (by restriction) < tLengthM (by restriction)
Sub-types:
Name tLengthM
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 6
Documentation generic type for length values measured in meter
Schema Component Representation
<xs:simpleType name="tLengthM">
<xs:restriction base="rail:tLength"/>
</xs:simpleType>
top

Simple Type: tLengthMM

Super-types: xs:decimal < tLength (by restriction) < tLengthMM (by restriction)
Sub-types: None
Name tLengthMM
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 6
Documentation generic type for length values measured in millimeter
Schema Component Representation
<xs:simpleType name="tLengthMM">
<xs:restriction base="rail:tLength"/>
</xs:simpleType>
top

Simple Type: tPower

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

Simple Type: tPowerWatt

Super-types: xs:decimal < tPower (by restriction) < tPowerWatt (by restriction)
Sub-types: None
Name tPowerWatt
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 0
Documentation generic type for power values measured in watt
Schema Component Representation
<xs:simpleType name="tPowerWatt">
<xs:restriction base="rail:tPower"/>
</xs:simpleType>
top

Simple Type: tRadiusM

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

Simple Type: tResistance

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

Simple Type: tResistanceOhm

Super-types: xs:decimal < tResistance (by restriction) < tResistanceOhm (by restriction)
Sub-types: None
Name tResistanceOhm
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 4
Documentation generic type for electric resistance values measured in ohm
Schema Component Representation
<xs:simpleType name="tResistanceOhm">
<xs:restriction base="rail:tResistance"/>
</xs:simpleType>
top

Simple Type: tRotationalFrequency

Super-types: xs:positiveInteger < tRotationalFrequency (by restriction)
Sub-types:
Name tRotationalFrequency
Content
  • Base XSD Type: positiveInteger
Documentation applies as basic type for inheritance, should not be used directly because of missing unit of measure
Schema Component Representation
<xs:simpleType name="tRotationalFrequency">
<xs:restriction base="xs:positiveInteger"/>
</xs:simpleType>
top

Simple Type: tRotationalFrequencyRevolutionsPerMinute

Super-types: xs:positiveInteger < tRotationalFrequency (by restriction) < tRotationalFrequencyRevolutionsPerMinute (by restriction)
Sub-types: None
Name tRotationalFrequencyRevolutionsPerMinute
Content
  • Base XSD Type: positiveInteger
Documentation generic type for rotational frequency values measured in revolutions per minute
Schema Component Representation
<xs:simpleType name="tRotationalFrequencyRevolutionsPerMinute">
<xs:restriction base="rail:tRotationalFrequency"/>
</xs:simpleType>
top

Simple Type: tSpeed

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

Simple Type: tSpeedDegreesPerSecond

Super-types: xs:decimal < tSpeedDegreesPerSecond (by restriction)
Sub-types: None
Name tSpeedDegreesPerSecond
Content
  • Base XSD Type: decimal
  • value >= 0
  • no. of fraction digits = 3
Documentation generic type for angular speed/velocity values measured in degree per second
Schema Component Representation
<xs:simpleType name="tSpeedDegreesPerSecond">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tSpeedKmPerHour

Super-types: xs:decimal < tSpeed (by restriction) < tSpeedKmPerHour (by restriction)
Sub-types: None
Name tSpeedKmPerHour
Content
  • Base XSD Type: decimal
  • value >= 0
  • total no. of digits = 5
  • no. of fraction digits = 1
Documentation generic type for speed/velocity values measured in kilometer per hour
Schema Component Representation
<xs:simpleType name="tSpeedKmPerHour">
<xs:restriction base="rail:tSpeed"/>
</xs:simpleType>
top

Simple Type: tSpeedMPerSec

Super-types: xs:decimal < tSpeed (by restriction) < tSpeedMPerSec (by restriction)
Sub-types: None
Name tSpeedMPerSec
Content
  • Base XSD Type: decimal
  • value >= 0
  • total no. of digits = 5
  • no. of fraction digits = 1
Documentation generic type for speed/velocity values measured in meter per second
Schema Component Representation
<xs:simpleType name="tSpeedMPerSec">
<xs:restriction base="rail:tSpeed"/>
</xs:simpleType>
top

Simple Type: tUnitName

Super-types: None
Sub-types: None
Name tUnitName
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'m/s'|'km/h'|'A'|'N'|'Hz'|'%'|'V'|'W'|'VA'|'Vs'|'1'}
    • Locally defined type:
      • 'tOtherEnumerationValue' super type was not found in this schema. Its facets could not be printed out.
Documentation enumeration of physical units
Schema Component Representation
<xs:simpleType name="tUnitName">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="m/s"/>
<xs:enumeration value="km/h"/>
<xs:enumeration value="A"/>
<xs:enumeration value="N"/>
<xs:enumeration value="Hz"/>
<xs:enumeration value="%"/>
<xs:enumeration value="V"/>
<xs:enumeration value="W"/>
<xs:enumeration value="VA"/>
<xs:enumeration value="Vs"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="rail:tOtherEnumerationValue"/>
</xs:simpleType>
</xs:union>
</xs:simpleType>
top

Simple Type: tVoltage

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

Simple Type: tVoltageVolt

Super-types: xs:decimal < tVoltage (by restriction) < tVoltageVolt (by restriction)
Sub-types: None
Name tVoltageVolt
Content
  • Base XSD Type: decimal
  • no. of fraction digits = 1
Documentation generic type for voltage values measured in volt
Schema Component Representation
<xs:simpleType name="tVoltageVolt">
<xs:restriction base="rail:tVoltage"/>
</xs:simpleType>
top

Simple Type: tVolume

Super-types: xs:decimal < tVolume (by restriction)
Sub-types:
Name tVolume
Content
  • Base XSD Type: decimal
  • value >= 0
  • 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="tVolume">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tVolumeCubicMeter

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

Simple Type: tVolumeLitre

Super-types: xs:decimal < tVolume (by restriction) < tVolumeLitre (by restriction)
Sub-types: None
Name tVolumeLitre
Content
  • Base XSD Type: decimal
  • value >= 0
  • no. of fraction digits = 3
Documentation generic type for volume values measured in litre
Schema Component Representation
<xs:simpleType name="tVolumeLitre">
<xs:restriction base="rail:tVolume"/>
</xs:simpleType>
top

Simple Type: tWeight

Super-types: xs:decimal < tWeight (by restriction)
Sub-types:
Name tWeight
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="tWeight">
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: tWeightKG

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

Simple Type: tWeightTons

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