<!--
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 xmlns = "urn:www.agxml.org:schemas:all:2:0" targetNamespace = "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:element name = "ABANumber" type = "ABANumberType"/>
<xsd:simpleType name = "ABANumberType">
<xsd:restriction base = "xsd:decimal"/>
</xsd:simpleType>
<xsd:simpleType name = "AccountNumberType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "AdjustmentExplanationType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "AdjustmentFeeUnitOfMeasureType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "AdjustmentFlatFeeType">
<xsd:restriction base = "xsd:decimal"/>
</xsd:simpleType>
<xsd:simpleType name = "AdvancePercentageType">
<xsd:restriction base = "xsd:decimal"/>
</xsd:simpleType>
<xsd:simpleType name = "BinType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "CropYearType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "DetailCountType">
<xsd:restriction base = "xsd:integer"/>
</xsd:simpleType>
<xsd:simpleType name = "FarmType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "FieldType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "ForAccountOfType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "OtherAdjustmentTypeType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "PredefinedAdjustmentTypeType">
<xsd:restriction base = "ListPredefinedAdjustmentType"/>
</xsd:simpleType>
<xsd:simpleType name = "PriceAdjustmentTypeType">
<xsd:restriction base = "xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name = "SettlementGroupDetailStatusType">
<xsd:restriction base = "ListSettlementGroupDetailStatus"/>
</xsd:simpleType>
<xsd:simpleType name = "SettlementGroupDetailTypeType">
<xsd:restriction base = "ListSettlementGroupDetailType"/>
</xsd:simpleType>
<xsd:simpleType name = "WeightAdjustmentTypeType">
<xsd:restriction base = "ListWeightAdjustmentType"/>
</xsd:simpleType>
<xsd:element name = "AccountNumber" type = "AccountNumberType"/>
<xsd:element name = "AdjustmentExplanation" type = "AdjustmentExplanationType"/>
<xsd:element name = "AdjustmentFeeUnitOfMeasure" type = "AdjustmentFeeUnitOfMeasureType"/>
<xsd:element name = "AdjustmentFlatFee" type = "AdjustmentFlatFeeType"/>
<xsd:element name = "AdvancePercentage" type = "AdvancePercentageType"/>
<xsd:element name = "AverageGradeFactor" type = "AverageGradeFactorType"/>
<xsd:complexType name = "AverageGradeFactorType">
<xsd:sequence>
<xsd:element ref = "QualityInformation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "Bin" type = "BinType"/>
<xsd:element name = "CommoditySource" type = "CommoditySourceType"/>
<xsd:complexType name = "CommoditySourceType">
<xsd:sequence>
<xsd:element ref = "HarvestSite" minOccurs = "0"/>
<xsd:element ref = "Origin"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "ContractProceeds" type = "ContractProceedsType"/>
<xsd:complexType name = "ContractProceedsType">
<xsd:sequence>
<xsd:element ref = "ContractIdentifier" maxOccurs = "unbounded"/>
<xsd:element ref = "QuantityAllocation"/>
<xsd:element ref = "DeliveryBasis"/>
<xsd:element ref = "BasisPointLocationInformation"/>
<xsd:element ref = "GrossContractPrice" minOccurs = "0"/>
<xsd:element ref = "NetContractPrice" minOccurs = "0"/>
<xsd:element ref = "TotalProceeds" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "CropYear" type = "CropYearType"/>
<xsd:element name = "DetailCount" type = "DetailCountType"/>
<xsd:element name = "Farm" type = "FarmType"/>
<xsd:element name = "Field" type = "FieldType"/>
<xsd:element name = "ForAccountOf" type = "ForAccountOfType"/>
<xsd:element name = "GrossContractPrice" type = "GrossContractPriceType"/>
<xsd:complexType name = "GrossContractPriceType">
<xsd:sequence>
<xsd:element ref = "PricePerUnit"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "GroupDetailIdentifier" type = "GroupDetailIdentifierType"/>
<xsd:complexType name = "GroupDetailIdentifierType">
<xsd:simpleContent>
<xsd:extension base = "xsd:string">
<xsd:attribute name = "identifierSource" type = "ListIdentifierSource"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "Grower" type = "GrowerType"/>
<xsd:complexType name = "GrowerType">
<xsd:sequence>
<xsd:element ref = "EntityInformation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "HarvestSite" type = "HarvestSiteType"/>
<xsd:complexType name = "HarvestSiteType">
<xsd:sequence>
<xsd:element ref = "Grower"/>
<xsd:element ref = "Farm" minOccurs = "0"/>
<xsd:element ref = "Field" minOccurs = "0"/>
<xsd:element ref = "CropYear" minOccurs = "0"/>
<xsd:element ref = "Bin" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "NetContractPrice" type = "NetContractPriceType"/>
<xsd:complexType name = "NetContractPriceType">
<xsd:sequence>
<xsd:element ref = "PricePerUnit"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "NetVolume" type = "NetVolumeType"/>
<xsd:complexType name = "NetVolumeType">
<xsd:simpleContent>
<xsd:extension base = "xsd:decimal">
<xsd:attribute name = "netVolumeUnitOfMeasure" type = "ListCommodityUnitOfMeasure"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "OtherAdjustment" type = "OtherAdjustmentType"/>
<xsd:complexType name = "OtherAdjustmentType">
<xsd:sequence>
<xsd:choice>
<xsd:element ref = "PredefinedAdjustmentType"/>
<xsd:element ref = "OtherAdjustmentType"/>
</xsd:choice>
<xsd:choice>
<xsd:element ref = "AdjustmentFlatFee"/>
<xsd:element ref = "AdjustmentFeeUnitOfMeasure"/>
</xsd:choice>
<xsd:element ref = "AdjustmentExplanation" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "OtherAdjustmentType" type = "OtherAdjustmentTypeType"/>
<xsd:element name = "PaymentRoutingInformation" type = "PaymentRoutingInformationType"/>
<xsd:complexType name = "PaymentRoutingInformationType">
<xsd:sequence>
<xsd:element ref = "ABANumber"/>
<xsd:element ref = "AccountNumber"/>
<xsd:element ref = "EntityInformation"/>
<xsd:element ref = "Remark" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "PredefinedAdjustmentType" type = "PredefinedAdjustmentTypeType"/>
<xsd:element name = "PriceAdjustment" type = "PriceAdjustmentType"/>
<xsd:complexType name = "PriceAdjustmentType">
<xsd:sequence>
<xsd:element ref = "PricePerUnit"/>
<xsd:element ref = "PriceAdjustmentType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "PriceAdjustments" type = "PriceAdjustmentsType"/>
<xsd:complexType name = "PriceAdjustmentsType">
<xsd:sequence>
<xsd:element ref = "PriceAdjustment" maxOccurs = "unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "PriceAdjustmentType" type = "PriceAdjustmentTypeType"/>
<xsd:element name = "RemitTo" type = "RemitToType"/>
<xsd:complexType name = "RemitToType">
<xsd:sequence>
<xsd:element ref = "PaymentRoutingInformation" minOccurs = "0"/>
<xsd:element ref = "EntityInformation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "Settlement" type = "SettlementType"/>
<xsd:complexType name = "SettlementType">
<xsd:sequence>
<xsd:element ref = "SettlementHeader"/>
<xsd:element ref = "SettlementGroup" maxOccurs = "unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementDateTime" type = "SettlementDateTimeType"/>
<xsd:complexType name = "SettlementDateTimeType">
<xsd:sequence>
<xsd:element ref = "Date"/>
<xsd:element ref = "Time" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementDetailWeights" type = "SettlementDetailWeightsType"/>
<xsd:complexType name = "SettlementDetailWeightsType">
<xsd:sequence>
<xsd:element ref = "WeightAdjustments" minOccurs = "0"/>
<xsd:element ref = "GrossWeight" minOccurs = "0"/>
<xsd:element ref = "TareWeight" minOccurs = "0"/>
<xsd:element ref = "NetWeight"/>
<xsd:element ref = "NetVolume" minOccurs = "0"/>
<xsd:element ref = "ServiceEvent"/>
<xsd:element ref = "ServiceOfficialCategory"/>
<xsd:element ref = "WeightDateTime"/>
<xsd:element ref = "WeightCertificateIdentifier" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementGroup" type = "SettlementGroupType"/>
<xsd:complexType name = "SettlementGroupType">
<xsd:sequence>
<xsd:element ref = "SettlementGroupHeader" minOccurs = "0"/>
<xsd:element ref = "SettlementGroupDetail" maxOccurs = "unbounded"/>
<xsd:element ref = "DetailCount" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementGroupDetail" type = "SettlementGroupDetailType"/>
<xsd:complexType name = "SettlementGroupDetailType">
<xsd:sequence>
<xsd:element ref = "SettlementGroupDetailType"/>
<xsd:element ref = "AdvancePercentage" minOccurs = "0"/>
<xsd:element ref = "SettlementGroupDetailStatus"/>
<xsd:element ref = "GroupDetailIdentifier" minOccurs = "0"/>
<xsd:element ref = "CommodityMovementIdentifier" minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element ref = "VehicleIdentification"/>
<xsd:element ref = "BillOfLadingDateTime" minOccurs = "0"/>
<xsd:element ref = "CommodityInformation"/>
<xsd:element ref = "CommoditySource"/>
<xsd:element ref = "Destination" minOccurs = "0"/>
<xsd:element ref = "SettlementDetailWeights"/>
<xsd:element ref = "SettlementQualityFactors" minOccurs = "0"/>
<xsd:element ref = "ContractProceeds" minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element ref = "PriceAdjustments" minOccurs = "0"/>
<xsd:element ref = "FreightCarrier" minOccurs = "0"/>
<xsd:element ref = "ForAccountOf" minOccurs = "0"/>
<xsd:element ref = "Remark" minOccurs = "0" maxOccurs = "unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementGroupDetailStatus" type = "SettlementGroupDetailStatusType"/>
<xsd:element name = "SettlementGroupDetailType" type = "SettlementGroupDetailTypeType"/>
<xsd:element name = "SettlementGroupHeader" type = "SettlementGroupHeaderType"/>
<xsd:complexType name = "SettlementGroupHeaderType">
<xsd:sequence>
<xsd:element ref = "ShipmentIdentifier" minOccurs = "0"/>
<xsd:element ref = "AverageGradeFactor" minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element ref = "OtherAdjustment" minOccurs = "0" maxOccurs = "unbounded"/>
<xsd:element ref = "TotalProceeds"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementHeader" type = "SettlementHeaderType"/>
<xsd:complexType name = "SettlementHeaderType">
<xsd:sequence>
<xsd:element ref = "Buyer"/>
<xsd:element ref = "Seller"/>
<xsd:element ref = "PaymentTerms" minOccurs = "0"/>
<xsd:element ref = "RemitTo" minOccurs = "0"/>
<xsd:element ref = "DocumentIdentifier" maxOccurs = "unbounded"/>
<xsd:element ref = "SettlementDateTime"/>
<xsd:element ref = "SettlementProceeds"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementNetProceeds" type = "SettlementNetProceedsType"/>
<xsd:complexType name = "SettlementNetProceedsType">
<xsd:simpleContent>
<xsd:extension base = "xsd:decimal">
<xsd:attribute name = "currencyCode" type = "ListCurrencyCode"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "SettlementProceeds" type = "SettlementProceedsType"/>
<xsd:complexType name = "SettlementProceedsType">
<xsd:sequence>
<xsd:element ref = "PriceAdjustments" minOccurs = "0"/>
<xsd:element ref = "SettlementNetProceeds"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementQualityFactor" type = "SettlementQualityFactorType"/>
<xsd:complexType name = "SettlementQualityFactorType">
<xsd:sequence>
<xsd:element ref = "QualityCertificateIdentifier" minOccurs = "0"/>
<xsd:element ref = "QualityInformation"/>
<xsd:element ref = "PremiumAndDiscountPrice"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "SettlementQualityFactors" type = "SettlementQualityFactorsType"/>
<xsd:complexType name = "SettlementQualityFactorsType">
<xsd:sequence>
<xsd:element ref = "SettlementQualityFactor" maxOccurs = "unbounded"/>
<xsd:element ref = "ServiceEvent"/>
<xsd:element ref = "ServiceOfficialCategory"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "ShipmentIdentifier" type = "ShipmentIdentifierType"/>
<xsd:complexType name = "ShipmentIdentifierType">
<xsd:simpleContent>
<xsd:extension base = "xsd:string">
<xsd:attribute name = "identifierSource" type = "ListIdentifierSource"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name = "TotalProceeds" type = "TotalProceedsType"/>
<xsd:complexType name = "TotalProceedsType">
<xsd:sequence>
<xsd:element ref = "PricePerUnit"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "WeightAdjustment" type = "WeightAdjustmentType"/>
<xsd:complexType name = "WeightAdjustmentType">
<xsd:sequence>
<xsd:element ref = "Weight"/>
<xsd:element ref = "WeightAdjustmentType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "WeightAdjustments" type = "WeightAdjustmentsType"/>
<xsd:complexType name = "WeightAdjustmentsType">
<xsd:sequence>
<xsd:element ref = "WeightAdjustment" maxOccurs = "unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name = "WeightAdjustmentType" type = "WeightAdjustmentTypeType"/>
<xsd:element name = "WeightDateTime" type = "WeightDateTimeType"/>
<xsd:complexType name = "WeightDateTimeType">
<xsd:sequence>
<xsd:element ref = "Date"/>
<xsd:element ref = "Time" minOccurs = "0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
|