TT:places: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
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}} }} | ||
| | |||
|category | |parent = {{TT:Tag|passengerUsage}} | ||
|description = | |childs=''None'' | ||
|inheritedAttributes=''None'' | |||
|ownAttributes = | |||
* {{Attr|category}}: The type of places specified within this element. {{AddAnn|| }} <br/> Possible values are: | |||
:* {{Enum|class1}} This is used for identifying the number of first class seats within the vehicle. | |||
:* {{Enum|class2}} This is used for identifying the number of standard class seats within the vehicle. | |||
:* {{Enum|class3}} This is used for identifying the number of third class seats within the vehicle. | |||
:* {{Enum|standing}} This is used for identifying the number of standing places within the vehicle. | |||
:* {{Enum|wheelchair}} This is used for identifying the number of places available for wheelchairs within the vehicle. | |||
:* {{Enum|bicycle}} This is used for identifying the number of places available for bicycles within the vehicle. | |||
:* {{Enum|couchette}} This is used for identifying the number of accommodation berths within the vehicle (couchette car). | |||
:* {{Enum|bed}} This is used for identifying the number of bed places within the vehicle (sleeping car). | |||
:* {{Enum|chair}} This is used for identifying the number of sleeping chairs within the vehicle. | |||
:* {{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|| }} | |||
{{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 | |||
One {{TT:Tag|passengerUsage}} can have an unlimited number of {{TT:Tag|places}} elements. {{AddAnn|| }} | |||
|example = | |||
<syntaxhighlight lang="xml"> | |||
<vehicle id='veh_DABpza785.2' name='DABpza785.2' numberNonDrivenAxles='4' track-Gauge='1.435' length='26.800' speed='160' bruttoWeight='55.000' net-toWeight='49.000'> | |||
<wagon> | |||
<passenger> | |||
<places category='class1' count='5'/> | |||
<places category='class2' count='89'/> | |||
</passenger> | |||
</wagon> | |||
</vehicle> | |||
</syntaxhighlight> | |||
}} | }} |
Revision as of 14:34, 14 June 2017
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 This is used for identifying the number of first class seats within the vehicle.
- class2 This is used for identifying the number of standard class seats within the vehicle.
- class3 This is used for identifying the number of third class seats within the vehicle.
- standing This is used for identifying the number of standing places within the vehicle.
- wheelchair This is used for identifying the number of places available for wheelchairs within the vehicle.
- bicycle This is used for identifying the number of places available for bicycles within the vehicle.
- couchette This is used for identifying the number of accommodation berths within the vehicle (couchette car).
- bed This is used for identifying the number of bed places within the vehicle (sleeping car).
- chair This is used for identifying the number of sleeping chairs within the vehicle.
- 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.
- 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
One <passengerUsage> can have an unlimited number of <places> elements.
Best practice & Examples / Empfohlene Anwendung & Beispiele
<vehicle id='veh_DABpza785.2' name='DABpza785.2' numberNonDrivenAxles='4' track-Gauge='1.435' length='26.800' speed='160' bruttoWeight='55.000' net-toWeight='49.000'> <wagon> <passenger> <places category='class1' count='5'/> <places category='class2' count='89'/> </passenger> </wagon> </vehicle>
Notes / Anmerkungen
Not yet described. / Noch nicht beschrieben.
Open issues / Offene Punkte/Pendenzen
Not yet described. / Noch nicht beschrieben.