<xsd:element name="PartsLocator" type="PartsLocatorType">
<xsd:annotation>
<xsd:documentation source="http://www.starstandard.org/STAR/5">
PartsLocator defines the Part Locator process for individual dealers
who use either OEM or third party part locator services to locate parts at nearby local
dealerships. For each Parts Locator represented in the Data Area of the PartsLocator BOD,
there must be one occurrence of the PartsLocator component.
</xsd:documentation>
</xsd:annotation>
<xsd:key name="RequestedLinesKey">
<xsd:selector xpath="star:RequestedLines/star:RequestedLine" />
<xsd:field xpath="star:RequestedLineUIDID" />
</xsd:key>
<xsd:unique name="RequestedLinesAlternateKey">
<xsd:selector xpath="star:RequestedLines/star:RequestedLine" />
<xsd:field xpath="star:LineNumber" />
</xsd:unique>
<xsd:key name="SupplyingPartiesKey">
<xsd:selector xpath="star:SupplyingParties/star:PartsLocatorSupplyingParty" />
<xsd:field xpath="star:SupplyingPartyUIDID" />
</xsd:key>
<xsd:unique name="SupplyingPartiesAlternateKey">
<xsd:selector xpath="star:SupplyingParties/star:PartsLocatorSupplyingParty" />
<xsd:field xpath="star:PartyId" />
</xsd:unique>
<xsd:key name="SupplierPartyLocationsKey">
<xsd:selector xpath="star:SupplyingPartyLocations/star:SupplyingPartyLocation" />
<xsd:field xpath="star:SupplyingPartyLocationUIDID" />
<xsd:field xpath="star:SupplyingPartyUIDID" />
</xsd:key>
<xsd:key name="LocatedLinesKey">
<xsd:selector xpath="star:LocatedLines/star:LocatedLine" />
<xsd:field xpath="star:LocatedLineUIDID" />
</xsd:key>
<xsd:keyref name="SupplierLocationsRef" refer="SupplyingPartiesKey">
<xsd:selector xpath="star:SupplyingLocations/star:Location" />
<xsd:field xpath="star:SupplyingPartyUIDID" />
</xsd:keyref>
<xsd:keyref name="LocatedLinesRef" refer="RequestedLinesKey">
<xsd:selector xpath="star:LocatedLines/star:LocatedLine" />
<xsd:field xpath="star:RequestedLineUIDID" />
</xsd:keyref>
<xsd:keyref name="LocatedLinesSelfJoinRef" refer="LocatedLinesKey">
<xsd:selector xpath="star:LocatedLines/star:LocatedLine" />
<xsd:field xpath="star:ParentLocatedLineUIDID" />
</xsd:keyref>
<xsd:keyref name="LocatedLinesSupplyingPartyRef" refer="SupplyingPartiesKey">
<xsd:selector xpath="star:LocatedLines/star:LocatedLine" />
<xsd:field xpath="star:SupplyingPartyUIDID" />
</xsd:keyref>
<xsd:keyref name="LocatedLinesSupplierLocationsRef" refer="SupplierPartyLocationsKey">
<xsd:selector xpath="star:LocatedLines/star:LocatedLine" />
<xsd:field xpath="star:SupplyingPartyLocationUIDID" />
<xsd:field xpath="star:SupplyingPartyUIDID" />
</xsd:keyref>
</xsd:element>
|