<?xml version="1.0"?>
<xs:schema id="BaleList" targetNamespace="ACSA" elementFormDefault="qualified" xmlns="ACSA" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="Class.xsd"/>
	<xs:complexType name="Bale">
		<xs:sequence>
			<xs:element name="WarehouseCode" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>USDA assigned Warehouse Code</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="WarehouseBaleNumber" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Electronic receipt number for the individual bale.  Will be the same as the warehouse bale tag number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GinCode" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>USDA assigned Code which identifies the site where the cotton was ginned</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GinBaleNumber" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Tag number assigned by the gin and physically attached to the bale</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Class" type="Class" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>The class associated with the bale</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>This Wildcard allows for any additional elements to be added to the document and they can still be validated against this schema</xs:documentation>
				</xs:annotation>
			</xs:any>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="BaleList">
		<xs:sequence>
			<xs:element name="Bale" type="Bale" minOccurs="0" maxOccurs="unbounded"/>
			<xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>This Wildcard allows for any additional elements to be added to the document and they can still be validated against this schema</xs:documentation>
				</xs:annotation>
			</xs:any>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
