NeTEx-CEN/NeTEx

PassengerStopAssignment table in document does not align with XSD

Closed this issue · 1 comments

image

Notice that the documentation makes the StopPlaceRef or StopPlace mandatory, while it is not in the XSD. Please propose what needs to be changed. QuayRef may be enough, since a Quay itself can only be under a single StopPlace. But we had a discussion on that too, since QuayRef still exists...

        <xsd:group name="PassengerStopAssignmentGroup">
                <xsd:annotation>
                        <xsd:documentation>Elements for a PASSENGER STOP ASSIGNMENT.</xsd:documentation>
                </xsd:annotation>
                <xsd:sequence>
                        <xsd:choice minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>STOP PLACE to which SCHEDULED STOP POINT is to be  assigned.</xsd:documentation>
                                </xsd:annotation>
                                <xsd:element ref="StopPlaceRef"/>
                                <xsd:element ref="StopPlace"/>
                        </xsd:choice>
                        <xsd:choice minOccurs="0"> 
                                <xsd:annotation>
                                        <xsd:documentation>QUAY to which SCHEDULED STOP POINT is to be assigned.</xsd:documentation>
                                </xsd:annotation>
                                <xsd:element ref="QuayRef"/>
                                <xsd:element ref="Quay"/>
                        </xsd:choice>
                        <xsd:choice minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>BOARDING POSITION to which SCHEDULED STOP POINT is to be  assigned.</xsd:documentation>
                                </xsd:annotation>
                                <xsd:element ref="BoardingPositionRef"/>
                                <xsd:element ref="BoardingPosition"/>
                        </xsd:choice>
                        <xsd:element name="trainElements" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:documentation>Train elements to which SCHEDULED STOP POINT is to be assigned.</xsd:documentation>
                                </xsd:annotation>
                                <xsd:complexType>
                                        <xsd:complexContent>
                                                <xsd:extension base="trainStopAssignments_RelStructure"/> 
                                        </xsd:complexContent>
                                </xsd:complexType>
                        </xsd:element>
                </xsd:sequence>
        </xsd:group>

Update the documentation accordingly (SP or Q of BP mandatory) + XSD ANNOTATION