Skip to content

Commit 073481d

Browse files
authored
Merge pull request #83 from BISONNL/extra_kenmerken_vehicletype
Extra elementen toegevoegd aan vehicleType conform CEN XSD
2 parents 1d96a53 + 1d19bae commit 073481d

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

xsd/netex-nl-basic.xsd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
<xsd:simpleType name="DistanceType">
4848
<xsd:restriction base="xsd:decimal"/>
4949
</xsd:simpleType>
50+
<xsd:simpleType name="SpeedType">
51+
<xsd:annotation>
52+
<xsd:documentation>Speed type for velocity. System for units can be specified on frame. Normal default is metres per second as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres.</xsd:documentation>
53+
</xsd:annotation>
54+
<xsd:restriction base="xsd:decimal"/>
55+
</xsd:simpleType>
5056
<xsd:simpleType name="WeightType">
5157
<xsd:restriction base="xsd:decimal"/>
5258
</xsd:simpleType>
@@ -123,6 +129,19 @@
123129
</xsd:pattern>
124130
</xsd:restriction>
125131
</xsd:simpleType>
132+
<xsd:simpleType name="PropulsionTypeEnumeration">
133+
<xsd:annotation>
134+
<xsd:documentation>Allowed values for type of power +v1/2/2</xsd:documentation>
135+
</xsd:annotation>
136+
<xsd:restriction base="xsd:normalizedString">
137+
<xsd:enumeration value="combustion"/>
138+
<xsd:enumeration value="electric"/>
139+
<xsd:enumeration value="electricAssist"/>
140+
<xsd:enumeration value="hybrid"/>
141+
<xsd:enumeration value="human"/>
142+
<xsd:enumeration value="other"/>
143+
</xsd:restriction>
144+
</xsd:simpleType>
126145
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
127146
<!-- ABSTRACTE TYPEN -->
128147
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

xsd/netex-nl-data.xsd

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,18 +1130,12 @@
11301130
<xsd:documentation>Zie Wikipedia voor de mogelijke waarden</xsd:documentation>
11311131
</xsd:annotation>
11321132
</xsd:element>
1133-
<xsd:choice>
1134-
<xsd:element name="FuelType" type="FuelTypeEnumeration">
1135-
<xsd:annotation>
1136-
<xsd:documentation>Het type brandstof dat voor het voertuig in gebruik is voor het voertuig soort.</xsd:documentation>
1137-
</xsd:annotation>
1138-
</xsd:element>
1139-
<xsd:element name="TypeOfFuel" type="FuelTypeEnumeration">
1140-
<xsd:annotation>
1141-
<xsd:documentation>DEPRECATED NAME: Use FuelType instead. Will be removed: 2025-01-09.</xsd:documentation>
1142-
</xsd:annotation>
1143-
</xsd:element>
1144-
</xsd:choice>
1133+
<xsd:element name="ReversingDirection" type="xsd:boolean" default="true" minOccurs="0"/>
1134+
<xsd:element name="SelfPropelled" type="xsd:boolean" default="true" minOccurs="0"/>
1135+
<xsd:element name="PropulsionType" type="PropulsionTypeEnumeration" minOccurs="0"/>
1136+
<xsd:element name="FuelType" type="FuelTypeEnumeration" />
1137+
<xsd:element name="MaximumRange" type="DistanceType" minOccurs="0"/>
1138+
<xsd:element name="MaximumVelocity" type="SpeedType" minOccurs="0"/>
11451139
<xsd:element name="TransportMode" type="TransportmodeEnum"/>
11461140
<xsd:element name="capacities" type="passengerCapacities_RelStructure" minOccurs="0">
11471141
<xsd:annotation>
@@ -1157,6 +1151,7 @@
11571151
<xsd:element name="Width" type="LengthType" minOccurs="0"/>
11581152
<xsd:element name="Height" type="LengthType" minOccurs="0"/>
11591153
<xsd:element name="Weight" type="WeightType" minOccurs="0"/>
1154+
<xsd:element name="FirstAxleHeight" type="LengthType" minOccurs="0"/>
11601155
<xsd:element name="facilities" type="facilities"/>
11611156
</xsd:sequence>
11621157
</xsd:extension>

0 commit comments

Comments
 (0)