<?xml version='1.0' encoding="UTF-8" ?>
<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="https://schemas.opengis.net/gml/3.1.1/base/gml.xsd" />

  <element name="spb_qualite_2_surfaces" 
           type="ms:spb_qualite_2_surfacesType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="spb_qualite_2_surfacesType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="wkb_geometry" type="gml:MultiSurfacePropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="annee_de_reference" minOccurs="0" type="integer"/>
          <element name="nombre_arbres" minOccurs="0" type="integer"/>
          <element name="est_definitive" minOccurs="0" type="boolean"/>
          <element name="engagement_depuis_le" minOccurs="0" type="integer"/>
          <element name="engagement_jusqu_au" minOccurs="0" type="integer"/>
          <element name="date_de_fauche" minOccurs="0" type="string"/>
          <element name="degre_exploitation" minOccurs="0" type="integer"/>
          <element name="droit_aux_contributions" minOccurs="0" type="boolean"/>
          <element name="lpn" minOccurs="0" type="boolean"/>
          <element name="part_de_qualite" minOccurs="0" type="integer"/>
          <element name="code_utilisation" minOccurs="0" type="integer"/>
          <element name="identificateur" minOccurs="0" type="string"/>
          <element name="surface_m2" minOccurs="0" type="integer"/>
          <element name="canton" minOccurs="0" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

  <element name="spb_reseau_surfaces" 
           type="ms:spb_reseau_surfacesType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="spb_reseau_surfacesType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="wkb_geometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="annee_de_reference" minOccurs="0" type="integer"/>
          <element name="nombre_arbres" minOccurs="0" type="integer"/>
          <element name="est_definitive" minOccurs="0" type="boolean"/>
          <element name="engagement_depuis_le" minOccurs="0" type="integer"/>
          <element name="engagement_jusqu_au" minOccurs="0" type="integer"/>
          <element name="date_de_fauche" minOccurs="0" type="string"/>
          <element name="droit_aux_contributions" minOccurs="0" type="boolean"/>
          <element name="code_utilisation" minOccurs="0" type="integer"/>
          <element name="identificateur" minOccurs="0" type="string"/>
          <element name="surface_m2" minOccurs="0" type="integer"/>
          <element name="canton" minOccurs="0" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

</schema>
