Schema Name: AgXML_v2.0_Message_CommodityMovement.xsd
Target Namespace: urn:www.agxml.org:schemas:all:2:0
Collapse XSD Schema Code:

<!-- 
      Copyright 2001-2006 AgXML, LLC. All rights reserved.
      Use of this schema is subject to the license agreement available at http://www.agxml.org.
-->
<xsd:schema targetNamespace="urn:www.agxml.org:schemas:all:2:0" xmlns="urn:www.agxml.org:schemas:all:2:0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:include schemaLocation="AgXML_v2.0_Shared.xsd"/>
	<xsd:include schemaLocation="AgXML_v2.0_Message_QualityCertificate.xsd"/>
	<xsd:include schemaLocation="AgXML_v2.0_Message_WeightCertificate.xsd"/>
	<xsd:element name="ApplicationAllocation" type="ApplicationAllocationType"/>
	<xsd:complexType name="ApplicationAllocationType">
		<xsd:choice>
			<xsd:element ref="QuantityAllocation"/>
			<xsd:element ref="PercentAllocation"/>
		</xsd:choice>
	</xsd:complexType>
	<xsd:element name="ApplicationInstruction" type="ApplicationInstructionType"/>
	<xsd:complexType name="ApplicationInstructionType">
		<xsd:sequence>
			<xsd:element ref="ApplicationType"/>
			<xsd:element ref="ApplicationSequence"/>
			<xsd:element ref="ContractIdentifier" minOccurs="0"/>
			<xsd:element ref="ApplicationAllocation" minOccurs="0"/>
			<xsd:element ref="Remark" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="ApplicationSequence" type="ApplicationSequenceType"/>
	<xsd:simpleType name="ApplicationSequenceType">
		<xsd:restriction base="xsd:integer"/>
	</xsd:simpleType>
	<xsd:element name="ApplicationType" type="ApplicationTypeType"/>
	<xsd:simpleType name="ApplicationTypeType">
		<xsd:restriction base="ListApplicationType"/>
	</xsd:simpleType>
	<xsd:simpleType name="CommodityMovementCreateDateTimeType">
		<xsd:restriction base="xsd:dateTime"/>
	</xsd:simpleType>
	<xsd:simpleType name="CommodityMovementLastUpdateDateTimeType">
		<xsd:restriction base="xsd:dateTime"/>
	</xsd:simpleType>
	<xsd:simpleType name="PercentAllocationType">
		<xsd:restriction base="xsd:decimal"/>
	</xsd:simpleType>
	<xsd:simpleType name="SellerApplicationSequenceType">
		<xsd:restriction base="xsd:integer"/>
	</xsd:simpleType>
	<xsd:element name="CommodityMovement" type="CommodityMovementType"/>
	<xsd:complexType name="CommodityMovementType">
		<xsd:sequence>
			<xsd:element ref="CommodityMovementCreateDateTime"/>
			<xsd:element ref="CommodityMovementLastUpdateDateTime"/>
			<xsd:element ref="CommodityMovementType"/>
			<xsd:element ref="CommodityMovementStatus"/>
			<xsd:element ref="CommodityMovementBuyer"/>
			<xsd:element ref="CommodityMovementSeller" maxOccurs="unbounded"/>
			<xsd:element ref="TransportationMode"/>
			<xsd:element ref="ShipmentInformation" minOccurs="0"/>
			<xsd:element ref="CommodityInformation"/>
			<xsd:element ref="CommodityMovementWeightInformation" minOccurs="0"/>
			<xsd:element ref="CommodityMovementQualityInformation" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementActualQualityInformation" type="CommodityMovementActualQualityInformationType"/>
	<xsd:complexType name="CommodityMovementActualQualityInformationType">
		<xsd:sequence>
			<xsd:element ref="QualityCertificate"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementActualWeightInformation" type="CommodityMovementActualWeightInformationType"/>
	<xsd:complexType name="CommodityMovementActualWeightInformationType">
		<xsd:sequence>
			<xsd:element ref="WeightCertificate"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementBuyer" type="CommodityMovementBuyerType"/>
	<xsd:complexType name="CommodityMovementBuyerType">
		<xsd:sequence>
			<xsd:element ref="EntityInformation"/>
			<xsd:element ref="ContactInformation" minOccurs="0"/>
			<xsd:element ref="ApplicationInstruction" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="CommodityMovementIdentifier" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementCreateDateTime" type="CommodityMovementCreateDateTimeType"/>
	<xsd:element name="CommodityMovementLastUpdateDateTime" type="CommodityMovementLastUpdateDateTimeType"/>
	<xsd:element name="CommodityMovementQualityInformation" type="CommodityMovementQualityInformationType"/>
	<xsd:complexType name="CommodityMovementQualityInformationType">
		<xsd:sequence>
			<xsd:element ref="CommodityMovementQualityInstructionInformation" minOccurs="0"/>
			<xsd:element ref="CommodityMovementActualQualityInformation" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementQualityInstructionInformation" type="CommodityMovementQualityInstructionInformationType"/>
	<xsd:complexType name="CommodityMovementQualityInstructionInformationType">
		<xsd:sequence>
			<xsd:element ref="ServiceEvent"/>
			<xsd:element ref="ServiceOfficialCategory"/>
			<xsd:element ref="SampleMethod" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementSeller" type="CommodityMovementSellerType"/>
	<xsd:complexType name="CommodityMovementSellerType">
		<xsd:sequence>
			<xsd:element ref="SellerApplicationSequence" minOccurs="0"/>
			<xsd:element ref="EntityInformation"/>
			<xsd:element ref="ContactInformation" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="CommodityMovementIdentifier" minOccurs="0"/>
			<xsd:element ref="ApplicationInstruction" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementStatus" type="CommodityMovementStatusType"/>
	<xsd:simpleType name="CommodityMovementStatusType">
		<xsd:restriction base="ListCommodityMovementStatus"/>
	</xsd:simpleType>
	<xsd:element name="CommodityMovementType" type="CommodityMovementTypeType"/>
	<xsd:simpleType name="CommodityMovementTypeType">
		<xsd:restriction base="ListCommodityMovementType"/>
	</xsd:simpleType>
	<xsd:element name="CommodityMovementWeightInformation" type="CommodityMovementWeightInformationType"/>
	<xsd:complexType name="CommodityMovementWeightInformationType">
		<xsd:sequence>
			<xsd:element ref="CommodityMovementWeightInstructionInformation" minOccurs="0"/>
			<xsd:element ref="CommodityMovementActualWeightInformation" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="CommodityMovementWeightInstructionInformation" type="CommodityMovementWeightInstructionInformationType"/>
	<xsd:complexType name="CommodityMovementWeightInstructionInformationType">
		<xsd:sequence>
			<xsd:element ref="ServiceEvent"/>
			<xsd:element ref="ServiceOfficialCategory"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="PercentAllocation" type="PercentAllocationType"/>
	<xsd:element name="SellerApplicationSequence" type="SellerApplicationSequenceType"/>
	<xsd:element name="ShipmentInformation" type="ShipmentInformationType"/>
	<xsd:complexType name="ShipmentInformationType">
		<xsd:sequence>
			<xsd:element ref="Shipper" minOccurs="0"/>
			<xsd:element ref="FreightCarrier" minOccurs="0"/>
			<xsd:element ref="RailShipmentIdentifier" minOccurs="0"/>
			<xsd:element ref="ShipmentSize" minOccurs="0"/>
			<xsd:element ref="VehicleIdentification"/>
			<xsd:element ref="Origin" minOccurs="0"/>
			<xsd:element ref="Destination" minOccurs="0"/>
			<xsd:element ref="FreightRateInformation" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
Collapse ComplexTypes:
Collapse Elements:
Collapse SimpleTypes: