<xs:complexType name="FloorStop">
<xs:annotation>
<xs:documentation>Combined information relating to a car stopping at a floor to allow passengers to enter and/or leave a car.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Floor" type="CarFloorType" />
<xs:element name="RegisteredCalls" type="CallSet" minOccurs="0" maxOccurs="1" />
<xs:element name="PassengersArriving" type="xs:integer" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Passengers traveling in the car when it stops moving at the floor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PassengersExiting" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Passengers exiting the car at the floor (assume passengers exit before any enter)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Count" type="xs:integer" use="required" />
<xs:attribute name="PTT" type="Seconds" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="PassengersEntering" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Passengers entering the car at the floor</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="Count" type="xs:integer" use="required" />
<xs:attribute name="PTT" type="Seconds" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="PassengersLeaving" type="xs:integer" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Passengers traveling in the car when it starts moving from the floor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Timing" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:choice>
<xs:element name="Duration" type="Seconds" />
<xs:element name="Times">
<xs:annotation>
<xs:documentation>These are absolute times</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ArrivalTime" type="xs:dateTime" use="required" />
<xs:attribute name="DepartureTime" type="xs:dateTime" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="TimesAfter">
<xs:annotation>
<xs:documentation>These are times relative to the start of the TravelPlan to which the FloorStop belongs</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ArrivalTime" type="Seconds" use="required" />
<xs:attribute name="DepartureTime" type="Seconds" use="optional" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
|