Skip to content

Commit f65c0a6

Browse files
authored
Bugfix PassengerCapacity (#44)
* simpleType PassengerCapacityIdType opgenomen * passengerCapacities_RelStructure gefixt. PassengerCapacityRef opgenomen conform andere Refs in NL-profiel * PassengerCapacity een extension van PassengerCapacityStructure te laten zijn. EntityInVersionGroup en DataManagedObjectGroup hieruit verwijderd. * PassengerCapacity verder versimpeld, waardoor aparte complexType PassengerCapacityStructure niet langer nodig is * PassengerCapacityStructure opnieuw toegevoegd, en PassengerCapacity daarvan een restriction laten zijn, zoals in volledige standaard
1 parent 5d07f88 commit f65c0a6

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

xsd/netex-nl-data.xsd

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,14 +1101,10 @@ Bij een Version is attribuut 'version' verplicht. De waarde is gelijk aan attrib
11011101
<xsd:annotation>
11021102
<xsd:documentation>Type for a list of PASSENGER CAPACITY REQUIREMENTs.</xsd:documentation>
11031103
</xsd:annotation>
1104-
<xsd:complexContent>
1105-
<xsd:extension base="oneToManyRelationshipStructure">
1106-
<xsd:choice maxOccurs="unbounded">
1107-
<xsd:element ref="PassengerCapacityRef"/>
1104+
<xsd:choice maxOccurs="unbounded">
1105+
<xsd:element name="PassengerCapacityRef" type="VersionOfObjectRefStructure"/>
11081106
<xsd:element ref="PassengerCapacity" maxOccurs="1"/>
1109-
</xsd:choice>
1110-
</xsd:extension>
1111-
</xsd:complexContent>
1107+
</xsd:choice>
11121108
</xsd:complexType>
11131109
<xsd:element name="PassengerCapacity">
11141110
<xsd:annotation>
@@ -1118,17 +1114,9 @@ Bij een Version is attribuut 'version' verplicht. De waarde is gelijk aan attrib
11181114
<xsd:complexContent>
11191115
<xsd:restriction base="PassengerCapacityStructure">
11201116
<xsd:sequence>
1121-
<xsd:sequence>
1122-
<xsd:group ref="EntityInVersionGroup" minOccurs="0"/>
1123-
</xsd:sequence>
1124-
<xsd:sequence>
1125-
<xsd:group ref="DataManagedObjectGroup"/>
1126-
</xsd:sequence>
1127-
<xsd:sequence>
11281117
<xsd:group ref="PassengerCapacityGroup"/>
1129-
</xsd:sequence>
11301118
</xsd:sequence>
1131-
<xsd:attribute name="id" type="PassengerCapacityIdType" use="optional">
1119+
<xsd:attribute name="id" type="PassengerCapacityIdType" use="required" form="unqualified">
11321120
<xsd:annotation>
11331121
<xsd:documentation>Identifier of PASSENGER CAPACITY.</xsd:documentation>
11341122
</xsd:annotation>
@@ -1139,16 +1127,22 @@ Bij een Version is attribuut 'version' verplicht. De waarde is gelijk aan attrib
11391127
</xsd:element>
11401128
<xsd:complexType name="PassengerCapacityStructure">
11411129
<xsd:annotation>
1142-
<xsd:documentation>Capacity for a VEHICLE TYPE and Class.</xsd:documentation>
1130+
<xsd:documentation>Capacity for a VEHICLE TYPE and Class.</xsd:documentation>
11431131
</xsd:annotation>
11441132
<xsd:complexContent>
1145-
<xsd:extension base="DataManagedObjectStructure">
1146-
<xsd:sequence>
1147-
<xsd:group ref="PassengerCapacityGroup"/>
1148-
</xsd:sequence>
1149-
</xsd:extension>
1133+
<xsd:extension base="DataManagedObjectStructure">
1134+
<xsd:sequence>
1135+
<xsd:group ref="PassengerCapacityGroup"/>
1136+
</xsd:sequence>
1137+
</xsd:extension>
11501138
</xsd:complexContent>
11511139
</xsd:complexType>
1140+
<xsd:simpleType name="PassengerCapacityIdType">
1141+
<xsd:annotation>
1142+
<xsd:documentation>Type for identifier of a PASSENGER CAPACITY.</xsd:documentation>
1143+
</xsd:annotation>
1144+
<xsd:restriction base="ObjectIdType"/>
1145+
</xsd:simpleType>
11521146
<xsd:group name="PassengerCapacityGroup">
11531147
<xsd:annotation>
11541148
<xsd:documentation>Elements for a PASSENGER CAPACITY REQUIREMENT. relevant for passenger systems.</xsd:documentation>

0 commit comments

Comments
 (0)