-<xsd:schema targetNamespace="http://www.starstandard.org/STAR/5" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> This schema is made available under an Eclipse Public Licenses 1.0. This license may be found in the STAR/License directory as well as the STAR BOD Guidelines. </xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="../Components/Common/Meta.xsd"/>
<xsd:import namespace="http://www.starstandard.org/STAR/5/qualifieddatatypes/1.0" schemaLocation="../Components/Common/QualifiedDataTypes.xsd"/>
<xsd:import namespace="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1" schemaLocation="../Components/OAGIS/CoreComponents/UnqualifiedDataTypes.xsd"/>
<xsd:import namespace="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1" schemaLocation="../Components/OAGIS/CoreComponents/QualifiedDataTypes.xsd"/>
<xsd:import namespace="http://www.starstandard.org/STAR/5/codelists" schemaLocation="../Components/Common/CodeLists.xsd"/>
<xsd:import namespace="http://www.openapplications.org/oagis/9" schemaLocation="../Components/OAGIS/Common/Components.xsd"/>
-<xsd:element name="ServiceAppointment" type="ServiceAppointmentType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> ServiceAppointment defines the Service Appointment for individual consumers who schedule service appointments with their local dealership via the Internet. Additionally OEMs might use the ServiceAppointment to communicate to a Dealer the Service Contract and Repair Information (Labor Operations) related to the contract.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="ServiceAppointmentHeader" type="ServiceAppointmentHeaderType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> Service Appointment Header </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="ServiceAppointmentDetail" type="ServiceAppointmentDetailType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> Service Appointment Detail </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:complexType name="ServiceAppointmentType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">STAR Version 3.0 - Draft</xsd:documentation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">STAR Version 2.1, STAR approved 04/20/2005; effective date 07/04/2005</xsd:documentation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">STAR Version 2.0, STAR approved 05/07/2004; effective date 07/04/2004</xsd:documentation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">STAR Version 1.0, STAR approved 10/4/2002; OAGI approved 10/17/2002; effective date 1/01/2003</xsd:documentation>
</xsd:annotation>
-<xsd:sequence>
<xsd:element ref="ServiceAppointmentHeader"/>
<xsd:element ref="ServiceAppointmentDetail"/>
</xsd:sequence>
</xsd:complexType>
-<xsd:complexType name="ServiceAppointmentHeaderType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">.</xsd:documentation>
</xsd:annotation>
-<xsd:complexContent>
-<xsd:extension base="HeaderBaseType">
-<xsd:sequence>
-<xsd:element name="AccountGroupCode" type="udt:CodeType" minOccurs="0">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Code that identifies the manufacturer for pricing.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="ServiceHistoryPermissionApprovalIndicator" type="udt:IndicatorType" minOccurs="0">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Indicates that the customer approved the sharing of any known previous service for this VIN to the Service Dealership where the appointment is being requested.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="DealerParty" minOccurs="0"/>
<xsd:element ref="ProviderParty" minOccurs="0"/>
<xsd:element ref="AppointmentContactParty" minOccurs="0"/>
<xsd:element ref="OwnerParty" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="Co-OwnerParty" minOccurs="0"/>
<xsd:element ref="PrimaryDriver" minOccurs="0"/>
<xsd:element ref="SecondaryPrimaryDriver" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ServiceAppointmentVehicleLineItem" minOccurs="0"/>
<xsd:element ref="Warranty" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ServiceContract" minOccurs="0" maxOccurs="unbounded"/>
-<xsd:element name="ServiceAppointmentPriorityCode" type="udt:CodeType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> A code list that describes the priority of the service appointment.For example: "Customer Waiting". </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="DateAppointmentInitiated" type="udt:DateTimeType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> The date the Customer contacted the service location to schedule an appointment. </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="ServiceScheduleStartDateTime" type="udt:DateTimeType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> The start date and time of the service schedule. </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="ServiceScheduleDuration" type="sqdt:TimeMeasureType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> The duration of the service schedule. </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
-<xsd:complexType name="ServiceAppointmentDetailType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Detail for each service visit requested</xsd:documentation>
</xsd:annotation>
-<xsd:sequence>
<xsd:element name="RequestedService" type="RequestedServiceExpandedType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="Appointment" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="CustomerPaymentMethod" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
-<xsd:element name="ServiceAppointmentVehicleLineItem" type="ServiceAppointmentVehicleLineItemType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5"> Detail information regarding a vehicle for a particular service appointment. </xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:complexType name="ServiceAppointmentVehicleLineItemType">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">.</xsd:documentation>
</xsd:annotation>
-<xsd:sequence>
<xsd:element ref="Vehicle" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="BrandedInfo" minOccurs="0" maxOccurs="1"/>
-<xsd:element name="OriginalSoldDate" type="udt:DateType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">The date the item, e.g., a vehicle, engine, boat, part, etc. was sold.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="DeliveryDistanceMeasure" type="sqdt:LengthMeasureType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Odometer reading of vehicle at time of delivery</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="IgnitionKeyNumberString" type="qdt:StringType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Vehicle Ignition Key Number</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="NonUSVehicleIndicator" type="udt:IndicatorType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Indicates whether the vehicle was produced for the United States or not</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="OdometerStatus" type="udt:TextType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Status of odometer at trade-in. Example:: Replaced, Tampered, Miles> 90,000, etc.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="RestrictionIndicator" type="udt:IndicatorType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Indication that vehicle has restrictions on its use</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="RestrictionDescription" type="udt:TextType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Description of vehicle use restrictions</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="TelematicsServiceIndicator" type="udt:IndicatorType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Indication whether Telematics Service Subscription is turned on</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="VehicleDemoIndicator" type="udt:IndicatorType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Indicates whether vehicle was ever a demo</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="VehicleStockString" type="qdt:StringType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Dealer assigned vehicle stock number</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="LicenseNumberString" type="qdt:StringType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">State License plate number of vehicle</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="CertifiedPreownedIndicator" type="udt:IndicatorType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Identifies as a certified Pre-Owned Vehicle</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ImageAttachment" minOccurs="0" maxOccurs="1"/>
-<xsd:element name="SoldAreaEmissionCode" type="udt:CodeType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">The code for the geographical Area that the unit is sold.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="VehicleOriginCountryCode" type="scl:CountryEnumeratedType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">The country where the vehicle was manufactured.</xsd:documentation>
</xsd:annotation>
</xsd:element>
-<xsd:element name="InDistanceMeasure" type="sqdt:LengthMeasureType" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">Odometer reading of vehicle when repair order was opened</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>