<?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="superfici_d_utilizzazione" 
           type="ms:superfici_d_utilizzazioneType" 
           substitutionGroup="gml:_Feature" />

  <complexType name="superfici_d_utilizzazioneType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="wkb_geometry" type="gml:MultiSurfacePropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="anno_di_riferimento" minOccurs="0" type="integer"/>
          <element name="codice_utilizzazione" minOccurs="0" type="integer"/>
          <element name="utilizzazione" minOccurs="0" type="string"/>
          <element name="stato_sovrapposto" minOccurs="0" type="boolean"/>
          <element name="codice_programma" minOccurs="0" type="string"/>
          <element name="programma" minOccurs="0" type="string"/>
          <element name="identificatore_utilizzazione" minOccurs="0" type="string"/>
          <element name="numero_alberi" minOccurs="0" type="integer"/>
          <element name="grado_gestione" minOccurs="0" type="integer"/>
          <element name="diritto_ai_contributi" minOccurs="0" type="boolean"/>
          <element name="utilizzata_nell_anno_di_contribuzione" minOccurs="0" type="boolean"/>
          <element name="lpn" minOccurs="0" type="boolean"/>
          <element name="dati_definitivi" minOccurs="0" type="boolean"/>
          <element name="obbligo_da" minOccurs="0" type="integer"/>
          <element name="obbligo_a" minOccurs="0" type="integer"/>
          <element name="data_dello_sfalcio" minOccurs="0" type="string"/>
          <element name="identificatore_unita_gestione" minOccurs="0" type="string"/>
          <element name="superficie_m2" minOccurs="0" type="integer"/>
          <element name="cantone" minOccurs="0" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

</schema>
