TT:transportServiceRef

From railML 3 Wiki
Jump to navigation Jump to search

Introduction

Documentation

Syntax

Autoexport from the XML-Schema for element TT:transportServiceRef of railML® version 3.2
Documentation Allows referencing a transport service as defined in the root of the timetable sub tree. A transport service groups a number of trains that provide transport on a line of stops. A typical example would be a commuter service known under a specific name (red line in Thailand, S1 in Berlin)
The transport service reference that can be specified here allows specification of the direction of travel along the line of stops, as well as a textual description of the origin and destination.
Subschema timetable
Parents* commercialTrainSection
Children None
Attributes:
  • direction: Direction of travel along the line of stops indicated by the transport service referenced by the attribute @ref. (optional; xs:string)
Possible values:
  • backward
  • forward,

  • fromDescription: Textual description of the origin. (optional; xs:string),

  • ref: The actual reference to the transport service defined in the root of the timetable subtree. (obligatory; xs:string; patterns: (urn:uuid:)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}}),

  • toDescription: Textual description of the destination. (optional; xs:string)
*Notice:
Elements may have different parent elements. As a consequence they may be used in different contexts.
Please, consider this as well as a user of this wiki as when developing this documentation further.
Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element.


 

This element does not appear in railML® 3.1 within the TT subschema. It is available only in railML® 3.2. Do not hesitate to contact railML.org for further questions.


Changes 3.1→3.2

Introduced with version 3.2.

Semantics

Best Practice / Examples

Additional Information

Notes

Open Issues