<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns:xsd = "http://www.w3.org/2000/10/XMLSchema">
	<xsd:element name = "product_list">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "product" maxOccurs = "unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "product">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "product_number"/>
				<xsd:element ref = "description"/>
				<xsd:element ref = "price"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "product_number" type = "xsd:string"/>
	<xsd:element name = "description">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "species"/>
				<xsd:element ref = "height"/>
				<xsd:element ref = "width"/>
				<xsd:element ref = "length"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "price" type = "xsd:string"/>
	<xsd:element name = "species" type = "xsd:string"/>
	<xsd:element name = "height" type="measurement">
	</xsd:element>
	<xsd:element name = "width" type="measurement">
	</xsd:element>
	<xsd:element name = "length"  type="measurement">
	</xsd:element>
		<xsd:complexType name="measurement">
			<xsd:simpleContent>
				<xsd:extension base = "xsd:string">
					<xsd:attribute name = "unit">
						<xsd:simpleType>
							<xsd:restriction base = "xsd:string">
								<xsd:enumeration value = "feet"/>
								<xsd:enumeration value = "inches"/>
								<xsd:enumeration value = "yards"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
				</xsd:extension>
			</xsd:simpleContent>
		</xsd:complexType>

</xsd:schema>