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 elements (partially hidden as complex type) for rollingstock sub schema (RS), uses rollingstock types and attribute groups from "xs:include" path
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 ="rollingstockTypes.xsd "/>
...
</
xs:schema >
Name
rollingstock
Type
Locally-defined complex type
Nillable
no
Abstract
no
XML Instance Representation
<
rail :rollingstock>
<!--
Key Constraint -
etcsKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:etcs Field(s) -
@id -->
<!--
Key Constraint -
specificTransmissionModuleKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:etcs/rail:specificTransmissionModule Field(s) -
@id -->
<!--
Key Constraint -
nationalSystemKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:nationalSystem Field(s) -
@id -->
<!--
Key Reference Constraint -
nationalSystem-specificTransmissionModuleKeyref Selector -
.//rail:etcs/rail:specificTransmissionModule Field(s) -
@nationalSystemRef Refers to -
rail :
nationalSystemKey -->
<!--
Key Constraint -
trainRadioKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:trainRadio Field(s) -
@id -->
<!--
Key Constraint -
otherEquipmentKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:otherEquipment Field(s) -
@id -->
<!--
Key Constraint -
energyStorageKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:energyStorage Field(s) -
@id -->
<!--
Key Constraint -
propulsionKey Selector -
.//rail:vehicles/rail:vehicle/rail:engine/rail:propulsion Field(s) -
@id -->
</
rail :rollingstock>
Schema Component Representation
<
xs:element name ="
rollingstock ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
<
xs:key name ="
etcsKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:etcs "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:key name ="
specificTransmissionModuleKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:etcs/rail:specificTransmissionModule "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:key name ="
nationalSystemKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:nationalSystem "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:keyref name ="
nationalSystem-specificTransmissionModuleKeyref "
refer ="
rail :nationalSystemKey ">
<xs:selector xpath =".//rail:etcs/rail:specificTransmissionModule "/>
<xs:field xpath ="@nationalSystemRef "/>
</
xs:keyref >
<
xs:key name ="
trainRadioKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:trainRadio "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:key name ="
otherEquipmentKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:monitoring/rail:otherEquipment "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:key name ="
energyStorageKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:energyStorage "/>
<xs:field xpath ="@id "/>
</
xs:key >
<
xs:key name ="
propulsionKey ">
<xs:selector xpath =".//rail:vehicles/rail:vehicle/rail:engine/rail:propulsion "/>
<xs:field xpath ="@id "/>
</
xs:key >
</
xs:element >
Name
eAuxiliarySupply
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eAuxiliarySupply ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
eClassification
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eClassification ">
<
xs:sequence >
<
xs:element name ="
operator "
type ="
rail :tOperator "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
eCouplers
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eCouplers ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Name
eCurvingLimitation
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eCurvingLimitation ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Complex Type: eETCS
Super-types:
rail :tETCS < eETCS (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eETCS ">
<
xs:complexContent >
<
xs:extension base ="
rail :tETCS ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
eElectricalCoupler
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eElectricalCoupler ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
rail :tEngine < eEngine (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eEngine ">
<
xs:complexContent >
<
xs:extension base ="
rail :tEngine ">
<
xs:sequence >
<
xs:element name ="
propulsion "
type ="
rail :ePropulsion "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
pantograph "
type ="
rail :ePantograph "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
energyStorage "
type ="
rail :eStorage "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
rail :tFormation < eFormation (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eFormation ">
<
xs:complexContent >
<
xs:extension base ="
rail :tFormation ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
eFormations
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eFormations ">
<
xs:sequence >
<
xs:element name ="
formation "
type ="
rail :eFormation "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Name
eFourQuadrantChopper
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eFourQuadrantChopper ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Complex Type: eGear
Super-types:
rail :tGear < eGear (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eGear ">
<
xs:complexContent >
<
xs:extension base ="
rail :tGear ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Complex Type: eGoods
Super-types:
rail :tGoods < eGoods (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eGoods ">
<
xs:complexContent >
<
xs:extension base ="
rail :tGoods ">
<
xs:sequence >
<
xs:element name ="
service "
type ="
rail :tService "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
eLoadLimit
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eLoadLimit ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Name
eLoadLimitMatrix
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eLoadLimitMatrix ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Name
eMechanicalCoupler
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eMechanicalCoupler ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Name
eMonitoring
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eMonitoring ">
<
xs:complexContent >
<
xs:extension base ="
rail :tMonitoring ">
<
xs:sequence >
<
xs:element name ="
etcs "
type ="
rail :eETCS "
minOccurs ="
0 "/>
<
xs:element name ="
nationalSystem "
type ="
rail :tNationalSystem "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
trainRadio "
type ="
rail :eTrainRadio "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
otherEquipment "
type ="
rail :tOtherEquipment "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Schema Component Representation
<
xs:complexType name ="
ePantograph ">
<
xs:complexContent >
<
xs:extension base ="
rail :tPantograph ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
rail :tPassenger < ePassenger (by extension)
Sub-types:
None
Name
ePassenger
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ePassenger ">
<
xs:complexContent >
<
xs:extension base ="
rail :tPassenger ">
<
xs:sequence >
<
xs:element name ="
gangway "
type ="
rail :tGangway "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
doors "
type ="
rail :tDoors "
minOccurs ="
0 "/>
<
xs:element name ="
tilting "
type ="
rail :tTilting "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
ePneumaticCoupler
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ePneumaticCoupler ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Schema Component Representation
<
xs:complexType name ="
ePropulsion ">
<
xs:complexContent >
<
xs:extension base ="
rail :tPropulsion ">
<
xs:sequence >
<
xs:element name ="
link "
type ="
rail :tLink "
minOccurs ="
0 "/>
<
xs:element name ="
gear "
type ="
rail :eGear "
minOccurs ="
0 "/>
<
xs:element name ="
auxiliarySupply "
type ="
rail :eAuxiliarySupply "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ePulsePattern
Abstract
no
Schema Component Representation
<
xs:complexType name ="
ePulsePattern ">
<
xs:sequence >
<
xs:element name ="
valueTable ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
rail :tStorage < eStorage (by extension)
Sub-types:
None
Name
eStorage
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eStorage ">
<
xs:complexContent >
<
xs:extension base ="
rail :tStorage ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
eTractionInverter
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eTractionInverter ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Name
eTractionMotor
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eTractionMotor ">
<
xs:complexContent >
<
xs:extension base ="
rail :tTractionMotor ">
<
xs:sequence >
<
xs:element name ="
mechanicalLosses "
type ="
rail :tLosses "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
eTrainOrder
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eTrainOrder ">
<
xs:sequence >
<
xs:element name ="
vehicleRef "
type ="
rail :tVehicleRef "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Schema Component Representation
<
xs:complexType name ="
eTrainRadio ">
<
xs:complexContent >
<
xs:extension base ="
rail :tTrainRadio ">
<
xs:sequence >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
eTransformer
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eTransformer ">
<
xs:complexContent >
<
xs:extension base ="
rail :tTransformer ">
<
xs:sequence >
<
xs:element name ="
winding "
type ="
rail :tWinding "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Super-types:
rail :tVehicle < eVehicle (by extension)
Sub-types:
None
Name
eVehicle
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eVehicle ">
<
xs:complexContent >
<
xs:extension base ="
rail :tVehicle ">
<
xs:sequence >
<
xs:element name ="
engine "
type ="
rail :eEngine "
minOccurs ="
0 "/>
<
xs:element name ="
wagon "
type ="
rail :eWagon "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
Name
eVehicleBrake
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eVehicleBrake ">
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eVehicleBrakes ">
<
xs:sequence >
<
xs:element name ="
mechanicalBrakeEffort "
type ="
rail :tEffortCurve "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
eVehicles
Abstract
no
Schema Component Representation
<
xs:complexType name ="
eVehicles ">
<
xs:sequence >
<
xs:element name ="
vehicle "
type ="
rail :eVehicle "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Complex Type: eWagon
Super-types:
rail :tWagon < eWagon (by extension)
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
eWagon ">
<
xs:complexContent >
<
xs:extension base ="
rail :tWagon ">
<
xs:sequence >
<
xs:element name ="
goods "
type ="
rail :eGoods "
minOccurs ="
0 "/>
<
xs:element name ="
driversCab "
type ="
rail :tDriversCabType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
couplers "
type ="
rail :eCouplers "
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >