<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://water.usgs.gov/XML/AQ" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://water.usgs.gov/XML/AQ" elementFormDefault="qualified" version="1.0">
   <xsd:include schemaLocation="../shared/Area.xsd"/>
   <xsd:complexType name="CountyType" abstract="false">
      <xsd:annotation>
         <xsd:documentation source="http://www.itl.nist.gov/fipspubs/fip6-4.htm">
            <Definition>County. A United States county as defined by FIPS 6-4.</Definition>
            <Nwisdb>COUNTY</Nwisdb>
         </xsd:documentation>
      </xsd:annotation>
      <xsd:complexContent>
         <xsd:extension base="AreaType">
            <xsd:sequence>
               <xsd:element name="Code">
                  <xsd:annotation>
                     <xsd:documentation>
                        <Nwisdb>COUNTY.county_cd</Nwisdb>
                     </xsd:documentation>
                  </xsd:annotation>
                  <xsd:simpleType>
                     <xsd:restriction base="xsd:token">
                        <xsd:length value="3"/>
                     </xsd:restriction>
                  </xsd:simpleType>
               </xsd:element>
               <xsd:element name="Name"  minOccurs="0">
                  <xsd:annotation>
                     <xsd:documentation>
                        <Nwisdb>COUNTY.county_nm</Nwisdb>
                     </xsd:documentation>
                  </xsd:annotation>
                  <xsd:simpleType>
                     <xsd:restriction base="xsd:token">
                        <xsd:minLength value="1"/>
                        <xsd:maxLength value="48"/>
                     </xsd:restriction>
                  </xsd:simpleType>
               </xsd:element>
            </xsd:sequence>
         </xsd:extension>
      </xsd:complexContent>
   </xsd:complexType>
</xsd:schema>
