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

  <complexType name="nutzungsflaechenType">
    <complexContent>
      <extension base="gml:AbstractFeatureType">
        <sequence>
          <element name="wkb_geometry" type="gml:MultiSurfacePropertyType" minOccurs="0" maxOccurs="1"/>
          <element name="bezugsjahr" minOccurs="0" type="integer"/>
          <element name="lnf_code" minOccurs="0" type="integer"/>
          <element name="nutzung" minOccurs="0" type="string"/>
          <element name="ist_ueberlagernd" minOccurs="0" type="boolean"/>
          <element name="code_programm" minOccurs="0" type="string"/>
          <element name="programm" minOccurs="0" type="string"/>
          <element name="nutzungsidentifikator" minOccurs="0" type="string"/>
          <element name="anzahl_baeume" minOccurs="0" type="integer"/>
          <element name="bewirtschaftungsgrad" minOccurs="0" type="integer"/>
          <element name="beitragsberechtigt" minOccurs="0" type="boolean"/>
          <element name="nutzung_im_beitragsjahr" minOccurs="0" type="boolean"/>
          <element name="nhg" minOccurs="0" type="boolean"/>
          <element name="ist_definitiv" minOccurs="0" type="boolean"/>
          <element name="verpflichtung_von" minOccurs="0" type="integer"/>
          <element name="verpflichtung_bis" minOccurs="0" type="integer"/>
          <element name="schnittzeitpunkt" minOccurs="0" type="string"/>
          <element name="identifikator_be" minOccurs="0" type="string"/>
          <element name="flaeche_m2" minOccurs="0" type="integer"/>
          <element name="kanton" minOccurs="0" type="string"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>

</schema>
