Table of Contents
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>
Super-types: |
xs:decimal < tAcceleration (by restriction) |
Sub-types: |
|
Name |
tAcceleration |
Content |
- 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>
Super-types: |
xs:decimal < tAcceleration (by restriction) < tAccelerationMeterPerSquareSec (by restriction) |
Sub-types: |
None |
Name |
tAccelerationMeterPerSquareSec |
Content |
- 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:simpleType>
Super-types: |
xs:decimal < tAngleDeg (by restriction) |
Sub-types: |
|
Name |
tAngleDeg |
Content |
- -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>
Super-types: |
xs:decimal < tAngleDeg (by restriction) < tAngleDegFullCircle (by restriction) |
Sub-types: |
None |
Name |
tAngleDegFullCircle |
Content |
- -360 <= value <= 360
- total no. of digits = 6
- no. of fraction digits = 3
|
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>
Super-types: |
xs:decimal < tAngleDeg (by restriction) < tAngleDegQuadrant (by restriction) |
Sub-types: |
None |
Name |
tAngleDegQuadrant |
Content |
- -360 <= value <= 360
- total no. of digits = 6
- no. of fraction digits = 3
|
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>
Simple Type: tArea
Super-types: |
xs:decimal < tArea (by restriction) |
Sub-types: |
|
Name |
tArea |
Content |
- 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>
Super-types: |
xs:decimal < tArea (by restriction) < tAreaSquareMeter (by restriction) |
Sub-types: |
None |
Name |
tAreaSquareMeter |
Content |
- 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:simpleType>
Super-types: |
xs:decimal < tCurrent (by restriction) |
Sub-types: |
|
Name |
tCurrent |
Content |
- 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>
Super-types: |
xs:decimal < tCurrent (by restriction) < tCurrentAmpere (by restriction) |
Sub-types: |
None |
Name |
tCurrentAmpere |
Content |
- no. of fraction digits = 1
|
Documentation |
generic type for electric current values measured in ampere |
Schema Component Representation
<
xs:simpleType name="
tCurrentAmpere">
</
xs:simpleType>
Super-types: |
xs:decimal < tEnergy (by restriction) |
Sub-types: |
|
Name |
tEnergy |
Content |
- 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>
Super-types: |
xs:decimal < tEnergy (by restriction) < tEnergyKiloWattHours (by restriction) |
Sub-types: |
None |
Name |
tEnergyKiloWattHours |
Content |
- no. of fraction digits = 3
|
Documentation |
generic type for energy values measured in kilowatt*hour |
Schema Component Representation
<
xs:simpleType name="
tEnergyKiloWattHours">
</
xs:simpleType>
Simple Type: tFlux
Super-types: |
xs:decimal < tFlux (by restriction) |
Sub-types: |
|
Name |
tFlux |
Content |
- 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>
Super-types: |
xs:decimal < tFlux (by restriction) < tFluxVoltSecond (by restriction) |
Sub-types: |
None |
Name |
tFluxVoltSecond |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for electric flux values measured in volt*second |
Schema Component Representation
<
xs:simpleType name="
tFluxVoltSecond">
</
xs:simpleType>
Simple Type: tForce
Super-types: |
xs:decimal < tForce (by restriction) |
Sub-types: |
|
Name |
tForce |
Content |
- 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>
Super-types: |
xs:decimal < tForce (by restriction) < tForceNewton (by restriction) |
Sub-types: |
None |
Name |
tForceNewton |
Content |
- no. of fraction digits = 0
|
Documentation |
generic type for force values measured in newton |
Schema Component Representation
<
xs:simpleType name="
tForceNewton">
</
xs:simpleType>
Super-types: |
xs:decimal < tFrequency (by restriction) |
Sub-types: |
|
Name |
tFrequency |
Content |
- 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>
Super-types: |
xs:decimal < tFrequency (by restriction) < tFrequencyHertz (by restriction) |
Sub-types: |
None |
Name |
tFrequencyHertz |
Content |
- value >= 0
- no. of fraction digits = 3
|
Documentation |
generic type for frequency values measured in hertz |
Schema Component Representation
<
xs:simpleType name="
tFrequencyHertz">
</
xs:simpleType>
Super-types: |
xs:decimal < tGradient (by restriction) |
Sub-types: |
|
Name |
tGradient |
Content |
- 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>
Super-types: |
xs:decimal < tGradient (by restriction) < tGradientPromille (by restriction) |
Sub-types: |
None |
Name |
tGradientPromille |
Content |
- no. of fraction digits = 3
|
Documentation |
generic type for gradient values measured in per thousand/mill |
Schema Component Representation
<
xs:simpleType name="
tGradientPromille">
</
xs:simpleType>
Super-types: |
xs:decimal < tInductance (by restriction) |
Sub-types: |
|
Name |
tInductance |
Content |
- 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>
Super-types: |
xs:decimal < tInductance (by restriction) < tInductanceHenry (by restriction) |
Sub-types: |
None |
Name |
tInductanceHenry |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for inductance values measured in henry |
Schema Component Representation
<
xs:simpleType name="
tInductanceHenry">
</
xs:simpleType>
Super-types: |
xs:decimal < tLength (by restriction) |
Sub-types: |
|
Name |
tLength |
Content |
- 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>
Super-types: |
xs:decimal < tLength (by restriction) < tLengthKM (by restriction) |
Sub-types: |
None |
Name |
tLengthKM |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for length values measured in kilometer |
Schema Component Representation
<
xs:simpleType name="
tLengthKM">
</
xs:simpleType>
Super-types: |
xs:decimal < tLength (by restriction) < tLengthM (by restriction) |
Sub-types: |
|
Name |
tLengthM |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for length values measured in meter |
Schema Component Representation
<
xs:simpleType name="
tLengthM">
</
xs:simpleType>
Super-types: |
xs:decimal < tLength (by restriction) < tLengthMM (by restriction) |
Sub-types: |
None |
Name |
tLengthMM |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for length values measured in millimeter |
Schema Component Representation
<
xs:simpleType name="
tLengthMM">
</
xs:simpleType>
Simple Type: tPower
Super-types: |
xs:decimal < tPower (by restriction) |
Sub-types: |
|
Name |
tPower |
Content |
- 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>
Super-types: |
xs:decimal < tPower (by restriction) < tPowerWatt (by restriction) |
Sub-types: |
None |
Name |
tPowerWatt |
Content |
- no. of fraction digits = 0
|
Documentation |
generic type for power values measured in watt |
Schema Component Representation
<
xs:simpleType name="
tPowerWatt">
</
xs:simpleType>
Super-types: |
xs:decimal < tLength (by restriction) < tLengthM (by restriction) < tRadiusM (by restriction) |
Sub-types: |
None |
Name |
tRadiusM |
Content |
- no. of fraction digits = 6
|
Documentation |
generic type for radius values measured in meter |
Schema Component Representation
<
xs:simpleType name="
tRadiusM">
</
xs:simpleType>
Super-types: |
xs:decimal < tResistance (by restriction) |
Sub-types: |
|
Name |
tResistance |
Content |
- 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>
Super-types: |
xs:decimal < tResistance (by restriction) < tResistanceOhm (by restriction) |
Sub-types: |
None |
Name |
tResistanceOhm |
Content |
- no. of fraction digits = 4
|
Documentation |
generic type for electric resistance values measured in ohm |
Schema Component Representation
<
xs:simpleType name="
tResistanceOhm">
</
xs:simpleType>
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>
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:simpleType>
Simple Type: tSpeed
Super-types: |
xs:decimal < tSpeed (by restriction) |
Sub-types: |
|
Name |
tSpeed |
Content |
- 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>
Super-types: |
xs:decimal < tSpeedDegreesPerSecond (by restriction) |
Sub-types: |
None |
Name |
tSpeedDegreesPerSecond |
Content |
- 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>
Super-types: |
xs:decimal < tSpeed (by restriction) < tSpeedKmPerHour (by restriction) |
Sub-types: |
None |
Name |
tSpeedKmPerHour |
Content |
- 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:simpleType>
Super-types: |
xs:decimal < tSpeed (by restriction) < tSpeedMPerSec (by restriction) |
Sub-types: |
None |
Name |
tSpeedMPerSec |
Content |
- 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:simpleType>
Super-types: |
None |
Sub-types: |
None |
Name |
tUnitName |
Content |
- Union of following types:
- Locally defined type:
- 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:simpleType>
</
xs:union>
</
xs:simpleType>
Super-types: |
xs:decimal < tVoltage (by restriction) |
Sub-types: |
|
Name |
tVoltage |
Content |
- 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>
Super-types: |
xs:decimal < tVoltage (by restriction) < tVoltageVolt (by restriction) |
Sub-types: |
None |
Name |
tVoltageVolt |
Content |
- no. of fraction digits = 1
|
Documentation |
generic type for voltage values measured in volt |
Schema Component Representation
<
xs:simpleType name="
tVoltageVolt">
</
xs:simpleType>
Super-types: |
xs:decimal < tVolume (by restriction) |
Sub-types: |
|
Name |
tVolume |
Content |
- 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>
Super-types: |
xs:decimal < tVolume (by restriction) < tVolumeCubicMeter (by restriction) |
Sub-types: |
None |
Name |
tVolumeCubicMeter |
Content |
- 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:simpleType>
Super-types: |
xs:decimal < tVolume (by restriction) < tVolumeLitre (by restriction) |
Sub-types: |
None |
Name |
tVolumeLitre |
Content |
- value >= 0
- no. of fraction digits = 3
|
Documentation |
generic type for volume values measured in litre |
Schema Component Representation
<
xs:simpleType name="
tVolumeLitre">
</
xs:simpleType>
Super-types: |
xs:decimal < tWeight (by restriction) |
Sub-types: |
|
Name |
tWeight |
Content |
- 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>
Super-types: |
xs:decimal < tWeight (by restriction) < tWeightKG (by restriction) |
Sub-types: |
None |
Name |
tWeightKG |
Content |
- no. of fraction digits = 3
|
Documentation |
generic type for weight/load values measured in kilogram |
Schema Component Representation
<
xs:simpleType name="
tWeightKG">
</
xs:simpleType>
Super-types: |
xs:decimal < tWeight (by restriction) < tWeightTons (by restriction) |
Sub-types: |
None |
Name |
tWeightTons |
Content |
- no. of fraction digits = 3
|
Documentation |
generic type for weight/load values measured in ton |
Schema Component Representation
<
xs:simpleType name="
tWeightTons">
</
xs:simpleType>