<xs:complexType name="CarFloorType">
<xs:simpleContent>
<xs:extension base="FloorNumber">
<xs:attribute name="Deck" type="DeckNumber" use="optional">
<xs:annotation>
<xs:documentation>If the car has more than one passenger deck the FloorNumber must be qualified by the deck which is at that floor.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Shaft" type="ShaftID" use="optional">
<xs:annotation>
<xs:documentation>If the car can move between shafts the FloorNumber must be qualified by the shaft which the car will occupy at that floor.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
|