RS:classification: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
mNo edit summary
(Removed wrong practice from example and note. See Dev:identities)
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:


|semantics =
|semantics =
The element {{RS:Tag|classification}} provides data of informative or organisational character about the vehicle.
The element {{RS:Tag|classification}} provides data of informative or organisational character about the vehicle, e.g. the names given by the manufacturer or the operator.


{{deu|Unter dem Element {{RS:Tag|classification}} befinden sich die allgemeinen Angaben zu einem Fahrzeug, die informellen bzw. organisatorischen Charakter haben.}}
{{deu|Unter dem Element {{RS:Tag|classification}} befinden sich die allgemeinen Angaben zu einem Fahrzeug, die informellen bzw. organisatorischen Charakter haben.}}


|parent =
|parent =
{{RS:Doc|vehicle}}
{{RS:Tag|vehicle}}


|childs =
|childs =
{{RS:Doc|manufacturer}}, {{RS:Doc|operator}}
{{RS:Tag|manufacturer}}, {{RS:Tag|operator}}
|minocc=0


|notes =
|example =
This optional element is used to provide additional information as human readable reference, i.e. the names given by the manufacturer or the operator. Thus a dataset can be attributed to a "BR 185" or a "RABe 4/10 535 102" instead of the possibly cryptic {{attr|id}} at {{RS:Tag|vehicle}}.
<syntaxhighlight lang="xml">
<metadata>
  <organizationalUnits>
    <vehicleOperator id='vop_1' name='NSB'/>
    <vehicleOperator id='vop_2' name='DB'/>
    <vehicleManufacturer id='vm_3' name='Siemens Verkehrstechnik'/>
  </organizationalUnits>
</metadata>
 
<!-- ... -->
 
<vehicle id='veh_123' axleSequence='Co&apos;Co&apos; de' numberDrivenAxles='6' length='20.960' speed='160' bruttoWeight='122' nettoAdhesionWeight='122'>
  <classification>
    <manufacturer vehicleManufacturerRef='vm_3' manufacturer-Type='ME26'/>
    <operator vehicleOperatorRef='vop_1' operatorClass='Di6'/>
    <operator vehicleOperatorRef='vop_2' operatorClass='251'/>
  </classification>
</vehicle>
</syntaxhighlight>


|backHome = RS:elements
|backHome = RS:elements
}}
}}

Revision as of 05:30, 26 November 2020


classification
 


Scheme description / Schemenbeschreibung

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

Multiplicity / Anzahl

[0..1]

Semantics / Bedeutung

The element <classification> provides data of informative or organisational character about the vehicle, e.g. the names given by the manufacturer or the operator.

Unter dem Element <classification> befinden sich die allgemeinen Angaben zu einem Fahrzeug, die informellen bzw. organisatorischen Charakter haben.

Attributes of classification / Attribute von classification

Not yet described. / Noch nicht beschrieben.

Syntactic Constraints / Syntaktische Beschränkungen

Not yet described. / Noch nicht beschrieben.

Best practice & Examples / Empfohlene Anwendung & Beispiele

<metadata>
  <organizationalUnits>
    <vehicleOperator id='vop_1' name='NSB'/>
    <vehicleOperator id='vop_2' name='DB'/>
    <vehicleManufacturer id='vm_3' name='Siemens Verkehrstechnik'/>
  </organizationalUnits>
</metadata>

<!-- ... -->

<vehicle id='veh_123' axleSequence='Co&apos;Co&apos; de' numberDrivenAxles='6' length='20.960' speed='160' bruttoWeight='122' nettoAdhesionWeight='122'>
  <classification>
    <manufacturer vehicleManufacturerRef='vm_3' manufacturer-Type='ME26'/>
    <operator vehicleOperatorRef='vop_1' operatorClass='Di6'/>
    <operator vehicleOperatorRef='vop_2' operatorClass='251'/>
  </classification>
</vehicle>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.