<?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" />

    <xsd:element name="F_VOD_OV">
        <xsd:complexType>

            <xsd:all>
                <xsd:element name="meta-info" type="MetaInfoTyp" />
                <xsd:element name="zakladniUdaje" type="ZakladniUdajeTyp" />
                <xsd:element name="mnozstviVypoustenehoZnecisteni" type="MnozstviVypZnecisteniTyp" />
                <xsd:element name="zadostOSlevu" type="xsd:boolean" />
                <xsd:element name="vysePoplatku" type="VysePoplatkuTyp" />
                <xsd:element name="prilohy" type="PrilohyTyp" />
                <xsd:element name="poznamka" type="ExtraLongStringTyp" minOccurs="0" />
            </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>

    <xsd:complexType name="ZakladniUdajeTyp">
        <xsd:all>
            <xsd:element name="radneOpravneDodatecneHlaseni" type="RadneOpravneDodatecneHlaseniTyp" />
            <xsd:element name="poplatkyZaRok" type="RokTyp" fixed="2026" />
            <xsd:element name="druhHlaseni" type="DruhVodyTyp" />

            <xsd:element name="identifikaceZdroje" type="IdentifikaceZdrojeTyp" />

            <xsd:element name="ohlasovatel" type="OhlasovatelVodTyp" />
            <xsd:element name="ohlasovatelOstatni" type="OhlasovatelVodOvPvOstatniTyp" />

            <xsd:element name="hlaseniVyplnil" type="ZpracovatelTyp" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="MnozstviVypZnecisteniTyp">
        <xsd:all>
            <xsd:element name="dilciZakladPoplatku">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="dilciZnecisteni1" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni2" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni3" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni4" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni5" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni6" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni7" type="DilciZnecisteniTyp" />
                        <xsd:element name="dilciZnecisteni8" type="DilciZnecisteniTyp" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="rocniObjem" type="Decimal2FrTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="VysePoplatkuTyp">
        <xsd:all>
            <xsd:element name="poplatekMnozstvi">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="poplatky1" type="PoplatkyTyp" />
                        <xsd:element name="poplatky2" type="PoplatkyTyp" />
                        <xsd:element name="poplatky3" type="PoplatkyTyp" />
                        <xsd:element name="poplatky4" type="PoplatkyTyp" />
                        <xsd:element name="poplatky5" type="PoplatkyTyp" />
                        <xsd:element name="poplatky6" type="PoplatkyTyp" />
                        <xsd:element name="poplatky7" type="PoplatkyTyp" />
                        <xsd:element name="poplatky8" type="PoplatkyTyp" />
                        <xsd:element name="poplatekZaZnecisteniCelkem" type="Decimal2FrTyp" minOccurs="0" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="dokumentProUznaniSlevy" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="poplatekObjem">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="objem" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="sazba" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="poplatekVypust" type="Decimal2FrTyp" minOccurs="0" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="celkovePoplatky">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="znecisteni" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="vypousteni" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="vysePoplatkuZaDobuOmezeni" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="poplatekCelkem" type="xsd:integer" minOccurs="0" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="upravenaVysePoplatku" minOccurs="0">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="zduvodneni" type="LongStringTyp" />
                        <xsd:element name="vysePoplatku" type="Decimal2FrTyp" />
                        <xsd:element name="prilohaPodklady" type="FileDataTyp" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="dodatecnePoplatkovePriznani" type="UdajeDodatecneTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PrilohyTyp">
        <xsd:sequence>
            <xsd:element name="prilohaA" minOccurs="1" maxOccurs="unbounded" type="PrilohaATyp" />
            <xsd:element name="prilohaB" minOccurs="0" maxOccurs="unbounded" type="PrilohaBTyp" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="PrilohaATyp">
        <xsd:all>
            <xsd:element name="cisloPrilohy" type="xsd:nonNegativeInteger" />
            <xsd:element name="rok" type="RokTyp" minOccurs="0" />
            <xsd:element name="vypust">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="vypust" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="cisloVHB" type="xsd:integer" minOccurs="0" />
                        <xsd:element name="obecKod" type="ZujTyp" minOccurs="0" />
                        <xsd:element name="obecNazev" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="katastrVypust" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="tok" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="ricniKM" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="hydroPoradi" type="LongStringTyp" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="povoleniVypuste">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="povoleni" type="PovoleniTyp" minOccurs="0" maxOccurs="unbounded" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="udajeVypousteneOdpadniVody">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="povolenyObjemVypOdpVod" type="Decimal3FrTyp" minOccurs="0" />
                        <xsd:element name="zpusobOdberu" type="ZpusobStanoveniHodnotTyp" minOccurs="0" />
                        <xsd:element name="meridla">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="meridloSeq" type="MeridloTyp" minOccurs="0" maxOccurs="unbounded" />
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="koncentrace" type="KoncentraceTyp" />
            <xsd:element name="objem" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="scanPovoleni" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="pripojeniDat" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="pripojeneDokumenty" type="AttachmentsTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PrilohaBTyp">
        <xsd:all>
            <xsd:element name="cisloPrilohy" type="xsd:nonNegativeInteger" />
            <xsd:element name="rok" type="RokTyp" minOccurs="0" />
            <xsd:element name="druhOdberu" type="DruhOdberuTyp" />
            <xsd:element name="mistoOdberu">
                <xsd:complexType>
                    <xsd:all>
                        <xsd:element name="mistoOdberu" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="cisloVHB" type="xsd:integer" minOccurs="0" />
                        <xsd:element name="obecKod" type="ZujTyp" minOccurs="0" />
                        <xsd:element name="obecNazev" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="katastrOdberu" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="tok" type="LongStringTyp" minOccurs="0" />
                        <xsd:element name="ricniKM" type="Decimal2FrTyp" minOccurs="0" />
                        <xsd:element name="hydroPoradi" type="LongStringTyp" minOccurs="0" />
                    </xsd:all>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="povoleniOdberu">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="povoleni" type="PovoleniTyp" minOccurs="0" maxOccurs="unbounded" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="koncentrace" type="KoncentraceTyp" />
            <xsd:element name="objem" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="scanPovoleni" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="pripojeniDat" type="FileDataTyp" minOccurs="0" />
            <xsd:element name="pripojeneDokumenty" type="AttachmentsTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PovoleniTyp">
        <xsd:sequence>
            <xsd:element name="vydal" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="cj" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="datum" type="xsd:date" minOccurs="0" />
            <xsd:element name="platnostDo" type="xsd:date" minOccurs="0" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="KoncentraceTyp">
        <xsd:sequence>
            <xsd:element name="prumerneZnecisteni1" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni2" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni3" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni4" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni5" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni6" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni7" type="PrumerneZnecisteniTyp" />
            <xsd:element name="prumerneZnecisteni8" type="PrumerneZnecisteniTyp" />
        </xsd:sequence>
    </xsd:complexType>


    <xsd:complexType name="MeridloTyp">
        <xsd:all>
            <xsd:element name="typ" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="evidCislo" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="overeniProvedl" type="LongStringTyp" minOccurs="0" />
            <xsd:element name="rokOvereni" type="RokTyp" minOccurs="0" />
            <xsd:element name="platnostOvereniDo" type="RokTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="DilciZnecisteniTyp">
        <xsd:all>
            <xsd:element name="prumernaRocniKoncentrace" type="Decimal4FrTyp" minOccurs="0" />
            <xsd:element name="mnozstviVOdpVodach" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="mnozstviVOdebVode" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="zakladPoplatku" type="Decimal2FrTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PoplatkyTyp">
        <xsd:all>
            <xsd:element name="zakladBeznyRok" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="zakladPredchRok" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="snizeni" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="sazba" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="sleva" type="Decimal2FrTyp" minOccurs="0" />
            <xsd:element name="poplatek" type="Decimal2FrTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

    <xsd:complexType name="PrumerneZnecisteniTyp">
        <xsd:all>
            <xsd:element name="mgNaL" type="Decimal4FrTyp" minOccurs="0" />
            <xsd:element name="kgZaR" type="Decimal2FrTyp" minOccurs="0" />
        </xsd:all>
    </xsd:complexType>

</xsd:schema>
