If the car has more than one passenger deck the FloorNumber must be qualified by the deck which is at that floor.
XSD Schema Diagram:
XSD Schema Code:
<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>