<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 (http://www.altova.com) by Hans van Rossen (Agritect) -->
<!-- ====================================================================== -->
<!-- =====  Delivery Schema Module                      ===== -->
<!-- ====================================================================== -->
<!--
Schema agency:   Floricode/Florecom
Schema version:  0.5
Schema date:     22 oktober 2013

Copyright (C) Florecom (2012). All Rights Reserved.

Sierteelt Delivery

20100402 HvR Added ImageLine, Unbounded StatusType, TradeTotal see new Library RABIE3p0
20100517 HvR Added DocumentStatus in Order/Orderesponse / Upgrade to UN QDT version 7.0
20110510 HvR Upgrade to new Florecom Library RABIE4p0
20120507 HvR Upgrade to new Florecom library RABIE5p0. 
20120612 HvR Upgrade to new Florecom library RABIE6p0.
20131022 HvR Upgrade to new Florecom library RABIE7p0.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dsm="urn:fec:florecom:xml:data:draft:DeliveryStandardMessage:5" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:3" xmlns:feram="urn:fec:florecom:xml:data:draft:ReusableAggregateBusinessInformationEntity:7" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:4" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:7" xmlns:ccts="urn:un:unece:uncefact:data:standard:CoreComponentsTechnicalSpecification:2" targetNamespace="urn:fec:florecom:xml:data:draft:DeliveryStandardMessage:5" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.4">
	<!-- ======================================================================= -->
	<!-- =====  Imports                                                     ==== -->
	<!-- =================================================================================== -->
	<!-- =====  Import of Reusable Aggregate Business Information Entity Schema Module ===== -->
	<!-- ===================================================================================-->
	<xsd:import namespace="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:4" schemaLocation="http://www.unece.org/uncefact/data/standard/UnqualifiedDataType_4p0.xsd"/>
	<!-- ======================================================================= -->
	<!-- ===== Import of Qualified DataType Schema Module                  ===== -->
	<!-- ======================================================================= -->
	<xsd:import namespace="urn:un:unece:uncefact:data:standard:QualifiedDataType:7" schemaLocation="http://www.unece.org/uncefact/data/standard/QualifiedDataType_7p0.xsd"/>
	<!-- ================================================================================== -->
	<!-- ===== Import of Reusable Aggregate Business Information Entity Schema Module ===== -->
	<!-- ================================================================================== -->
	<xsd:import namespace="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:3" schemaLocation="http://www.unece.org/uncefact/data/standard/ReusableAggregateBusinessInformationEntity_3p0.xsd"/>
	<!-- ====================================================================================== -->
	<!-- ===== Import of FEC Reusable Aggregate Business Information Entity Schema Module ===== -->
	<!-- ====================================================================================== -->
	<xsd:import namespace="urn:fec:florecom:xml:data:draft:ReusableAggregateBusinessInformationEntity:7" schemaLocation="http://schemas.florecom.org/xml/data/draft/FEC_ReusableAggregateBusinessInformationEntity_7p0.xsd"/>
	<!-- ======================================================================= -->
	<!-- =====  Element Declarations                                       ===== -->
	<!-- ======================================================================= -->
	<!-- =====  Root Element Declarations for email                        ===== -->
	<!-- ======================================================================= -->
	<xsd:element name="Delivery" type="dsm:DeliveryType"/>
	<xsd:element name="GetDelivery" type="dsm:DeliveryRequestType"/>
	<!-- ======================================================================= -->
	<!-- =====  Root Element Declarations for webservices                  ===== -->
	<!-- ======================================================================= -->
	<xsd:element name="PutDeliveryRequest" type="dsm:PutDeliveryMessage">
		<xsd:annotation>
			<xsd:documentation>Indienen Delivery Request</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="PutDeliveryResponse" type="dsm:PutDeliveryResponseMessage">
		<xsd:annotation>
			<xsd:documentation>Indienen Delivery Response</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="DeliveryRequest" type="dsm:DeliveryRequestMessage">
		<xsd:annotation>
			<xsd:documentation>Opvragen Delivery Request</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="DeliveryResponse" type="dsm:DeliveryResponseMessage">
		<xsd:annotation>
			<xsd:documentation>Opvragen Delivery Response</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<!--================================================================== -->
	<!--=====  Type Definitions                                      ===== -->
	<!--================================================================== -->
	<!--=====  Type Definitions: DeliveryAcknowledgement                           ===== -->
	<!--================================================================== -->
	<xsd:complexType name="DeliveryAcknowledgementType">
		<xsd:sequence>
			<xsd:element name="DeliveryAcknowledge" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="ReferencedDocument" type="ram:ReferencedDocumentType"/>
						<xsd:element name="DeliveryResult" type="udt:IndicatorType"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions:DeliveryRequestType                           ===== -->
	<!--================================================================== -->
	<xsd:complexType name="DeliveryRequestType">
		<xsd:sequence>
			<xsd:element name="ReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="Delivery" type="feram:DeliveryType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="MutationDateTime" type="udt:DateTimeType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions: DeliveryRequestMessage                         ===== -->
	<!--================================================================== -->
	<xsd:complexType name="DeliveryRequestMessage">
		<xsd:sequence>
			<xsd:element name="Header">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="UserName" type="udt:TextType" minOccurs="0"/>
						<xsd:element name="Password" type="udt:TextType" minOccurs="0"/>
						<xsd:element name="MessageID" type="udt:IDType"/>
						<xsd:element name="MessageDateTime" type="udt:DateTimeType"/>
						<xsd:element name="MessageSerial" type="udt:NumericType"/>
						<xsd:element name="ReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="Body">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="DeliveryRequestDetails" type="dsm:DeliveryRequestType"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions: DeliveryResponseMessage                          ===== -->
	<!--================================================================== -->
	<xsd:complexType name="DeliveryResponseMessage">
		<xsd:sequence>
			<xsd:element name="Body">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="DeliveryResponseDetails" type="dsm:DeliveryType"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions: DeliveryType                           ===== -->
	<!--================================================================== -->
	<xsd:complexType name="DeliveryType">
		<xsd:sequence>
			<xsd:element name="AgentParty" type="feram:AgentPartyType" minOccurs="0"/>
			<xsd:element name="DeliveryTradeLineItem" type="feram:DeliveryTradeLineItemType" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions: PutDeliveryMessage                         ===== -->
	<!--================================================================== -->
	<xsd:complexType name="PutDeliveryMessage">
		<xsd:sequence>
			<xsd:element name="Header">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="UserName" type="udt:TextType" minOccurs="0"/>
						<xsd:element name="Password" type="udt:TextType" minOccurs="0"/>
						<xsd:element name="MessageID" type="udt:IDType"/>
						<xsd:element name="MessageDateTime" type="udt:DateTimeType"/>
						<xsd:element name="MessageSerial" type="udt:NumericType"/>
						<xsd:element name="ReferencedDocument" type="ram:ReferencedDocumentType" minOccurs="0" maxOccurs="unbounded"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="Body">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="PutDeliveryRequestDetails" type="dsm:DeliveryType"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<!--================================================================== -->
	<!--=====  Type Definitions: PutDeliveryResponseMessage                           ===== -->
	<!--================================================================== -->
	<xsd:complexType name="PutDeliveryResponseMessage">
		<xsd:sequence>
			<xsd:element name="Body">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="PutDeliveryResponseDetails" type="dsm:DeliveryAcknowledgementType"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
