<?xml version='1.0' encoding="ISO-8859-1" ?>
<schema
   targetNamespace="http://mapserver.gis.umn.edu/mapserver" 
   xmlns:ms="http://mapserver.gis.umn.edu/mapserver" 
   xmlns:ogc="http://www.opengis.net/ogc"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns="http://www.w3.org/2001/XMLSchema"
   xmlns:gml="http://www.opengis.net/gml"
   elementFormDefault="qualified" version="0.1" >

  <import namespace="http://www.opengis.net/gml"
          schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />

  <element name="MapunitPoly" 
           type="ms:MapunitPolyType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="MapunitPolyType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="multiPolygon" type="gml:MultiPolygonPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="AREASYMBOL" type="string"/>
          <element name="SPATIALVERSION" type="string"/>
          <element name="MUSYM" type="string"/>
          <element name="MUKEY" type="string"/>
          <element name="SHAPE" type="string"/>
          <element name="OBJECTID" type="string"/>
          <element name="OBJECTID" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="MapunitPolyNoGeometry" 
           type="ms:MapunitPolyNoGeometryType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="MapunitPolyNoGeometryType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="AREASYMBOL" type="string"/>
          <element name="MUKEY" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="MapunitLine" 
           type="ms:MapunitLineType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="MapunitLineType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="AREASYMBOL" type="string"/>
          <element name="SPATIALVERSION" type="string"/>
          <element name="MUSYM" type="string"/>
          <element name="MUKEY" type="string"/>
          <element name="SHAPE" type="string"/>
          <element name="OBJECTID" type="string"/>
          <element name="OBJECTID" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="MapunitPoint" 
           type="ms:MapunitPointType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="MapunitPointType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="AREASYMBOL" type="string"/>
          <element name="SPATIALVERSION" type="string"/>
          <element name="MUSYM" type="string"/>
          <element name="MUKEY" type="string"/>
          <element name="SHAPE" type="string"/>
          <element name="OBJECTID" type="string"/>
          <element name="OBJECTID" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="MapunitPolyExtended" 
           type="ms:MapunitPolyExtendedType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="MapunitPolyExtendedType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="multiPolygon" type="gml:MultiPolygonPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="AREASYMBOL" type="string"/>
          <element name="MUSYM" type="string"/>
          <element name="MUKEY" type="string"/>
          <element name="SPATIALVERSION" type="string"/>
          <element name="muname" type="string"/>
          <element name="mustatus" type="string"/>
          <element name="slopegraddcp" type="string"/>
          <element name="slopegradwta" type="string"/>
          <element name="brockdepmin" type="string"/>
          <element name="wtdepannmin" type="string"/>
          <element name="wtdepaprjunmin" type="string"/>
          <element name="flodfreqdcd" type="string"/>
          <element name="flodfreqmax" type="string"/>
          <element name="pondfreqprs" type="string"/>
          <element name="aws025wta" type="string"/>
          <element name="aws050wta" type="string"/>
          <element name="aws0100wta" type="string"/>
          <element name="aws0150wta" type="string"/>
          <element name="drclassdcd" type="string"/>
          <element name="drclasswettest" type="string"/>
          <element name="hydgrpdcd" type="string"/>
          <element name="iccdcd" type="string"/>
          <element name="iccdcdpct" type="string"/>
          <element name="niccdcd" type="string"/>
          <element name="niccdcdpct" type="string"/>
          <element name="engdwobdcd" type="string"/>
          <element name="engdwbdcd" type="string"/>
          <element name="engdwbll" type="string"/>
          <element name="engdwbml" type="string"/>
          <element name="engstafdcd" type="string"/>
          <element name="engstafll" type="string"/>
          <element name="engstafml" type="string"/>
          <element name="engsldcd" type="string"/>
          <element name="engsldcp" type="string"/>
          <element name="englrsdcd" type="string"/>
          <element name="engcmssdcd" type="string"/>
          <element name="engcmssmp" type="string"/>
          <element name="urbrecptdcd" type="string"/>
          <element name="urbrecptwta" type="string"/>
          <element name="forpehrtdcp" type="string"/>
          <element name="hydclprs" type="string"/>
          <element name="awmmfpwwta" type="string"/>
          <element name="SHAPE" type="string"/>
          <element name="OBJECTID" type="string"/>
          <element name="OBJECTID" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="SurveyAreaPoly" 
           type="ms:SurveyAreaPolyType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="SurveyAreaPolyType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="multiPolygon" type="gml:MultiPolygonPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="AREASYMBOL" type="string"/>
          <element name="AREANAME" type="string"/>
          <element name="SAPUBSTATUSCODE" type="string"/>
          <element name="SAPUBSTATUSNAME" type="string"/>
          <element name="WLUPDATED" type="string"/>
          <element name="MAPREGION" type="string"/>
          <element name="MANUSTATUSCODE" type="string"/>
          <element name="MANUSTATUSNAME" type="string"/>
          <element name="SHAPE" type="string"/>
          <element name="OBJECTID" type="string"/>
          <element name="Survey_Area_Version" type="string"/>
          <element name="SAVEREST" type="string"/>
          <element name="ISCOMPLETE" type="string"/>
          <element name="OBJECTID" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

</schema>
