<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Jeff Baker (Carls Furniture) -->
<!-- 
Ver.   Date          By                      Action                                             
1.7     20-Feb-04  Steven Moseley    Created.
-->
<schema targetNamespace="fnWr_v0.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:fnBase="fnBase_v1.6" xmlns:fnItem="fnItem_v1.6" xmlns:fnParty="fnParty_v1.4" xmlns:fnWr="fnWr_v0.1" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="1.7">
	<import namespace="fnBase_v1.6" schemaLocation="C:\FIDX\fn_base_v1.6.xsd"/>
	<import namespace="fnItem_v1.6" schemaLocation="C:\FIDX\fn_Item_v1.6.xsd"/>
	<import namespace="fnParty_v1.4" schemaLocation="C:\FIDX\fn_Party_v1.4.xsd"/>
	<element name="warrantyRegistration">
		<complexType>
			<annotation>
				<documentation>Represents a complete furniture purchase order document.</documentation>
			</annotation>
			<sequence>
				<element name="order" type="fnWr:orderType"/>
				<element name="line" type="fnWr:lineItemType" maxOccurs="unbounded"/>
			</sequence>
		</complexType>
	</element>
	<complexType name="orderType">
		<annotation>
			<documentation>Represents the header component of the order.</documentation>
		</annotation>
		<sequence>
			<element name="document">
				<annotation>
					<documentation>Basic document header information. The id could be the retailer's sales order number. The ID and Version are the unique key.</documentation>
				</annotation>
				<complexType>
					<complexContent>
						<extension base="fnBase:documentType">
							<attribute name="versionTimestamp" use="required">
								<simpleType>
									<restriction base="string">
										<maxLength value="14"/>
									</restriction>
								</simpleType>
							</attribute>
						</extension>
					</complexContent>
				</complexType>
			</element>
			<element name="warrantyType">
				<simpleType>
					<restriction base="string">
						<enumeration value="manufacturers"/>
						<enumeration value="extended"/>
					</restriction>
				</simpleType>
			</element>
			<element name="warrantor" type="fnParty:partyIdentificationType">
				<annotation>
					<documentation>Entity Warranting Property Could be Manufacturer, Insurance Co or Warranty Co</documentation>
				</annotation>
			</element>
			<element name="seller" type="fnParty:partyIdentificationType" minOccurs="0">
				<annotation>
					<documentation>Seller if differnet than Warrantor such as insurance agent</documentation>
				</annotation>
			</element>
			<element name="buyer" type="fnParty:partyIdentificationType">
				<annotation>
					<documentation>Buyer/Dealer party in the transaction usually Retailer</documentation>
				</annotation>
			</element>
			<element name="consumer" type="fnParty:partyIdentificationType">
				<annotation>
					<documentation>Entity receiving warranty usually end consumer</documentation>
				</annotation>
			</element>
			<element name="warrantySerialNumber" type="string" minOccurs="0">
				<annotation>
					<documentation>ID for Warranty from Warrantor</documentation>
					<documentation>ID for Warranty</documentation>
				</annotation>
			</element>
			<element name="warrantyPrice">
				<complexType>
					<sequence>
						<element name="buyerPrice" type="fnBase:monetaryAmountType">
							<annotation>
								<documentation>Buyer cost for the warranty.</documentation>
							</annotation>
						</element>
						<element name="consumerPrice" type="fnBase:monetaryAmountType" minOccurs="0">
							<annotation>
								<documentation>Consumer cost for the warranty.</documentation>
							</annotation>
						</element>
					</sequence>
				</complexType>
			</element>
			<element name="currency">
				<annotation>
					<documentation>Currency used in all prices within the purchase order</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="3"/>
					</restriction>
				</simpleType>
			</element>
			<element name="exchangeRate" type="fnBase:exchangeRateType" minOccurs="0">
				<annotation>
					<documentation>Exchange rate used in calculating prices.</documentation>
				</annotation>
			</element>
			<element name="date" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>Date the order was placed.</documentation>
				</annotation>
				<complexType>
					<simpleContent>
						<extension base="date">
							<attribute name="Date" type="date"/>
							<attribute name="Type">
								<simpleType>
									<restriction base="string">
										<pattern value="purchaseDate"/>
										<pattern value="deliveryDate"/>
										<pattern value="returnDate"/>
										<pattern value="cancelDate"/>
										<enumeration value="WarrantyPurchaseDate"/>
										<enumeration value="WarrantyEffectiveDate"/>
										<enumeration value="ProductPurchaseDate"/>
										<enumeration value="ProductDeliveryDate"/>
									</restriction>
								</simpleType>
							</attribute>
						</extension>
					</simpleContent>
				</complexType>
			</element>
			<element name="discount" type="fnBase:discountOrAllowanceType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>Explanation of included discount that applied to the whole of the purchased order.</documentation>
				</annotation>
			</element>
			<element name="additionalCharge" type="fnBase:additionalChargeType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>Additional shipping, handling, or other charges that may be added to the order.</documentation>
				</annotation>
			</element>
			<element name="systemReference" type="fnBase:systemReferenceType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>A system reference facilitates automated processing of the document by including data elements that are not necessarily part of a standard transaction but are required or desired by the computer systems of the trading partners.  Effective use of system references requires pre-arrangement between trading partners.  NOTE: this structure should not be used for data that is otherwise accommodated within a transaction schema.</documentation>
				</annotation>
			</element>
			<element name="warrantyTransferable" type="int">
				<annotation>
					<documentation>An Integer value stating how many times the warranty can be transfered, 999999 for unlimited</documentation>
				</annotation>
			</element>
		</sequence>
		<attribute name="comment" type="string" use="optional">
			<annotation>
				<documentation>General comments about the warranty.</documentation>
			</annotation>
		</attribute>
	</complexType>
	<complexType name="lineItemType">
		<annotation>
			<documentation>Furniture line item extension used as base for quotes and WRs</documentation>
		</annotation>
		<sequence>
			<element name="productID" type="fnItem:itemIdentifierType">
				<annotation>
					<documentation>Identification of product to be purchased.</documentation>
				</annotation>
			</element>
			<element name="option" type="fnItem:itemOptionType" minOccurs="0" maxOccurs="unbounded">
				<annotation>
					<documentation>An option for the item.</documentation>
				</annotation>
			</element>
			<element name="quantityWarranted" type="fnBase:quantityType">
				<annotation>
					<documentation>Quantity of Items Purchased that are covered by this Warranty</documentation>
				</annotation>
			</element>
			<element name="quantityPurchased" type="fnBase:quantityType">
				<annotation>
					<documentation>Quantity of above item purchased.</documentation>
				</annotation>
			</element>
			<element name="retailUnitPrice" type="fnBase:monetaryAmountType">
				<annotation>
					<documentation>Retail price of this item including discounts, surcharges and options.</documentation>
				</annotation>
			</element>
			<element name="retailExtendedPrice" type="fnBase:monetaryAmountType" minOccurs="0">
				<annotation>
					<documentation>Extended price of this item including discounts, surcharges and options.</documentation>
				</annotation>
			</element>
			<element name="referenceNumber" type="fnBase:referenceNumberType" maxOccurs="unbounded">
				<annotation>
					<documentation>Unique Piece Identification Serial Number such as RFID or Manufacturer's Serial Number</documentation>
				</annotation>
			</element>
			<element name="warrantyDurationTimePeriod" type="fnBase:quantityType" minOccurs="0"/>
		</sequence>
		<attribute name="lineItemNumber" type="positiveInteger" use="required"/>
	</complexType>
</schema>
