<xsd:complexType name="Vehicle">
<xsd:annotation>
<xsd:documentation source="Description">Defines a specific vehicle (make, model, seats etc.)</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="BusinessObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Vehicle</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="pgt-0200:Vehicle_ID">
<xsd:sequence>
<xsd:element maxOccurs="5" minOccurs="0" ref="ota2-0400:Description">
<xsd:annotation>
<xsd:documentation source="Description">A description or image of the vehicle.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="5" minOccurs="0" name="Luggage" type="pgt-0200:Luggage">
<xsd:annotation>
<xsd:documentation source="Description">Type and quantity of luggage.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="10" minOccurs="0" ref="ota2-0400:Amenity">
<xsd:annotation>
<xsd:documentation source="Description">Feature available in the vehicle</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="ota2:ExtensionPoint_Summary" />
</xsd:sequence>
<xsd:attribute name="seats" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The maximum seats in the vehicle - usually This figure is based on the quantity of seat belts in the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">4</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="category" type="pgt-0200:VehicleCategory_Enum" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">e.g. car, van, limo etc.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Premium</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bkgClass" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The class of service, e.g. Business.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Business</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="modelYear" type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The year the vehicle was registered</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2016</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
|