<xsd:complexType name="Vehicle_Detail">
<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">
<xsd:sequence>
<xsd:element minOccurs="0" name="Description" type="ota2-0400:TextFree">
<xsd:annotation>
<xsd:documentation source="Description">A description of the vehicle(s) available for a transfer.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="LicensePlate" type="pgt-0200:LicensePlate">
<xsd:annotation>
<xsd:documentation source="Description">The license plate/registration of the vehicle.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="ota2:ExtensionPoint_Detail" />
</xsd:sequence>
<xsd:attribute name="make" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The make of the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Town Car</otm:Equivalent>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Lincoln</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="model" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The model of the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" />
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Suburban</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="year" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The model year of the vehicle.
Query: should this be a yyyy pattern?</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:attribute name="maxPassengers" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The maximum passengers allowed in the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">7</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="maxAccessible" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The maximum accessible capacity of the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="color" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The colour of the vehicle.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="pgt" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Blue</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="disabilityVehicleInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If true, this vehicle is disability compatible.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
|