<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Geoff Mack (FurnishNet) -->
<!-- (c) 2003 FurnishNet.com.  All rights reserved.  Contains confidential and proprietary information. -->
<!-- 
Ver.   Date                By                     Action
1.0     26-Sep-03  Geoff Mack          Renamed to fn_txWrap (short for transaction wrapper) and reset version number to 1.0, per decision 
                                                         at the September 20, 2003 taken at the FIDX meeting in Charlotte, NC.  Adjusted to look at the most recent 
                                                         (v1.7) version of all referenced transaction schemas.
1.5     30-Jul-03    Geoff Mack          Adjusted xlink names in asn and invoice to avoid naming conflicts and referenced
                                                          those schemas from envelope v1.4.
1.4     07-Aug-01  Geoff Mack          Updated FurnishNet URIs and version numbers of referenced schemas.
1.3     18-Jun-01   Geoff Mack          Changed data type of txControl attributes from NMTOKEN to string.
1.2     10-May-01  Geoff Mack           Swapped order of txEvent and txControl so that the control information will
                                                           appear at the top of the XML instance documents.
                                                           Changed data type of transactionGroupControlNumber from ID to NMTOKEN
                                                           to allow for purely numeric control numbers.
1.1     19-Mar-01   Geoff Mack          Added sourceTradingPartnerID and destinationTradingPartnerID attributes.
1.0     28-Feb-01   Geoff Mack          Created.

-->
<schema targetNamespace="http://support.furnishnet.com/xml/schemas/fnTxWrap_v1.0" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:fnTxWrap="http://support.furnishnet.com/xml/schemas/fnTxWrap_v1.0" xmlns:furn_po="http://support.furnishnet.com/xml/schemas/FurnPO_v1.7" xmlns:fnPOAck="http://support.furnishnet.com/xml/schemas/fnPOAck_v1.7" xmlns:fnASN="http://support.furnishnet.com/xml/schemas/fnASN_v1.7" xmlns:fnInvoice="http://support.furnishnet.com/xml/schemas/fnInvoice_v1.7" version="1.0">
	<import namespace="http://support.furnishnet.com/xml/schemas/FurnPO_v1.7" schemaLocation="http://support.furnishnet.com/xml/schemas/FurnXMLPO_v1.7.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnPOAck_v1.7" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_poAck_v1.7.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnASN_v1.7" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_asn_v1.7.xsd"/>
	<import namespace="http://support.furnishnet.com/xml/schemas/fnInvoice_v1.7" schemaLocation="http://support.furnishnet.com/xml/schemas/fn_invoice_v1.7.xsd"/>
	<complexType name="txEventType">
		<sequence>
			<choice>
				<element name="purchaseOrder" type="furn_po:POType" maxOccurs="unbounded"/>
				<element name="purchaseOrderAck" type="fnPOAck:poAckType" maxOccurs="unbounded"/>
				<element name="advanceShipNotice" type="fnASN:advanceShipNoticeType" maxOccurs="unbounded"/>
				<element name="invoice" type="fnInvoice:invoiceType" maxOccurs="unbounded"/>
			</choice>
		</sequence>
	</complexType>
	<complexType name="txWrapType">
		<sequence>
			<element name="txControl">
				<complexType>
					<sequence>
						<element name="timeStamp" type="dateTime" minOccurs="0">
							<annotation>
								<documentation>Date and time this event set was generated.  Format conforms to ISO 8601: CCYY-MM-DDTHH:MM:SS</documentation>
							</annotation>
						</element>
						<element name="testEvent" type="boolean" default="false">
							<annotation>
								<documentation>The default value (false) means by default this is a production event.</documentation>
							</annotation>
						</element>
					</sequence>
					<attribute name="transactionSetIdentifier" use="required">
						<simpleType>
							<restriction base="string">
								<enumeration value="PO"/>
								<enumeration value="POA"/>
								<enumeration value="ASN"/>
								<enumeration value="INVOICE"/>
							</restriction>
						</simpleType>
					</attribute>
					<attribute name="transactionGroupControlNumber" type="string" use="optional"/>
				</complexType>
			</element>
			<element name="txEvent" type="fnTxWrap:txEventType"/>
		</sequence>
	</complexType>
	<element name="txWrap" type="fnTxWrap:txWrapType"/>
</schema>
