<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2012 rel. 2 (http://www.altova.com) by Alin Pop (Zendor GSI Commerce) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:simpleType name="empty-date">
		<xs:union memberTypes="xs:date empty-string"/>
	</xs:simpleType>
	<xs:simpleType name="empty-string">
		<xs:restriction base="xs:string">
			<xs:enumeration value=""/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="orderRequest">
		<xs:annotation>
			<xs:documentation>Sales order request that Radial operation should fullfill it. Only one sales order per document allowed.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:all>
				<xs:element name="orderId">
					<xs:annotation>
						<xs:documentation>Unique sales order identifier</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="100"/>
							<xs:minLength value="1"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="clientId">
					<xs:annotation>
						<xs:documentation>Client identifier/code. It is provided during the implementation phase.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="10"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="externalOrderReference" type="xs:string" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Third party order reference used to  identify the order in an external Order Management System</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="catalogId" type="xs:string" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Catalogue identifier if any. In use when your business  runs multiple brands. If not applicable please do not provide it.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="doNotShip" default="0" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Whether or not the sales order should be despatch or not. Valid options are: 0 and 1. Value "1" means that the order doesn't need to be despatch. Value "0" means the order must be despatch.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:enumeration value="1"/>
							<xs:enumeration value="0"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="originalQty" type="xs:int" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Original sales order quantity. This flag is in use in case you will be using Ebay Ent. ship from store functionality. If not please do not provide it.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="origin" type="xs:string">
					<xs:annotation>
						<xs:documentation>Origin of the sales order. For  instance "WEB"</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="language" type="xs:string">
					<xs:annotation>
						<xs:documentation>Two letter country codes as per ISO 3166-1 alpha-2</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="orderDate" type="xs:dateTime">
					<xs:annotation>
						<xs:documentation>Date time when the sales order has been placed on the web-store. Date format as per W3C ISO 8601. Sample: 2009-11-05T13:15:30Z</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="customerNote" type="xs:string" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Custmer special instructions that could be printed on advice note. Currently not in use but if requested could be supported. Limited to 120 characters.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="deliveryInstruction" type="xs:string" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Message that could be passed over to the currier system. Note that not all curriers may have or use this functionality. Limited to 60 characters if WMS is PRIAM otherwise 100 characters.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="shippingMethod">
					<xs:annotation>
						<xs:documentation>Delivery method to allocate the order to a given carrier service. The exact values will be provided at the time of integration.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="55"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="shippingCost">
					<xs:annotation>
						<xs:documentation>VAT inclusive shipping charges.  Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. I.e. 6.45</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:decimal">
								<xs:attribute name="unit" type="xs:string" use="required">
									<xs:annotation>
										<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
									</xs:annotation>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="shippingCostNet" type="xs:decimal" minOccurs="0">
					<xs:annotation>
						<xs:documentation>VAT exclusive shipping charge. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="shippingTax" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Shipping tax value. For instance the VAT value. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:decimal">
								<xs:attribute name="rate" type="xs:decimal" use="required">
									<xs:annotation>
										<xs:documentation>Shipping tax percentage rate. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. Please do not add any percentage to the value. i.e. %. Correct value should look like: 20</xs:documentation>
									</xs:annotation>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="giftWrap" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Whether or not the sales order needs to be wrapped as a gift. If the value is "1" then all prices on advice note will be suppressed. Value "0" means no gift wrap.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:enumeration value="0"/>
							<xs:enumeration value="1"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="salesWrap" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Not in use.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:int">
							<xs:enumeration value="1"/>
							<xs:enumeration value="0"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="subtotal">
					<xs:annotation>
						<xs:documentation>Order lines summary VAT inclusive. Do not add shipping charges to this value. Number format: Numeric value with two digits decimal places and a period sign as decimal separator. I.e. 89.68</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:decimal">
								<xs:attribute name="unit" type="xs:string" use="required">
									<xs:annotation>
										<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
									</xs:annotation>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="taxes">
					<xs:annotation>
						<xs:documentation>Element where order taxes are defined. Mainly we use VAT tax.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="tax" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Sales tax value element. Number format: Numeric value with two digits decimal places and a period as decimal separator. I.e. 26.83</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:decimal">
											<xs:attribute name="type" type="xs:string"
												use="required">
												<xs:annotation>
												<xs:documentation>Sales order tax type. I.e. VAT</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="unit" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="amount" type="xs:decimal" use="required">
							<xs:annotation>
								<xs:documentation>Added up value of all sales order taxes defined on "tax" elements below.   Number format: Numeric value with two digits decimal places and a period sign as decimal separator. I.e. 256.21</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="totalPrice">
					<xs:annotation>
						<xs:documentation>Sales order grand total. The amount that the customer pays for the order.  Number format: Numeric value with two digits decimal places and a period as decimal separator. I.e. 1286.29</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:decimal">
								<xs:attribute name="unit" type="xs:string" use="required">
									<xs:annotation>
										<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
									</xs:annotation>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="billToAddress" type="addressType">
					<xs:annotation>
						<xs:documentation>Bill to address</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="shipToAddress" type="addressType">
					<xs:annotation>
						<xs:documentation>Despatch address</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="payments">
					<xs:annotation>
						<xs:documentation>Sales order payment information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:all minOccurs="0">
							<xs:element name="payment" minOccurs="0">
								<xs:annotation>
									<xs:documentation>It provides sales order payment information.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="tender" type="xs:string">
											<xs:annotation>
												<xs:documentation>Payment provider code. I.e. VISA, MASTERCARD, etc</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="type" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>Payment type. I.e. CC (credit card), INVOICE</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:all>
					</xs:complexType>
				</xs:element>
				<xs:element name="lines">
					<xs:annotation>
						<xs:documentation>Order lines information.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="line" maxOccurs="unbounded">
								<xs:complexType>
									<xs:all>
										<xs:element name="lineNumber" type="xs:int">
											<xs:annotation>
												<xs:documentation>Web-store sequence line number.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="sku" type="xs:string">
											<xs:annotation>
												<xs:documentation>Unique product identifier to be used by Ebay Ent. to communicate with the web-store on all feeds. It must be the unique product identifier that is provided into catalogue feed.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="altSku" type="xs:string" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Alternative SKU.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="qty" type="xs:positiveInteger">
											<xs:annotation>
												<xs:documentation>Quantity to despatch.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="lineTotal">
											<xs:annotation>
												<xs:documentation>Extended line total price VAT inclusive. Do not include shipping charges or any discount on this value. Number format: Numeric value with two digits decimal places and a period as decimal separator. I.e. 36.37</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:decimal">
												<xs:attribute name="unit" type="xs:string"
												use="required">
												<xs:annotation>
												<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="orderLineDiscount" type="discountType"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>Order line level discount.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="priorityDispatch" type="xs:boolean"
											default="false" minOccurs="0">
											<xs:annotation>
												<xs:documentation>In use in conjunction with backorders and split orders rules. Valid values are: true and false. Plese do not provide True, TRUE, False or FALSE.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="promoCode" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Promotion code. Maximum length 40 characters.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="40"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="taxes" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Element where order taxes are defined. Mainly we use VAT tax.</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
												<xs:element name="tax" maxOccurs="unbounded">
												<xs:annotation>
												<xs:documentation>Individual tax applied. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. I.e. 26.83</xs:documentation>
												</xs:annotation>
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:decimal">
												<xs:attribute name="type" type="xs:string"
												use="required">
												<xs:annotation>
												<xs:documentation>Sales order tax type. I.e. VAT</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
												<xs:attribute name="unit" type="xs:string"
												use="required">
												<xs:annotation>
												<xs:documentation>Currency code as per ISO 4217 Standard Currency Code.. I.e. EUR, GBP. http://www.iso.org/iso/home/standards/currency_codes.htm</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												<xs:attribute name="amount" type="xs:decimal"
												use="required">
												<xs:annotation>
												<xs:documentation>Total amount. Sum of all taxes. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. I.e. 256.21</xs:documentation>
												</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
										<xs:element name="taxRate" type="xs:decimal" minOccurs="0">
											<xs:annotation>
												<xs:documentation>The tax percentage rate. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. Please do not add any percentage to the value. i.e. %. Correct value should look like: 17.5</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="unitNetPrice" type="xs:decimal"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>VAT exclusive unit price. Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. Correct value should look like: 29.65</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="extendedUnitNetPrice" type="xs:decimal"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>Line unit net total price. Unit net price multiply with the quantity.                                 Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. Correct value should look like: 29.65</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="unitGrossPrice" type="xs:decimal"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>Unit price VAT inclusive.      Decimal value with  two decimal places. Please suppress any thousand separator. Decimal separator should be period. Correct value should look like: 100.65</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="expeditePicking" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Free text. Up to maximum 8 characters length.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="8"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="services" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Additional services attached to sales current line. I.e. Gift message, gift wrap, personalization, etc...</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
												<xs:element name="service" minOccurs="0"
												maxOccurs="unbounded">
												<xs:complexType>
												<xs:all>
												<xs:element name="serviceCode" type="xs:string"/>
												<xs:element name="serviceInstruction"
												type="xs:string" minOccurs="0"/>
												<xs:element name="serviceProperties" minOccurs="0">
												<xs:complexType>
												<xs:sequence>
												<xs:element name="property" minOccurs="0"
												maxOccurs="unbounded">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:string">
												<xs:attribute name="name" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
												</xs:complexType>
												</xs:element>
												<xs:element name="serviceContent" minOccurs="0">
												<xs:complexType>
												<xs:sequence>
												<xs:element name="content" minOccurs="0"
												maxOccurs="unbounded">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:string">
												<xs:attribute name="name" type="xs:string"
												use="optional"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
												</xs:complexType>
												</xs:element>
												<xs:element name="description" type="xs:string"
												minOccurs="0"/>
												<xs:element name="serviceOriginalPrice"
												minOccurs="0">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												<xs:element name="serviceUnitPrice" minOccurs="0">
												<xs:annotation>
												<xs:documentation>Service VAT exlusive price</xs:documentation>
												</xs:annotation>
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												<xs:element name="serviceTotalNet" minOccurs="0">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												<xs:element name="serviceTotal" minOccurs="0">
												<xs:annotation>
												<xs:documentation>Service VAT inclusive price</xs:documentation>
												</xs:annotation>
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												<xs:element name="taxes" minOccurs="0">
												<xs:complexType>
												<xs:sequence>
												<xs:element name="tax" maxOccurs="unbounded">
												<xs:annotation>
												<xs:documentation>Individual tax applied.</xs:documentation>
												<xs:documentation>Example:10.25</xs:documentation>
												</xs:annotation>
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="type" type="xs:string">
												<xs:annotation>
												<xs:documentation>The tax name.</xs:documentation>
												<xs:documentation>Example:VAT</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												<xs:attribute name="rate" type="xs:float">
												<xs:annotation>
												<xs:documentation>The tax percentage rate.</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
												<xs:attribute name="unit" type="xs:string"/>
												<xs:attribute name="amount" type="xs:float">
												<xs:annotation>
												<xs:documentation>Total amount. Sum of all taxes.</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												</xs:complexType>
												</xs:element>
												</xs:all>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="promisedDate" type="empty-date"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>The date when the item/s has/have been promised to the customer.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="attributeOne" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Custom order line attribute.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="30"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="attributeTwo" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Custom order line attribute.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="30"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="attributeThree" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Custom order line attribute.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="30"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="qtyUom" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Quantity unit of measurement that the quantity values are in.
													Default value is "unit"</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="8"/>
												<xs:enumeration value="unit"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="stockPool" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Stock pool, also known as "stock grade", WM system would allocate from.
													For instance grade "A" is the sellable stock to end customer. Grade "B" or "C" is the stock that cannot be sold to end customer. Normally this stock grades would contain products from customer returns and/or damages.
													Default value is grade "A"</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:maxLength value="25"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="isCancelled" type="xs:boolean"
											minOccurs="0">
											<xs:annotation>
												<xs:documentation>Accepts values "true" and "false" only.
													The default value is "false".
													If value "true" is given, then the entire order line is cancelled, regardless the number of units given in the quantity field.

													This should be used only in conjunction with action UPDATE if intended to perform full line level cancellation.

													If intended to just lower the order line quantity e.g. from value 3 to value 2, then this field should be false.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="itemDescription" minOccurs="0">
											<xs:annotation>
												<xs:documentation>If provided Radial's WMS would use it to print it on customer packing slip.

													If not provided, the item description will be used as given on the item master interface.

													A maximum of 120 characters is allowed.

													Note, this feature may not be available on all Radial's WMS. Please validate with the integration team if is active on your feeds flow.</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
												<xs:minLength value="0"/>
												<xs:maxLength value="120"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="hsTariffCode" type="xs:string" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Harmonized commodity product code. If populated, This value will be manifested to the carrier. If empty, customsNumber
													from the Item Master will be manifested to the carrier.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="extendedAttributes"
											type="extendedAttributes" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Encapsulates sales order line level customizable section.

													It enables additional details to be added to the given sales order line.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:all>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="services" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Additional services attached to sales order. I.e. Gift message, gift wrap, personalization</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="service" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:all>
										<xs:element name="serviceCode" type="xs:string"/>
										<xs:element name="serviceInstruction" type="xs:string"
											minOccurs="0"/>
										<xs:element name="serviceProperties" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
												<xs:element name="property" minOccurs="0"
												maxOccurs="unbounded">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:string">
												<xs:attribute name="name" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="serviceContent" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
												<xs:element name="content" minOccurs="0"
												maxOccurs="unbounded">
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:string">
												<xs:attribute name="name" type="xs:string"
												use="optional"/>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="description" type="xs:string"
											minOccurs="0"/>
										<xs:element name="serviceOriginalPrice" minOccurs="0">
											<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="serviceUnitPrice" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Service VAT exlusive price</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="serviceTotalNet" minOccurs="0">
											<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="serviceTotal" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Service VAT inclusive price</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="unit" type="xs:string"/>
												</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="taxes" minOccurs="0">
											<xs:complexType>
												<xs:sequence>
												<xs:element name="tax" maxOccurs="unbounded">
												<xs:annotation>
												<xs:documentation>Individual tax applied.</xs:documentation>
												<xs:documentation>Example:10.25</xs:documentation>
												</xs:annotation>
												<xs:complexType>
												<xs:simpleContent>
												<xs:extension base="xs:float">
												<xs:attribute name="type" type="xs:string">
												<xs:annotation>
												<xs:documentation>The tax name.</xs:documentation>
												<xs:documentation>Example:VAT</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												<xs:attribute name="rate" type="xs:float">
												<xs:annotation>
												<xs:documentation>The tax percentage rate.</xs:documentation>
												</xs:annotation>
												</xs:attribute>
												</xs:extension>
												</xs:simpleContent>
												</xs:complexType>
												</xs:element>
												</xs:sequence>
												<xs:attribute name="unit" type="xs:string"/>
												<xs:attribute name="amount" type="xs:float">
												<xs:annotation>
												<xs:documentation>Total amount. Sum of all taxes.</xs:documentation>
												</xs:annotation>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:all>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="orderDiscount" type="discountType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Order level discount.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="distributionCentre" type="xs:string" default="EEUK01"
					minOccurs="0">
					<xs:annotation>
						<xs:documentation>Distribution centre that is going to fulfill this sales order.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="originalPrice" type="xs:decimal" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Order toal price excluding any discounts.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="messages" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Generic messages element</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="message" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Message ciontent</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="type" type="xs:string">
												<xs:annotation>
												<xs:documentation>Message type. I.e. ADVICE_NOTE</xs:documentation>
												</xs:annotation>
											</xs:attribute>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="deliveryDueDate" type="empty-date" minOccurs="0">
					<xs:annotation>
						<xs:documentation>The date the items should be delivered by the carrier to the final customer.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="colletPlusBookingCode" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Collect+ booking code.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="100"/>
							<xs:minLength value="0"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="messageId" type="xs:long" minOccurs="0">
					<xs:annotation>
						<xs:documentation>The transaction's unique tracking ID from sender’s side that is unique across all transmissions including other interfaces.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="actionType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>The action type to be applied to the given order.

							The following list of actions are supported:

							NEW - create a new order if the order doesn't exist already. If not provided, this is the default value.

							UPDATE - It performs order updates with the given order information. It updates customer details, shipping address, and order lines. Initial order lines have to be bridged in, otherwise, it won't work. This action is possible up to the order is waved (operational processes have been kicked off in the warehouse).

							CANCEL - it performs a full order cancellation subject the order is in a valid state. E.g. the order has not been waved/picked/packed in the warehouse or/and has not been fulfilled already.

							Further validations are performed against actions UPDATE and CANCEL in conjunction with the message ID. The message ID of an update or cancellation request cannot be less than the message ID received with the action NEW. This is to ensure the correct version of the order is stored in Radial's systems.</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:enumeration value="NEW"/>
							<xs:enumeration value="UPDATE"/>
							<xs:enumeration value="CANCEL"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="carrierCode" type="xs:string" minOccurs="0">
					<xs:annotation>
						<xs:documentation>If the customer has purchased a certain shipping service like UPS, DPD, Hermes, etc... then it should be bridged in here. The carrier service name could be provided in the shipping method field. Radials shipping experts would work with you to define the exact carriers / codes at the time of implementation.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="isInternal" type="xs:boolean" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Radial's internal order flag. Reserved, do not use it.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="waveAllocationType" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Reserved. Internal flag, do not use it</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="extendedAttributes" type="extendedAttributes" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Encapsulates sales order header customizable section.

							It enables additional details to be added to the given sales order.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element minOccurs="0" name="additionalAddresses">
					<xs:annotation>
						<xs:documentation>Additional addresses associated to sales order
- Optional element.
- Supported addresses:
  * SENDER
  * PICKUP
  * RETURN_TO

If present in XML, it must have at least one address node
</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" ref="address">
								<xs:annotation>
									<xs:documentation>Accepted address type:
* SENDER
* PICKUP
* RETURN_TO</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:all>
		</xs:complexType>
	</xs:element>
	<xs:element name="address">
		<xs:annotation>
			<xs:documentation/>
		</xs:annotation>
		<xs:complexType>
			<xs:complexContent>
				<xs:extension base="addressType">
					<xs:attribute name="addressType" use="required">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="SENDER"/>
								<xs:enumeration value="PICKUP"/>
								<xs:enumeration value="RETURN_TO"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:extension>
			</xs:complexContent>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="extendedAttributes">
		<xs:annotation>
			<xs:documentation>Encapsulates the customizable section of the message.
				It enables additional details to be added to the given message.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="attribute" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>It holds the actual attribute value.

						Allowable Values: Text string
						Required: Yes
						Max length: 200
						Default Value: blank
						Restrictions: N/A</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="xs:string">
							<xs:attribute name="name" use="required">
								<xs:annotation>
									<xs:documentation>Attribute title

										Allowable Values: Text string
										Required: Yes
										Max length: 30
										Default Value: blank
										Restrictions: Yes</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="30"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="addressType">
		<xs:annotation>
			<xs:documentation>Sales order billing/shipping details</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="title" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer salutation. I.e. Mr.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="companyName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Company name if the customer is a company. Not in use.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="department" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer department. Not in use.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="firstName" type="xs:string">
				<xs:annotation>
					<xs:documentation>Customer first name.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="lastName" type="xs:string">
				<xs:annotation>
					<xs:documentation>Customer last name.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="address1" type="xs:string">
				<xs:annotation>
					<xs:documentation>Customer address field.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="address2" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer address 2 filed.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="city" type="xs:string">
				<xs:annotation>
					<xs:documentation>Customer city.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="zip" type="xs:string">
				<xs:annotation>
					<xs:documentation>Customer post code.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="state" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer county or region.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="country">
				<xs:annotation>
					<xs:documentation>Two letter country codes as per ISO 3166-1 alpha-2</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[a-zA-Z]{2}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="phone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer contact number.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="30"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="fax" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer fax number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="mobile" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer mobile number.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="email" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Customer email address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:all>
		<xs:attribute name="addressId">
			<xs:annotation>
				<xs:documentation>Unique address identifier if any. Not in use.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="discountType">
		<xs:annotation>
			<xs:documentation>Discount compex type</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="freeText" default="Discount" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Free text to describe the discount. Maximum 40 characters length. I.e. Voucher XXXY</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="value">
				<xs:annotation>
					<xs:documentation>Decimal unsigned discount value. Only two precision digits.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal"/>
				</xs:simpleType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:element name="waveAllocationType">
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:maxLength value="3"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
</xs:schema>
