TT:places: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(Created using RS:places contents) |
No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ElementDocu| | ||
| | elementName = places | ||
| | |||
| | |semantics = | ||
| | The element {{TT:Tag|places}} contains the data related to particular passenger capacity with respect to the various categories of providing space for them. {{AddAnn|{{intro|2.2}}| }} | ||
| | |||
| | {{Deu|Das Element {{TT:Tag|places}} beinhaltet die Beschreibung zur Fahrgastkapazität des Fahrzeuges aufgeteilt nach den verschiedenen Kategorien der Unterbringung.}} {{AddAnn| |{{intro|2.2}} }} | ||
|count = | |||
|category | |parent = {{TT:Tag|passengerUsage}} | ||
|description = | |childs=''None'' | ||
|minocc=0 | |||
|maxocc=∞ | |||
|inheritedAttributes=''None'' | |||
|ownAttributes = | |||
* {{Attr|category}}: The type of places specified within this element. {{AddAnn|| }} <br/> Possible values are: | |||
:* {{Enum|class1}} Seating capacity of the vehicle, class 1/comfort class. | |||
:* {{Enum|class2}} Seating capacity of the vehicle, class 2/standard. | |||
:* {{Enum|class3}} Seating capacity of the vehicle, class 3. | |||
:* {{Enum|standing}} Standing place capacity of the vehicle. | |||
:* {{Enum|standingArea}} {{intro|2.4}} Standing room capacity in square meters. Flip-up seats not in use. | |||
:* {{Enum|wheelchair}} Number of dedicated places for wheelchairs. | |||
:* {{Enum|bicycle}} Number of dedicated places for bicyles. | |||
:* {{Enum|couchette}} This is used for identifying the number of accommodation berths within the vehicle (couchette car). | |||
:* {{Enum|bed}} Number of beds. Not differentiated by class (typically in sleeping cars). | |||
:* {{Enum|chair}} Number of sleeping chairs (over all classes). | |||
:* {{Enum|bistro}} {{intro|2.4}} | |||
:* {{Enum|restaurant}} {{intro|2.4}} Seating capacity in the restaurant/dining car | |||
:* {{Enum|foldingSeat}} {{intro|2.4}} Flip-up seats (folding and resting combined).{{note|Folding seats are seats with dedicated area for the seat when it is folded down. Resting seats are in dedicated standing area (like entry/exit area).}} | |||
:* {{Enum|impairedToilet}} {{intro|2.4}} | |||
:* {{Enum|toilet}} {{intro|2.4}} | |||
:* {{Enum|business}} {{intro|2.4}} | |||
:* {{Enum|businessCompartment}} {{intro|2.4}} | |||
:* {{Enum|family}} {{intro|2.4}} Capacity of seats in the vehicle in family compartments with family services like playroom and baby wagon storage area/places. Services not defined. | |||
:* {{Enum|familyCompartment}} {{intro|2.4}} | |||
:* {{Enum|stroller}} {{intro|2.4}} | |||
:* {{Enum|toddler}} {{intro|2.4}} | |||
:* {{Enum|toddlerCompartment}} {{intro|2.4}} | |||
:* {{Enum|sleepingCompartment}} {{intro|2.4}} Number of sleeping compartments. Not differentiated by class. | |||
:* {{OtherEnum | |||
|notes_en = This is used for identifying the number of any other type of places within the vehicle. | |||
|notes_de = | |||
}} | |||
*{{attr|tapTsiType9039Code}}: Code list for the facility type description based on the directory of passenger code lists for the ERA technical documents used in TAP TSI (B.4.9039) | |||
* {{Attr|count}}: The number of places within the vehicle of the type given in the {{Attr|category}} attribute of the same element. {{AddAnn|| }} | |||
* {{Attr|description}}: This allows an additional description or comment for the provided places. {{AddAnn|| }}{{human}} | |||
* {{attr|reservation}}: {{intro|2.2}} Used to specify additional information about the type of reservation for a particular category of "places". <br/> Possible values are: | |||
:* {{Enum|notPossible}} A reservation for places of the enclosing category is '''not''' possible | |||
:* {{Enum|possible}} A reservation for places of the enclosing category is possible | |||
:* {{Enum|recommended}} A reservation for places of the enclosing category is recommended as there is only limited capacity | |||
:* {{Enum|compulsory}} A reservation for places of the enclosing category is required | |||
:* {{OtherEnum}} | |||
{{InheritAnyAttribute | |||
|comment={{intro|2.3}} | |||
|anyAttribute = | |||
|anyAttribute_de = | |||
}} | |||
|constraints = | |||
* {{Attr|category}}: {{RailMLType|tPlaceCategory}}, mandatory | |||
*{{attr|tapTsiType9039Code}}: derived by ''tDigitString'': {{railMLType|tDigitString}} | |||
* {{Attr|count}}: {{RailMLType|tCounter}}, mandatory | |||
* {{Attr|description}}: {{RailMLType|tElementDescription}}, optional | |||
* {{attr|reservation}}: {{railMLType|tPlaceReservation}} | |||
One {{TT:Tag|passengerUsage}} can have an unlimited number of {{TT:Tag|places}} elements. {{AddAnn|| }} | |||
|example = | |||
<syntaxhighlight lang="xml"> | |||
<trainPart id="..."> | |||
<formationTT formationRef="frm4711"> | |||
<passengerUsage> | |||
<places category='class1' count='5'/> | |||
<places category='class2' count='89'/> | |||
<places category='bicycle' count='8' reservation='compulsory' /> | |||
</passengerUsage> | |||
</formationTT> | |||
</trainPart> | |||
</syntaxhighlight> | |||
}} | }} |
Latest revision as of 12:16, 13 September 2022
places
Scheme description / Schemenbeschreibung
Position of places in the XML-Tree / Position von places im XML-Baum
- Parent: <passengerUsage>
- Children: None
Multiplicity / Anzahl
Semantics / Bedeutung
The element <places> contains the data related to particular passenger capacity with respect to the various categories of providing space for them.
(introduced with version 2.2)
Das Element <places> beinhaltet die Beschreibung zur Fahrgastkapazität des Fahrzeuges aufgeteilt nach den verschiedenen Kategorien der Unterbringung.
(introduced with version 2.2)
Attributes of places / Attribute von places
- category: The type of places specified within this element.
Possible values are:
- class1 Seating capacity of the vehicle, class 1/comfort class.
- class2 Seating capacity of the vehicle, class 2/standard.
- class3 Seating capacity of the vehicle, class 3.
- standing Standing place capacity of the vehicle.
- standingArea (introduced with version 2.4) Standing room capacity in square meters. Flip-up seats not in use.
- wheelchair Number of dedicated places for wheelchairs.
- bicycle Number of dedicated places for bicyles.
- couchette This is used for identifying the number of accommodation berths within the vehicle (couchette car).
- bed Number of beds. Not differentiated by class (typically in sleeping cars).
- chair Number of sleeping chairs (over all classes).
- bistro (introduced with version 2.4)
- restaurant (introduced with version 2.4) Seating capacity in the restaurant/dining car
- foldingSeat (introduced with version 2.4) Flip-up seats (folding and resting combined).
|
- impairedToilet (introduced with version 2.4)
- toilet (introduced with version 2.4)
- business (introduced with version 2.4)
- businessCompartment (introduced with version 2.4)
- family (introduced with version 2.4) Capacity of seats in the vehicle in family compartments with family services like playroom and baby wagon storage area/places. Services not defined.
- familyCompartment (introduced with version 2.4)
- stroller (introduced with version 2.4)
- toddler (introduced with version 2.4)
- toddlerCompartment (introduced with version 2.4)
- sleepingCompartment (introduced with version 2.4) Number of sleeping compartments. Not differentiated by class.
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
This is used for identifying the number of any other type of places within the vehicle.
- tapTsiType9039Code: Code list for the facility type description based on the directory of passenger code lists for the ERA technical documents used in TAP TSI (B.4.9039)
- count: The number of places within the vehicle of the type given in the category attribute of the same element.
- description: This allows an additional description or comment for the provided places.
|
- reservation: (introduced with version 2.2) Used to specify additional information about the type of reservation for a particular category of "places".
Possible values are:
- notPossible A reservation for places of the enclosing category is not possible
- possible A reservation for places of the enclosing category is possible
- recommended A reservation for places of the enclosing category is recommended as there is only limited capacity
- compulsory A reservation for places of the enclosing category is required
- other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.
- 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
- category: union of (restriction of xs:string, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML® enumeration lists, mandatory
- tapTsiType9039Code: derived by tDigitString: xs:string; an arbitrary string consisting of digits from 0 to 9; not allowing white space, letters; no length restriction
- count: xs:nonNegativeInteger, mandatory
- description: xs:string, optional
- reservation: union of (restriction of xs:string, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML® enumeration lists
One <passengerUsage> can have an unlimited number of <places> elements.
Best practice & Examples / Empfohlene Anwendung & Beispiele
<trainPart id="..."> <formationTT formationRef="frm4711"> <passengerUsage> <places category='class1' count='5'/> <places category='class2' count='89'/> <places category='bicycle' count='8' reservation='compulsory' /> </passengerUsage> </formationTT> </trainPart>
Notes / Anmerkungen
Not yet described. / Noch nicht beschrieben.
Open issues / Offene Punkte/Pendenzen
Not yet described. / Noch nicht beschrieben.