TT:booking: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
No edit summary
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = booking
elementName = booking
|semantics =
|semantics =
The Element {{TT:Doc|booking}} gives a container for detailed booking information related to a specific vehicle.
The Element {{TT:Doc|booking}} provides a container for detailed booking information related to a specific vehicle.
 
{{Deu|Das Element {{TT:Doc|booking}} beschreibt detaillierte Buchungsinformationen für einzelne Fahrzeuge.}}
 
|parent = {{TT:Tag|reservationInfo}}
|childs=''None''
|maxocc=∞
|inheritedAttributes=''None''
|ownAttributes =
* {{Attr|bookingNumber}}: This is the booking number, that could be transferred to a booking system.


{{deu|Das Element {{TT:Doc|booking}} beschreibt detaillierte Buchungsinformationen für einzelne Fahrzeuge.}}
* {{Attr|posInFormation}}: This is needed as reference, if the same {{RS:Doc|vehicle}} is "used several times" inside a {{RS:Doc|formation}}.


|parent = {{TT:Doc|reservationInfo}}
{{InheritRef
|attributeName = vehicleRef
|contextLink = {{RS:Tag|vehicle}}
|notes_en =
}}


|inheritedAttributes
{{InheritAnyAttribute
|comment={{intro|2.3}}
|anyAttribute =
|anyAttribute_de =
}}


|ownAttributes =
|constraints =
*{{attr|bookingNumber}}: the booking number, could be transferred to a booking system ({{xsdType|string}}, required)
* {{Attr|bookingNumber}} {{RailMLType|tGenericName}}, mandatory
*{{attr|posInFormation}}: needed as reference, if the same vehicle is referenced several times inside a formation ({{xsdType|integer}}, optional).
 
*{{attr|vehicleRef}}: reference to a specific vehicle (optional).
* {{Attr|posInFormation}} {{RailMLType|tPositiveCounter}}, optional


|example
* {{Attr|vehicleRef}} {{RailMLType|tGenericRef}}, optional


|backHome = TT:elements
|backHome = TT:elements
}}
}}

Latest revision as of 16:02, 3 February 2022


booking
 


Scheme description / Schemenbeschreibung

Position of booking in the XML-Tree / Position von booking im XML-Baum

Multiplicity / Anzahl

[1..∞]

Semantics / Bedeutung

The Element booking provides a container for detailed booking information related to a specific vehicle.

Das Element booking beschreibt detaillierte Buchungsinformationen für einzelne Fahrzeuge.

Attributes of booking / Attribute von booking

  • bookingNumber: This is the booking number, that could be transferred to a booking system.
  • posInFormation: This is needed as reference, if the same vehicle is "used several times" inside a formation.
  • vehicleRef: This refers to the id attribute of the associated <vehicle> element.
  • xs:anyAttribute(introduced with version 2.3) This provides an extension point for non-railML® attributes in a foreign namespace. How to use it?

Syntactic Constraints / Syntaktische Beschränkungen

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.