<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:include schemaLocation="F_VOD_common_2026_1.xsd" />

    <!-- form element -->
    <xsd:element name="F_VOD_38">
        <xsd:complexType>

            <xsd:all>
                <xsd:element name="meta-info" type="MetaInfoTyp" />
                <xsd:element name="sekce1" type="Sekce1Typ" />
                <xsd:element name="sekce2" type="TypVodyTyp" />
            </xsd:all>

            <xsd:attribute name="version" type="ShortStringTyp" use="required" fixed="2026" />
            <xsd:attribute name="revision" type="ShortStringTyp" use="required" fixed="1" />

        </xsd:complexType>
    </xsd:element>
    <!-- end of form element -->

    <xsd:complexType name="Sekce1Typ">
        <xsd:all>
            <xsd:element name="radneDoplneneHlaseni" type="RadneDoplneneHlaseniTyp" />
            <xsd:element name="rok" type="RokTyp" fixed="2026" />

            <xsd:element name="overovatel" type="OverovatelVodTyp" />
            <xsd:element name="overovatelOstatni" type="OverovatelVodOstatniTyp" />

            <xsd:element name="ohlasovatel" type="OhlasovatelVodTyp" />
            <xsd:element name="ohlasovatelOstatni" type="OhlasovatelVodOstatniTyp" />

            <xsd:element name="hlaseniVyplnil" type="ZpracovatelTyp" />

            <xsd:element name="cisloRozhodnutiPovoleniVypousteniOdpadnichVod" type="LongStringTyp" />
            <xsd:element name="datumVydaniRozhodnuti" type="xsd:date" />
            <xsd:element name="platnostDo" type="xsd:date" />

            <xsd:element name="povoleniKVypousteniNZL">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="vyberAnoNe" type="xsd:boolean" minOccurs="0" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>

            <xsd:element name="integrovanePovoleni" type="IntegrovanePovoleniTyp" minOccurs="0" />

            <xsd:element name="nazvy" type="ExtraLongStringTyp" minOccurs="0" />
            <xsd:element name="obce" type="ExtraLongStringTyp" minOccurs="0" />
            <xsd:element name="cislaVHB" type="ExtraLongStringTyp" minOccurs="0" />

            <xsd:element name="prilohaHlaseni" type="FileDataTyp" minOccurs="0" />

            <xsd:element name="poznamka" type="NonEmptyMultilineStringTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="OverovatelVodOstatniTyp" />

    <xsd:complexType name="OhlasovatelVodOstatniTyp">
        <xsd:all>
            <xsd:element name="cznaceKod" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="cznaceText" type="LongStringTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypVodyTyp">
        <xsd:choice>
            <xsd:element name="povrchoveVody" type="PovrchoveVodyTyp" />
            <xsd:element name="podzemniVody" type="PodzemniVodyTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="PovrchoveVodyTyp">
        <xsd:sequence>
            <xsd:element name="vypustSeq" type="PovrchoveVodyVypustTyp" minOccurs="1" maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="PodzemniVodyTyp">
        <xsd:sequence>
            <xsd:element name="vypustSeq" type="PodzemniVodyVypustTyp" minOccurs="1" maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:complexType>

    <!-- complex types for povrchove vody -->
    <xsd:complexType name="PovrchoveVodyVypustTyp">
        <xsd:all>
            <xsd:element name="povrchoveVodyVypustIdentifikace" type="PovrchoveVodyVypustIdentifikaceTyp" />
            <xsd:element name="mistoMereniOdpadnichVod">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="mistoMereni" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="zpusobMereni" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="namereno" type="Decimal5FrTyp" minOccurs="0" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="mereniPovrchovychVod" type="MereniPovrchovychVodTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PovrchoveVodyVypustIdentifikaceTyp">
        <xsd:all>
            <xsd:element name="mistoVypousteniOdpadnichVod">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="katastralniUzemi" type="LongStringTyp" />
                        <xsd:element name="obecKod" type="ZujTyp" />
                        <xsd:element name="obecNazev" type="Nazev48Typ" />
                        <xsd:element name="parcelniCislo" type="LongStringTyp" />
                        <xsd:element name="cisloVHB" type="xsd:integer" minOccurs="0" />

                        <xsd:element name="typZarizeniVycetVyber" type="TypZarizeniVycetVyberTyp" />
                        <xsd:element name="pocetEO" type="Decimal5FrTyp" minOccurs="0" />
                        <xsd:element name="popisZarizeni" type="LongStringTyp" />
                        <xsd:element name="povolenaMnozstviVypoustenychOdpadnichVod" type="Decimal5FrTyp" />

                        <xsd:element name="prumerneMnozstvi" type="Decimal5FrTyp" minOccurs="0" />
                        <xsd:element name="maximalniMnozstvi" type="Decimal5FrTyp" minOccurs="0" />
                        <xsd:element name="jednotkaMaximalniMnozstviVyberVycet" type="JednotkaMaximalniMnozstviVyberVycetTyp"
                            minOccurs="0" />

                        <xsd:element name="jtskX" type="xsd:double" />
                        <xsd:element name="jtskY" type="xsd:double" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="povrchoveVodyTypVypousteni" type="PovrchoveVodyTypVypousteniTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:simpleType name="JednotkaMaximalniMnozstviVyberVycetTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="L_S" />
            <xsd:enumeration value="M3_M" />
            <xsd:enumeration value="M3_R" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:simpleType name="TypZarizeniVycetVyberTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="COV_KOMUNALNI_MECHANICKA" />
            <xsd:enumeration value="COV_KOMUNALNI_MECHANICKOBIOLOGICKA" />
            <xsd:enumeration value="COV_KOMUNALNI_PRUMYSLOVA" />
            <xsd:enumeration value="COV_KOMUNALNI_JINA" />
            <xsd:enumeration value="UV_KALOVE_HOSPODARSTVI" />
            <xsd:enumeration value="KANALIZACNI_VYPUST_BEZ_CENTRALNIHO_CISTENI" />
            <xsd:enumeration value="KANALIZACE_DESTOVA" />
            <xsd:enumeration value="KANALIZACE_JINA" />
            <xsd:enumeration value="OSTATNI" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:complexType name="PovrchoveVodyTypVypousteniTyp">
        <xsd:choice>
            <xsd:element name="vodniTok" type="VodniTokTyp" />
            <xsd:element name="kanalizace" type="KanalizaceTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="VodniTokTyp">
        <xsd:all>
            <xsd:element name="horniMaticoveCisloToku" type="Decimal5FrTyp" minOccurs="0" />
            <xsd:element name="nazevVodnihoToku" type="LongStringTyp" />
            <xsd:element name="cisloHydrologickehoPoradiPovodi" type="LongStringTyp" />
            <xsd:element name="kilometrazVypusti" type="Decimal5FrTyp" />
            <xsd:element name="obecKod" type="ZujTyp" minOccurs="0" />
            <xsd:element name="obecNazev" type="Nazev48Typ" minOccurs="0" />
            <xsd:element name="nazevKatastralnihoUradu" type="LongStringTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="KanalizaceTyp">
        <xsd:all>
            <xsd:element name="obecKod" type="ZujTyp" />
            <xsd:element name="obecNazev" type="Nazev48Typ" />
            <xsd:element name="nazevKatastralnihoUzemi" type="LongStringTyp" />
            <xsd:element name="parcelniCisloPozemku" type="LongStringTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="MereniPovrchovychVodTyp">
        <xsd:sequence>
            <xsd:element name="zpusobMereniPovrchoveVodySeq" type="ZpusobMereniPovrchoveVodyTyp" minOccurs="1"
                maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="ZpusobMereniPovrchoveVodyTyp">
        <xsd:all>
            <xsd:element name="zpusob" type="OdberVzorkuZpusobVycetVyberTyp" minOccurs="0" />
            <xsd:element name="typ" type="OdberVzorkuTypVycetVyberTyp" minOccurs="0" />
            <xsd:element name="misto" type="LongStringTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:simpleType name="OdberVzorkuZpusobVycetVyberTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="MERENI" />
            <xsd:enumeration value="ODHAD" />
            <xsd:enumeration value="VYPOCET" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:simpleType name="OdberVzorkuTypVycetVyberTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="VS2" />
            <xsd:enumeration value="VS24" />
            <xsd:enumeration value="VS24p" />
            <xsd:enumeration value="jiny" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:complexType name="ZavadnaLatkaUkazatelTyp">
        <xsd:all>
            <xsd:element name="kod" type="LongStringTyp" />
            <xsd:element name="nazev" type="LongStringTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="EmisniLimitPovrchoveVodyTyp">
        <xsd:all>
            <xsd:element name="indexLimit" type="IndexLimitTyp" />
            <xsd:element name="zavadnaLatkaUkazatel" type="ZavadnaLatkaUkazatelTyp" />
            <xsd:element name="typHodnotyEmisnihoLimitu" type="TypHodnotyEmisnihoLimituPovrchoveVodyTyp" />
            <xsd:element name="cetnost" type="xsd:unsignedInt" minOccurs="0" />
            <xsd:element name="jednotkaHodnotyLimituVyberVycet" type="JednotkaHodnotyLimituPovrchoveVodyVyberVycetTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypHodnotyEmisnihoLimituPovrchoveVodyTyp">
        <xsd:choice>
            <xsd:element name="typEmisnihoLimituP" type="TypEmisnihoLimituPTyp" />
            <xsd:element name="typEmisnihoLimituM" type="TypEmisnihoLimituMTyp" />
            <xsd:element name="typEmisnihoLimituPR" type="TypEmisnihoLimituPRTyp" />
            <xsd:element name="typEmisnihoLimituMU" type="TypEmisnihoLimituMUTyp" />
            <xsd:element name="typEmisnihoLimituRM" type="TypEmisnihoLimituRMTyp" />
            <xsd:element name="typEmisnihoLimituPM" type="TypEmisnihoLimituPMTyp" />
            <xsd:element name="typEmisnihoLimituI" type="TypEmisnihoLimituITyp" />
            <xsd:element name="typEmisnihoLimituPaM" type="TypEmisnihoLimituPaMTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituMTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPRTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituMUTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituRMTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPMTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituITyp">
        <xsd:all>
            <xsd:element name="minimalniHodnotaLimitu" type="Decimal5FrTyp" />
            <xsd:element name="maximalniHodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPaMTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimituP" type="Decimal5FrTyp" />
            <xsd:element name="hodnotaLimituM" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:simpleType name="JednotkaHodnotyLimituPovrchoveVodyVyberVycetTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="MG_L" />
            <xsd:enumeration value="KG_T" />
            <xsd:enumeration value="KG_ROK" />
            <xsd:enumeration value="STUPEN_CELSIA" />
            <xsd:enumeration value="PROCENTO" />
            <xsd:enumeration value="BQ_L" />
            <xsd:enumeration value="BEZROZMERNA_HODNOTA" />
            <xsd:enumeration value="T_ROK" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:complexType name="VysledkyMereniPovrchoveVodyTyp">
        <xsd:all>
            <xsd:element name="indexLimit" type="IndexLimitTyp" />
            <xsd:element name="zavadnaLatkaUkazatel" type="ZavadnaLatkaUkazatelTyp" />
            <xsd:element name="typHodnotyVysledkuMereniEmisnihoLimitu" type="TypHodnotyVysledkuMereniEmisnihoLimituTyp" />
            <xsd:element name="jednotkaHodnotyLimitu" type="JednotkaHodnotyLimituPovrchoveVodyVyberVycetTyp" />
            <xsd:element name="plniPovoleni" type="xsd:boolean" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypHodnotyVysledkuMereniEmisnihoLimituTyp">
        <xsd:choice>
            <xsd:element name="vysledekMereniEmisnihoLimituP" type="VysledekMereniEmisnihoLimituPTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituM" type="VysledekMereniEmisnihoLimituMTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituPR" type="VysledekMereniEmisnihoLimituPRTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituMU" type="VysledekMereniEmisnihoLimituMUTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituRM" type="VysledekMereniEmisnihoLimituRMTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituPM" type="VysledekMereniEmisnihoLimituPMTyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituI" type="VysledekMereniEmisnihoLimituITyp" />
            <xsd:element name="vysledekMereniEmisnihoLimituPaM" type="VysledekMereniEmisnihoLimituPaMTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituPTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituMTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituPRTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituMUTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituRMTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituPMTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituITyp">
        <xsd:all>
            <xsd:element name="namereneMinimum" type="Decimal5FrTyp" />
            <xsd:element name="namereneMaximum" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysledekMereniEmisnihoLimituPaMTyp">
        <xsd:all>
            <xsd:element name="namerenaCharakteristikaP" type="Decimal5FrTyp" />
            <xsd:element name="namereneMaximum" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <!-- complex types for podzemni vody -->
    <xsd:complexType name="PodzemniVodyVypustTyp">
        <xsd:all>
            <xsd:element name="podzemniVodyVypustIdentifikace" type="PodzemniVodyVypustIdentifikaceTyp" />
            <xsd:element name="zpusobMereniOdpadnichVod" type="ZpusobMereniOdpadnichVodTyp" />
            <xsd:element name="mereniPodzemnichVod" type="MereniPodzemnichVodTyp" />
            <xsd:element name="prilohaVysledkyMereniProCetnost5aVice" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="prilohaOskenovanoProtokolyZLaboratore" type="FileDataTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PodzemniVodyVypustIdentifikaceTyp">
        <xsd:all>
            <xsd:element name="mistoVypousteniOdpadnichVod">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="katastralniUzemi" type="LongStringTyp" />
                        <xsd:element name="obecKod" type="ZujTyp" />
                        <xsd:element name="obecNazev" type="Nazev48Typ" />
                        <xsd:element name="parcelniCislo" type="LongStringTyp" />

                        <xsd:element name="popis" type="LongStringTyp" minOccurs="0" />

                        <xsd:element name="cisloVHB" type="xsd:integer" minOccurs="0" />

                        <xsd:element name="jtskX" type="xsd:double" />
                        <xsd:element name="jtskY" type="xsd:double" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="podzemniVodyTypVypousteniVyberVycet" type="PodzemniVodyTypVypousteniVyberVycetTyp" />
            <xsd:element name="vypousteniDoPodzemnichVod">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="cisloHydrologickehoRajonu" type="LongStringTyp" />
                        <xsd:element name="cisloUtvaruPodzemnichVod" type="LongStringTyp" />
                        <xsd:element name="hydrologickeCisloPoradi" type="LongStringTyp" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
        </xsd:all>
    </xsd:complexType>

    <xsd:simpleType name="PodzemniVodyTypVypousteniVyberVycetTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="JEDNOTLIVA_STAVBA_PRO_BYDLENI" />
            <xsd:enumeration value="JEDNOTLIVA_STAVBA_PRO_INDIVIDUALNI_REKREACI" />
            <xsd:enumeration value="JEDNOTLIVA_STAVBA_POSKYTUJICI_SLUZBY" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:complexType name="ZpusobMereniOdpadnichVodTyp">
        <xsd:all>
            <xsd:element name="zpusobMereniOdpadnichvodVyberVycet" type="ZpusobMereniOdpadnichvodVyberVycetTyp" />
            <xsd:element name="namereno" type="Decimal5FrTyp" />
            <xsd:element name="misto" type="LongStringTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="ZpusobMereniOdpadnichvodVyberVycetTyp">
        <xsd:choice>
            <xsd:element name="podleUdajeVodomeru" type="PodleUdajeVodomeruTyp" />
            <xsd:element name="podleRocniPotrebyVody" type="PodleRocniPotrebyVodyTyp" />
            <xsd:element name="jineMereni" type="JineMereniTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="PodleUdajeVodomeruTyp" />

    <xsd:complexType name="PodleRocniPotrebyVodyTyp" />

    <xsd:complexType name="JineMereniTyp">
        <xsd:all>
            <xsd:element name="zpusobMereniOdpadnichvod" type="LongStringTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="MereniPodzemnichVodTyp">
        <xsd:sequence>
            <xsd:element name="emisniLimitPodzemniVodySeq" type="EmisniLimitPodzemniVodyTyp" minOccurs="1"
                maxOccurs="unbounded" />
            <xsd:element name="vysledkyMereniPodzemniVodySeq" type="VysledkyMereniPodzemniVodyTyp"
                minOccurs="1" maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:simpleType name="IndexLimitTyp">
        <xsd:restriction base="xsd:unsignedInt" />
    </xsd:simpleType>

    <xsd:complexType name="EmisniLimitPodzemniVodyTyp">
        <xsd:all>
            <xsd:element name="indexLimit" type="IndexLimitTyp" />
            <xsd:element name="zavadnaLatkaUkazatel" type="ZavadnaLatkaUkazatelTyp" />
            <xsd:element name="typHodnotyEmisnihoLimituPodzemniVody" type="TypHodnotyEmisnihoLimituPodzemniVodyTyp" />
            <xsd:element name="cetnost" type="CetnostEmisniLimitPodzemniVodyTyp" />
            <xsd:element name="jednotkaHodnotyLimituVyberVycet" type="JednotkaHodnotyLimituPodzemniVodyVyberVycetTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypHodnotyEmisnihoLimituPodzemniVodyTyp">
        <xsd:choice>
            <xsd:element name="typEmisnihoLimituM" type="TypEmisnihoLimituPodzemniVodyMTyp" />
            <xsd:element name="typEmisnihoLimituMU" type="TypEmisnihoLimituPodzemniVodyMUTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPodzemniVodyMTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypEmisnihoLimituPodzemniVodyMUTyp">
        <xsd:all>
            <xsd:element name="hodnotaLimitu" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="CetnostEmisniLimitPodzemniVodyTyp">
        <xsd:choice>
            <xsd:element name="cetnostEmisniLimit1" type="CetnostEmisniLimit1Typ" />
            <xsd:element name="cetnostEmisniLimit2" type="CetnostEmisniLimit2Typ" />
            <xsd:element name="cetnostEmisniLimit3" type="CetnostEmisniLimit3Typ" />
            <xsd:element name="cetnostEmisniLimit4" type="CetnostEmisniLimit4Typ" />
            <xsd:element name="cetnostEmisniLimit5aVice" type="cetnostEmisniLimit5aViceTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="CetnostEmisniLimit1Typ">
        <xsd:all>
            <xsd:element name="typOdberuVzorku" type="TypOdberuVzorkuPodzemniVodyTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="CetnostEmisniLimit2Typ">
        <xsd:all>
            <xsd:element name="typOdberuVzorku" type="TypOdberuVzorkuPodzemniVodyTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="CetnostEmisniLimit3Typ">
        <xsd:all>
            <xsd:element name="typOdberuVzorku" type="TypOdberuVzorkuPodzemniVodyTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="CetnostEmisniLimit4Typ">
        <xsd:all>
            <xsd:element name="typOdberuVzorku" type="TypOdberuVzorkuPodzemniVodyTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="cetnostEmisniLimit5aViceTyp" />

    <xsd:complexType name="TypOdberuVzorkuPodzemniVodyTyp">
        <xsd:choice>
            <xsd:element name="typOdberuVzorkuPodzemniVodyA" type="TypOdberuVzorkuPodzemniVodyATyp" />
            <xsd:element name="jiny" type="LongStringTyp" minOccurs="0" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="TypOdberuVzorkuPodzemniVodyATyp" />

    <xsd:simpleType name="JednotkaHodnotyLimituPodzemniVodyVyberVycetTyp">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="MG_L" />
            <xsd:enumeration value="KTJ_100ML" />
        </xsd:restriction>
    </xsd:simpleType>

    <xsd:complexType name="VysledkyMereniPodzemniVodyTyp">
        <xsd:all>
            <xsd:element name="indexLimit" type="IndexLimitTyp" />
            <xsd:element name="zavadnaLatkaUkazatel" type="ZavadnaLatkaUkazatelTyp" />
            <xsd:element name="typNamereneHodnotyEmisnihoLimituPodzemniVody" type="TypNamereneHodnotyEmisnihoLimituPodzemniVodyTyp" />
            <xsd:element name="datumOdberu" type="xsd:date" minOccurs="0" />
            <xsd:element name="jednotkaHodnotyLimituVyberVycet" type="JednotkaHodnotyLimituPodzemniVodyVyberVycetTyp" />
            <xsd:element name="plniPovoleni" type="xsd:boolean" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypNamereneHodnotyEmisnihoLimituPodzemniVodyTyp">
        <xsd:choice>
            <xsd:element name="typNamerenehoEmisnihoLimituM" type="TypNamerenehoEmisnihoLimituPodzemniVodyMTyp" />
            <xsd:element name="typNamerenehoEmisnihoLimituMU" type="TypNamerenehoEmisnihoLimituPodzemniVodyMUTyp" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="TypNamerenehoEmisnihoLimituPodzemniVodyMTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="TypNamerenehoEmisnihoLimituPodzemniVodyMUTyp">
        <xsd:all>
            <xsd:element name="namerenaHodnota" type="Decimal5FrTyp" />
        </xsd:all>
    </xsd:complexType>

</xsd:schema>
