<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:cz:isvs:rpp:schemas:RppDotazyTypy:v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:reg="urn:cz:isvs:reg:schemas:RegTypy:v1" xmlns:rpp="urn:cz:isvs:rpp:schemas:RppTypy:v1" xmlns:edi="urn:cz:isvs:rpp:schemas:RppEditaceTypy:v1" targetNamespace="urn:cz:isvs:rpp:schemas:RppDotazyTypy:v1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.12.0">
    <xs:annotation>
        <xs:documentation xml:lang="cs">Návrh XML schématu s definicemi společných datových prvků IS RPP.
          Toto schéma obsahuje definice základních datových prvků používaných pro dotazy a odpovědi na dotazy
          do registru práv a povinností (RPP).
        </xs:documentation>
    </xs:annotation>
    <!-- Verze 1.0.0, 6.2.2012 -->
    <!-- Verze 1.0.1, 23.2.2012 -->
    <!-- Verze 1.0.3, 24.5.2012 -->
    <!-- Verze 1.0.4, 26.7.2012 -->
    <!-- Verze 1.1.0, 12.8.2016 -->
    <!-- Verze 1.1.1, 4.11.2016 -->
    <!-- Verze 1.1.2, 7.11.2016 nova sluzba RppVypisSeznamPusobnostiOvm2-->
    <!-- Verze 1.1.3, 10.11.2016 uprava vystupu sluzby RppVypisPusobnostOvm2-->
    <!-- Verze 1.1.4, 28.11.2016 uprava kardinality 3 seznamu v OpravneniType-->
    <!-- Verze 1.1.5, 2.12.2016 zmeny struktury OpravneniType-->
    <!-- Verze 1.1.6, 9.1.2017 pridani novych struktur pro RppAisReklamujUdajeRpp, zmena datoveho typu IdentifikatorRuianType na KodAdresniMistoType-->
    <!-- Verze 1.1.7, 9.1.2017 zapracovani zmen podle analyzy-->
    <!-- Verze 1.1.8 - 1.1.10, 5.2.2017 zmena rozhrani sluzby RppVypisSeznamPusobnostiOvm2-->
    <!-- Verze 1.1.11 zmena rozhrani sluzby RppVypisPusobnostOvm2-->
    <!-- Verze 1.1.12 uprava vyctu hodnot TypZmenyType-->
    <!-- Verze 1.1.13 zmena choice na sekvenci u KompletniOvmType a KompletniSpuuType-->
    <!-- Verze 1.1.14 zmena poradi elementu PlatnostOd a PlatnostDo v KategorieOvmVyberType a KategorieSpuuVyberType, PusobnostOd a PusobnostDo v OvmVyberType, zmena vyctu hodnot TypEntityType-->
    <!-- Verze 1.1.15, 4.4.2017 upravy sluzeb ROVM - prejmenovani nekterych datum. elementu, zmeny poradi elementu, pridani komentaru-->
    <!-- Verze 1.1.16, 20.6.2017 upravy enumu UdajRppType a ReklamovanyObjektType pro reklamace, zrusen SeznamNavrhovanychHodnotType -->
    <!-- Verze 1.2.0, 20.9.2017 uprava struktury MaticeOpravneniKOvmType, odstraneni struktur MaticeOpravneniKUdajiType, MaticeOpravneniType, pridani struktur MaticeOpravneniUdajType -->
    <!-- Verze 1.3.0, 24.4.2018  doplneni struktur pro nove sluzby RppVypisOvmSpuu2, RppVypisUkonNaZadost, RppVypisSeznamUkonuNaZadost, RppCtiZmenyUkonuNaZadost, RppVypisAgendu3, RppVypisPusobnostOvm3-->
    <!-- Verze 1.5.0, 25.9.2019 pridani novych strktur pro sluzbu P80 RppVypisSeznamUdajuAgendy-->
    <!-- Verze 1.6.0, 24.1.2020 pridani novych strktur pro sluzby P81 RppVypisPusobnostOvm4, P82 RppVypisAgendu4, P83 RppVypisUkonNaZadost2-->
    <!-- Verze 1.6.1, 26.2.2020 oprava vystupu sluzby RppVypisAgendu4 datoveho typu UdajVypis4Type-->
    <!-- Verze 1.7.0, 4.9.2020 pridani novych datovych typu pro P84 VypisSluzbuVs, P85 VypisSeznamSluzebVs, P86 CtiZmenySluzebVs, P87 VypisAgendu5, P88 VypisPusobnostOvm5-->
    <!-- Verze 1.11.0, 14.9.2021 pridani novych datovych typu pro P100 CtiOpravneni, P101 CtiNeplatnaOpravneni-->
    <!-- Verze 1.11.1, 23.9.2021 pridani dalsich novych sluzeb DD3-->
    <!-- Verze 1.11.2, 30.9.2021 pridani dalsich novych sluzeb DD3-->
    <!-- Verze 1.11.4, 6.1.2022 upravy sluzeb sluzeb DD3, vyrazeni nekterych sluzeb-->
    <!-- Verze 1.11.5 - , 1.3.2022 oprava chyb a upravy sluzeb sluzeb DD3-->
    <!-- Verze 1.12.0, 30.10.2023 pridani novych sluzeb DD5-->
    <xs:import namespace="urn:cz:isvs:reg:schemas:RegTypy:v1" schemaLocation="../../RegTypy.xsd"/>
    <xs:import namespace="urn:cz:isvs:rpp:schemas:RppTypy:v1" schemaLocation="RppTypy.xsd"/>
    <xs:import namespace="urn:cz:isvs:rpp:schemas:RppEditaceTypy:v1" schemaLocation="RppEditaceTypy.xsd"/>
    <xs:simpleType name="TypVypisuSeznamuPusobnostiOvmType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="ZAKLADNI">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="ROZSIRENY">
                <xs:annotation/>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypUdajeRppType">
        <xs:restriction base="TypVypisuZmenType">
            <xs:enumeration value="A">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Agenda
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="P">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Působnost
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="R">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Rozhodnutí
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypVypisuZmenType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="A">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Agenda
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="P">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Působnost
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="R">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Rozhodnutí
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="V">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">
                        Vše
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ZmenaCasType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Datum a čas změny údaje v RPP.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:CasovaZnackaType"/>
    </xs:simpleType>
    <xs:simpleType name="ZpravaIdType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Jednoznačný identifikátor zprávy v RPP.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:int"/>
    </xs:simpleType>
    <xs:simpleType name="CasZpracovaniType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Čas zpracování informační služby. 
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:CasovaZnackaType"/>
    </xs:simpleType>
    <xs:simpleType name="TypEntityType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="G">
                <xs:annotation>
                    <xs:documentation>OVM</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="U">
                <xs:annotation>
                    <xs:documentation>SPUU</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="M">
                <xs:annotation>
                    <xs:documentation>Kategorie OVM</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="K">
                <xs:annotation>
                    <xs:documentation>Kategorie SPUU</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="V">
                <xs:annotation>
                    <xs:documentation>Vše (zahrnuje všechny typy entit)</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypZmenyType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="DS">
                <xs:annotation>
                    <xs:documentation>Změna v seznamu datových schránek</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="I">
                <xs:annotation>
                    <xs:documentation>Insert</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="U">
                <xs:annotation>
                    <xs:documentation>Update</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypZmenyUkonuType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="I">
                <xs:annotation>
                    <xs:documentation>Insert</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="U">
                <xs:annotation>
                    <xs:documentation>Update</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="D">
                <xs:annotation>
                    <xs:documentation>Delete</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypZmenySluzbyType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="I">
                <xs:annotation>
                    <xs:documentation>Insert</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="U">
                <xs:annotation>
                    <xs:documentation>Update</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="D">
                <xs:annotation>
                    <xs:documentation>Delete</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IdOpravneniType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdOsType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdCinnostiType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdSkupinyType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdZmenyUkonuType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdZmenySluzbyType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdZmenyAisAgendyType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdZmenyUdajuType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdZmenyOpravneniType">
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="DatumMaticeType">
        <xs:annotation>
            <xs:documentation>Datum matice</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:date"/>
    </xs:simpleType>
    <xs:simpleType name="PoradiPredanehoUdajeType">
        <xs:restriction base="reg:KladneCeleCisloType"/>
    </xs:simpleType>
    <xs:simpleType name="PoradiObsahuReklamaceType">
        <xs:restriction base="reg:KladneCeleCisloType"/>
    </xs:simpleType>
    <xs:simpleType name="PopisObsahuReklamaceType">
        <xs:annotation>
            <xs:documentation>Popis reklamace</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyLineStringType">
            <xs:maxLength value="2000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypReklamaceType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="PRIDANI UDAJE">
                <xs:annotation>
                    <xs:documentation>Požadavek na přidání údaje</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZRUSENI UDAJE">
                <xs:annotation>
                    <xs:documentation>Požadavek na zrušení údaje</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZMENA UDAJE">
                <xs:annotation>
                    <xs:documentation>Požadavek na změnu údaje</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="SLOVNI REKLAMACE">
                <xs:annotation>
                    <xs:documentation>Slovní reklamace</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="UdajRppType">
        <xs:annotation>
            <xs:documentation>Seznam údajů předávaných v službě pro reklamaci.
Příklad:
kód agendy, počátek platnosti, AIFO, počátek pozastavení,....</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:enumeration value="Adresa"/>
            <xs:enumeration value="Aifo"/>
            <xs:enumeration value="IdDatoveSchranky"/>
            <xs:enumeration value="Ico"/>
            <xs:enumeration value="KodAgendyPoskytujiciUdaje"/>
            <xs:enumeration value="KodAis"/>
            <xs:enumeration value="KodKategorieOvm"/>
            <xs:enumeration value="KodKategorieSpuu"/>
            <xs:enumeration value="KodObjektuSubjektuUdaju"/>
            <xs:enumeration value="KodOpravnenehoSubjektu"/>
            <xs:enumeration value="KodOvm"/>
            <xs:enumeration value="KodSpuu"/>
            <xs:enumeration value="KodCinnosti"/>
            <xs:enumeration value="KodUdaje"/>
            <xs:enumeration value="NazevKategorieOvm"/>
            <xs:enumeration value="NazevKategorieSpuu"/>
            <xs:enumeration value="NazevOvm"/>
            <xs:enumeration value="NazevSpuu"/>
            <xs:enumeration value="OrganizacniJednotkaStatu"/>
            <xs:enumeration value="PlatnostOd"/>
            <xs:enumeration value="PlatnostDo"/>
            <xs:enumeration value="PozastaveniOd"/>
            <xs:enumeration value="PozastaveniDo"/>
            <xs:enumeration value="PravniPredpis"/>
            <xs:enumeration value="PreruseniOd"/>
            <xs:enumeration value="PreruseniDo"/>
            <xs:enumeration value="PusobnostOd"/>
            <xs:enumeration value="PusobnostDo"/>
            <xs:enumeration value="TypDatoveSchranky"/>
            <xs:enumeration value="TypOpravneni"/>
            <xs:enumeration value="TypOvm"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ReklamovanyObjektType">
        <xs:annotation>
            <xs:documentation>Seznam možných reklamovaných částí podle typu reklamované entity.
Příklad: 
OVM vykonávající agendu,
Činnostní role OVM,
AIS podporující agendu,
Kategorie OVM, do které OVM patři,...</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:enumeration value="AdresaMistaPobytuNeboAdresaSidla"/>
            <xs:enumeration value="AisPodporujiciAgendu"/>
            <xs:enumeration value="DatovaSchranka"/>
            <xs:enumeration value="KategorieOvmVykonavajiciAgendu"/>
            <xs:enumeration value="KategorieOvmDoKtereOvmPatri"/>
            <xs:enumeration value="KategorieSpuuVykonavajiciAgendu"/>
            <xs:enumeration value="KategorieSpuuDoKtereSpuuPatri"/>
            <xs:enumeration value="Nazev"/>
            <xs:enumeration value="ObjektSubjektUdaju"/>
            <xs:enumeration value="OpravneniKUdajum"/>
            <xs:enumeration value="OrganizacniJednotkaStatu"/>
            <xs:enumeration value="OsobaRobZKtereOvmVzniklo"/>
            <xs:enumeration value="OsobaRosZKtereOvmVzniklo"/>
            <xs:enumeration value="OsobaRosZKtereSpuuVzniklo"/>
            <xs:enumeration value="OsobaVCele"/>
            <xs:enumeration value="OvmVykonavajiciAgendu"/>
            <xs:enumeration value="OvmVKategorii"/>
            <xs:enumeration value="SpuuVKategorii"/>
            <xs:enumeration value="Platnost"/>
            <xs:enumeration value="Pozastaveni"/>
            <xs:enumeration value="Preruseni"/>
            <xs:enumeration value="PristupKAgendam"/>
            <xs:enumeration value="Pusobnost"/>
            <xs:enumeration value="SpuuVykonavajiciAgendu"/>
            <xs:enumeration value="TypOvm"/>
            <xs:enumeration value="CinnostVykonavana"/>
            <xs:enumeration value="CinnostniRoleKategorieOvm"/>
            <xs:enumeration value="CinnostniRoleKategorieSpuu"/>
            <xs:enumeration value="CinnostniRoleOvm"/>
            <xs:enumeration value="CinnostniRoleSpuu"/>
            <xs:enumeration value="Udaj"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypPusobnostiType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="VSE">
                <xs:annotation>
                    <xs:documentation>Vše</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="VLASTNI">
                <xs:annotation>
                    <xs:documentation>Vlastní</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PRENESENA">
                <xs:annotation>
                    <xs:documentation>Přenesená</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevObjektuUdajeType">
        <xs:annotation>
            <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="250"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="KratkyNazevType">
        <xs:annotation>
            <xs:documentation>Název kratší než 40 znaků s diakritikou.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="40"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DlouhyNazevType">
        <xs:annotation>
            <xs:documentation>Libovolný název s diakritikou.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AsciiNazevType">
        <xs:annotation>
            <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="40"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DatovyTypType">
        <xs:annotation>
            <xs:documentation>Datový typ s namespace.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="2048"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TsuaUdajeType">
        <xs:annotation>
            <xs:documentation>Název TSUA údaj s namespace.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="2048"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevTypuSluzbyVsType">
        <xs:annotation>
            <xs:documentation>Název typu služby veřejné správy.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevTypuKanaluType">
        <xs:annotation>
            <xs:documentation>Název typu kanálu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="RelevanceType">
        <xs:annotation>
            <xs:documentation>Relevance služby.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevTypuPusobnostiType">
        <xs:annotation>
            <xs:documentation>Název typu kanálu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevVykonavateleUkonuType">
        <xs:annotation>
            <xs:documentation>Název vykonavatele úkonu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevFazeUkonuType">
        <xs:annotation>
            <xs:documentation>Název fáze úkonu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevUrovneDuveryType">
        <xs:annotation>
            <xs:documentation>Název typu kanálu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DuvodPracovisteType">
        <xs:annotation>
            <xs:documentation>Důvod neuvedení adresy pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="200"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevTypuSubjektuType">
        <xs:annotation>
            <xs:documentation>Název typu subjektu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ElOvereniFyzTotoznostiType">
        <xs:annotation>
            <xs:documentation>Elektronické ověření fyzické totožnosti.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="KodOpravneniType">
        <xs:annotation>
            <xs:documentation>Kód oprávnění - seznamu údajů z agendy. Struktura: kód agendy čerpající-kód agendy poskytující - pořadové číslo, příklad A111-A130-1.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TextDuvoduType">
        <xs:annotation>
            <xs:documentation>Text</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="4000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypZmeny2Type">
        <xs:restriction base="xs:string">
            <xs:enumeration value="I">
                <xs:annotation>
                    <xs:documentation>Insert</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="U">
                <xs:annotation>
                    <xs:documentation>Update</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="D">
                <xs:annotation>
                    <xs:documentation>Delete</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevUdajeType">
        <xs:annotation>
            <xs:documentation>Název údaje.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="250"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevCharakteristikyType">
        <xs:annotation>
            <xs:documentation>Název charakteristiky.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypSluzbyType">
        <xs:annotation>
            <xs:documentation>Typ služby.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="50"/>
            <xs:enumeration value="EDITACNI"/>
            <xs:enumeration value="INFORMACNI"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="SubjektSluzbyType">
        <xs:annotation>
            <xs:documentation>Subjekt využívající službu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NotifikaceType">
        <xs:annotation>
            <xs:documentation>Charakteristika objektu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOpravneniType">
        <xs:annotation>
            <xs:documentation>Typ oprávnění.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="HodnotaCharakteristiky6Type">
        <xs:annotation>
            <xs:documentation>Hodnota charakteristiky.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="PusobnostOvmAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Údaje o působnosti, předek.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Agenda" type="AgendaStavType"/>
            <xs:element name="Ovm" type="rpp:OvmType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PravniPredpisAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Identifikace právního předpisu v dotazu, předek.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="edi:PravniPredpisEditAbstractType"/>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="RozhodnutiAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Údaje identifikace rozhodnutí v dotazu, předek.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="edi:RozhodnutiEditAbstractType"/>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ZmenaAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Informace o změně údaje, předek.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CasZpracovani" type="CasZpracovaniType"/>
            <xs:element name="IdZpravy" type="ZpravaIdType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SlaType">
        <xs:sequence>
            <xs:element name="Nazev" type="rpp:NazevSlaType"/>
            <xs:element name="SeznamMetrik" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Metrika" type="MetrikaType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MetrikaType">
        <xs:complexContent>
            <xs:extension base="edi:MetrikaSlaEditType">
                <xs:sequence>
                    <xs:element name="Jednotka" type="rpp:NazevJednotkyMetrikyType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SluzbaType">
        <xs:annotation>
            <xs:documentation>
                Služba v odpovědích dotazů.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="edi:SluzbaEditAbstractType">
                <xs:sequence>
                    <xs:element name="PopisnySoubor" type="rpp:PopisnySouborSluzbyType" minOccurs="0"/>
                    <xs:element name="Sla" type="SlaType"/>
                    <xs:element name="PoskytujiciInformacniSystem">
                        <xs:complexType>
                            <xs:complexContent>
                                <xs:extension base="rpp:InformacniSystemAbstractType"/>
                            </xs:complexContent>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="SeznamUdajuAis" type="edi:SeznamUdajuAisSluzbyEditType" minOccurs="0"/>
                    <xs:element name="PuvodniSluzba" minOccurs="0">
                        <xs:complexType>
                            <xs:complexContent>
                                <xs:extension base="rpp:SluzbaAbstractType"/>
                            </xs:complexContent>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="SeznamVolanychSluzeb" minOccurs="0">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="VolanaSluzba" maxOccurs="unbounded">
                                    <xs:complexType>
                                        <xs:complexContent>
                                            <xs:extension base="rpp:SluzbaAbstractType">
                                                <xs:sequence>
                                                    <xs:element name="Poradi" type="rpp:PoradiSluzbyType"/>
                                                    <xs:element name="MaxPocetVystup" type="rpp:MaxPocetVystupSluzbyType"/>
                                                </xs:sequence>
                                            </xs:extension>
                                        </xs:complexContent>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostiAgendyType">
        <xs:annotation>
            <xs:documentation>
                Seznam činností agendy.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="edi:SeznamCinnostiAgendyEditType"/>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="IsAgendyStavType">
        <xs:annotation>
            <xs:documentation>
                Informační systém ve vztahu k agendě včetně stavu vazby v odpovědích.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="edi:IsEditType">
                <xs:attribute name="stav" type="rpp:StavRppType"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="AgendaStavType">
        <xs:annotation>
            <xs:documentation>
                Agenda rozšířená o další údaje včetně stavů.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:AgendaAbstractType">
                <xs:sequence>
                    <xs:element name="Souhlas" type="xs:boolean"/>
                </xs:sequence>
                <xs:attribute name="stavAgenda" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavCeleAgendy" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavUstanoveniPp" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavCinnostiAgendy" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavAgendaAis" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavPovolenychOvm" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavPrirazeniCinnosti" type="rpp:StavRppType" use="required"/>
                <xs:attribute name="stavOpravneniAis" type="rpp:StavRppType" use="required"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="RozhodnutiStavType">
        <xs:annotation>
            <xs:documentation>
                Údaje o rozhodnutí včetně stavu v odpovědích.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorRozhodnutiType"/>
            <xs:element name="DatumPravniMoci" type="rpp:DatumPravniMociType" minOccurs="0"/>
            <xs:sequence minOccurs="0">
                <xs:element name="KodProvadejiciAgendy" type="reg:KodAgendyType"/>
                <xs:element name="NazevProvadejiciAgendy" type="rpp:NazevAgendyType"/>
            </xs:sequence>
            <xs:element name="KodRozhodujicihoOvm" type="reg:KodOvmType" minOccurs="0"/>
            <xs:element name="SeznamUstanoveni" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="UstanoveniPpRozhodnuti" type="rpp:PravniUstanoveniPredpisType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamCinnosti" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="CinnostRozhodnuti" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:complexContent>
                                    <xs:extension base="rpp:CinnostAgendyAbstractType">
                                        <xs:sequence>
                                            <xs:element name="KodAgendy" type="reg:KodAgendyType"/>
                                            <xs:element name="DatumPlatnostiAgendyOd" type="rpp:DatumPlatnostiOdType"/>
                                        </xs:sequence>
                                    </xs:extension>
                                </xs:complexContent>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamPravPovinnosti" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="PravoPovinnost" type="rpp:PravoPovinnostOvmType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavUdajuORozhodnuti" type="rpp:StavRppType" use="required"/>
        <xs:attribute name="stavRozhodujicihoOvm" type="rpp:StavRppType" use="required"/>
        <xs:attribute name="stavProvadejiciAgendy" type="rpp:StavRppType" use="required"/>
        <xs:attribute name="stavPravaPovinnosti" type="rpp:StavRppType" use="required"/>
        <xs:attribute name="stavUstanoveniPp" type="rpp:StavRppType" use="required"/>
        <xs:attribute name="stavCelehoRozhodnuti" type="rpp:StavRppType" use="required"/>
    </xs:complexType>
    <xs:complexType name="IdentifikaceZaznamuTypAType">
        <xs:annotation>
            <xs:documentation>
                Údaje s identifikací záznamu agendy v RPP.
                Typ záznamu - A (agenda).
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType"/>
            <xs:element name="DatumPlatnostiAgendyOd" type="rpp:DatumPlatnostiOdType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieOvmType">
        <xs:annotation>
            <xs:documentation>Kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorieOvm" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód Kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0"/>
            <xs:element name="SeznamOvmVKategorii" type="rpp:SeznamOvmVKategoriiType" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KategorieSpuuType">
        <xs:annotation>
            <xs:documentation>Kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorieSpuu" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0"/>
            <xs:element name="SeznamSpuuVKategorii" type="rpp:SeznamSpuuVKategoriiType" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KategorieOvm2Type">
        <xs:annotation>
            <xs:documentation>Kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód Kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicPpEsel" type="rpp:SeznamDefinicPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících kategorii.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPpEsel" type="rpp:SeznamSlozeniPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOvmVKategorii" type="rpp:SeznamOvmVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpDefinice" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpSlozeni" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KategorieSpuu2Type">
        <xs:annotation>
            <xs:documentation>Kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifáikatorKategorieSpuu" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicPpEsel" type="rpp:SeznamDefinicPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících kategorii.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPpEsel" type="rpp:SeznamSlozeniPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSpuuVKategorii" type="rpp:SeznamSpuuVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost SPUU do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpDefinice" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpSlozeni" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KategorieOvmVyberType">
        <xs:annotation>
            <xs:documentation>Parametry pro výběr kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorie" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevKategorie" type="rpp:NazevKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PravniPredpis" type="UstanoveniPpVyberType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpis, podle kterého byla kategorie založena.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UstanoveniPpVyberType">
        <xs:annotation>
            <xs:documentation>Seznam právních předpisů, seznam jejich částí, zahrnuje nadřízený právní předpis. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CisloPravnihoPredpisu" type="rpp:CisloPravnihoPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Číslo nadřízeného právního předpisu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RokPravnihoPredpisu" type="rpp:RokPravnihoPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rok vydání nadřízeného právního předpisu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevPravnihoPredpisu" type="rpp:NazevPravnihoPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název nadřízeného právního předpisu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Paragraf" type="rpp:ParagrafUstanoveniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Paragraf zákona.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odstavec" type="rpp:OdstavecUstanoveniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odstavec paragrafu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pismeno" type="rpp:PismenoUstanoveniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Písmeno odstavce paragrafu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieSpuuVyberType">
        <xs:annotation>
            <xs:documentation>Parametry pro výběr kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorie" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodSpuu" type="rpp:KodSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevKategorie" type="rpp:NazevKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PravniPredpis" type="UstanoveniPpVyberType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpis, podle kterého byla kategorie založena.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKategoriiOvmType">
        <xs:sequence>
            <xs:element name="KategorieOvm" type="KategorieOvmZakladType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Vybrané kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieOvmZakladType">
        <xs:annotation>
            <xs:documentation>Záíkladní údaje ke kategorii SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorie" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevKategorie" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKategoriiSpuuType">
        <xs:sequence>
            <xs:element name="KategorieSpuu" type="KategorieSpuuZakladType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Vybrané kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieSpuuZakladType">
        <xs:annotation>
            <xs:documentation>Základní údaje ke kategorii OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodKategorie" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevKategorie" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie SPUU</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie SPUU</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmVyberType">
        <xs:annotation>
            <xs:documentation>Výber seznam OVM podle zadaných(vyplněných) parametrů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor fyzické osoby v ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>IČO subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SidloRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Sídlo odkazem do RUIAN.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SidloTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Textová nestrukturovaná adresa.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypDs" type="reg:TypDatoveSchrankyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ datové schránky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorDs" type="reg:DatovaSchrankaIdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor datové schránky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PravniPredpis" type="UstanoveniPpVyberType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpis, podle kterého byl oprávněný subjekt založen.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpuuVyberType">
        <xs:annotation>
            <xs:documentation>Výber seznam SPUU podle zadaných(vyplněných) parametrů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSpuu" type="rpp:KodSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>IČO subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku nebo zápisu do evidence - zákon č. 111/2009 Sb. § 51 odst. 2 písm. h).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku nebo výmazu z evidence spojený se zánikem SPUU - zákon č. 111/2009 Sb. § 51 odst. 2 písm. j).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PravniPredpis" type="UstanoveniPpVyberType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpis, podle kterého byl oprávněný subjekt založen.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKategorieSpuu" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KompletniOvmType">
        <xs:annotation>
            <xs:documentation>Údaje vedené k OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). -  - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPravniFormy" type="rpp:KodPravniFormyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní forma převzaná z ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OrganizacniJednotkaStatu" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda je OVM vnitřní organizační jednotkou organizační složky státu zákona č. 111/2009 Sb. § 51 odst. 1 písm. c).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum prvotního zápisu OVM do jádra RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam jejich částí, zahrnuje nadřízený právní předpis. </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="rpp:SeznamOsobVCeleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam osob v čele OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSchranek" type="rpp:SeznamDatovychSchranekType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam datových schránek.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrislusnostOvmDoKat" type="rpp:SeznamPrislusnostOvmDoKatType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií, do kterých je OVM zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavNazev" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAdresaTextem" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOdkazRuian" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOrgJednStatu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuOvm" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KompletniSpuuType">
        <xs:annotation>
            <xs:documentation>Údaje vedené k SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby - zákon č. 111/2009 Sb. § 51 odst. 1 písm. d).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku nebo zápisu do evidence - zákon č. 111/2009 Sb. § 51 odst. 2 písm. h).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku nebo výmazu z evidence spojený se zánikem SPUU - zákon č. 111/2009 Sb. § 51 odst. 2 písm. j).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Počátek pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Konce pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Počátek přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Konec přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy, která záznam založila (pro automatické z ROSu je to agenda  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM, která záznam založila ( pro automatické z ROSu je to OVM  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum zápisu nového SPPU do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam jejich částí, zahrnuje nadřízený právní předpis. </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrislusnostSpuuDoKat" type="rpp:SeznamPrislusnostSpuuDoKatType" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="stavDatumuVzniku" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavDatumuZaniku" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuSpuu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MaticeAisVykonavajiciType">
        <xs:sequence>
            <xs:element name="IdOs" type="IdOsType">
                <xs:annotation>
                    <xs:documentation>ID oprávněného subjektu</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>kod AIS v matici AIS</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaticeOpravneniKOvmType">
        <xs:annotation>
            <xs:documentation>Seznam záznamů činností OVM pro jeden den.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdOs" type="IdOsType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu matice OVM</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdCinnosti" type="IdCinnostiType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu činnosti v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOs" type="rpp:KodOsType">
                <xs:annotation>
                    <xs:documentation>Kód OVM / SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdSkupinyZr" type="IdSkupinyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz na skupinu údajů ZR.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdSkupinyAis" type="IdSkupinyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz na skupinu údajů mimo ZR.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaticeOpravneniKCinnostiType">
        <xs:annotation>
            <xs:documentation>Seznam záznamů činností OVM pro jeden den.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdCinnosti" type="IdCinnostiType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu činnosti v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaticeOpravneniUdajType">
        <xs:annotation>
            <xs:documentation>Matice pro oprávnění na přístup k agendám - úroveň přístupu oprávnění k údaji.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdOpravneniUdaje" type="IdOpravneniType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodObjektu" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="rpp:OpravneniUdajTypType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění - enumerace [R,W,Rnh,....]</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VerejnyUdaj" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak veřejnosti údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaticeNesprOpravneniType">
        <xs:annotation>
            <xs:documentation>Seznam záznamů pro údaje poskytované agendou k činnosti.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdOs" type="IdOsType">
                <xs:annotation>
                    <xs:documentation>ID oprávněného subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdOpravneniUdaje" type="IdOpravneniType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu v matici oprávnění pro údaje poskytující agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaticeUdajeSkupinyType">
        <xs:annotation>
            <xs:documentation>Seznam záznamů pro údaje poskytované agendou k činnosti.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdSkupina" type="IdSkupinyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdOpravneniUdaje" type="IdOpravneniType">
                <xs:annotation>
                    <xs:documentation>Identifikátor záznamu v matici oprávnění pro údaje poskytující agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOvmType">
        <xs:annotation>
            <xs:documentation>
                Seznam OVM.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ovm" type="ZakladOvmType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam orgánů veřejné moci.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladOvmType">
        <xs:annotation>
            <xs:documentation>Seznam orgánů veřejné moci.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPravniFormy" type="rpp:KodPravniFormyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní forma převzaná z ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Konec působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduKategoriiOvm" type="rpp:SeznamKoduKategoriiOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSpuuType">
        <xs:annotation>
            <xs:documentation>Seznam Spuu</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Spuu" type="ZakladSpuuType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam soukromprávních uživatelů údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladSpuuType">
        <xs:annotation>
            <xs:documentation>Seznam soukromprávních uživatelů údajů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby - zákon č. 111/2009 Sb. § 51 odst. 1 písm. d).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy, která záznam založila (pro automatické z ROSu je to agenda  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM, která záznam založila ( pro automatické z ROSu je to OVM  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduKategoriiSpuu" type="rpp:SeznamKoduKategoriiSpuuType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCerpajicichAgendType">
        <xs:sequence>
            <xs:element name="CerpajiciAgenda" type="CerpajiciAgendaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CerpajiciAgendaType">
        <xs:annotation>
            <xs:documentation>Identifikace agendy.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákona č. 111/2009 Sb. § 51 odst. 5 písm. a). Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevAgendy" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název agendy dle zákona č. 111/2009 Sb. § 51 odst. 5 písm. a).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy (verze).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy (verze).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneni" type="SeznamOpravneniType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniType">
        <xs:sequence>
            <xs:element name="Opravneni" type="OpravneniType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniType">
        <xs:annotation>
            <xs:documentation>Popis oprávnění k údaji.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevObjektUdaj" type="rpp:NazevObjektuType">
                <xs:annotation>
                    <xs:documentation>Název údaje objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevUdaje" type="rpp:NazevUdajeAisType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="rpp:OpravneniUdajTypType">
                <xs:annotation>
                    <xs:documentation>Úroveň přístupu k údaji.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolenychOvm" type="edi:SeznamPovolenychOsCinnostAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam povolených činnostních rolí pro OVM (činnost agendy x OVM)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolenychSpuu" type="edi:SeznamPovolenychOsCinnostAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam povolených činnostních rolí pro SPUU (činnost agendy x SPUU)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupOvmType">
        <xs:annotation>
            <xs:documentation>Kód a název registrovaného Orgánu veřejné moci.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupSpuuType">
        <xs:annotation>
            <xs:documentation>Kód a název SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuuCinnostiAgendyType">
        <xs:sequence>
            <xs:element name="PusobnostSpuuVAgende" type="PusobnostSpuuCinnostiAgendyType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuuCinnostiAgendyType">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým není dané OVM registrováno</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NazevCinnostiAgendy" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnostiAgendy" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PopisCinnostiAgendy" type="rpp:PopisCinnostiAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Popis činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Agenda2Type">
        <xs:annotation>
            <xs:documentation>Výpis agendy, verze 2</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákon č.111/2009 Sb. §51/1/a. Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název Agendy dle zákona č.111/2009 Sb. §51/1/a.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPlatnostiOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPlatnostiDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVznikuAgendy" type="rpp:DatumVznikuType"/>
            <xs:element name="DatumZanikuAgendy" type="rpp:DatumZanikuType" minOccurs="0"/>
            <xs:element name="RegistrujiciOvm" type="RegistrujiciOvmVypisType">
                <xs:annotation>
                    <xs:documentation>Název ústředního správního úřadu nebo jiného správního úřadu s celostátní působností, jehož agenda byla registrována, a identifikátor tohoto orgánu</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavCeleAgendy" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, zda některý údaj za celou registraci agendy (včetně návazných údajů) nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Stav seznamu právních předpisů definujících agendu</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="RegistrujiciOvmVypisType">
        <xs:annotation>
            <xs:documentation>Název ústředního správního úřadu nebo jiného správního úřadu s celostátní působností, jehož agenda byla registrována, a identifikátor tohoto orgánu, včetně příznaku zpochybnění</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RegistrujiciOvmType">
                <xs:attribute name="stavRegistrujicihoOvm" type="rpp:StavRppType" use="required">
                    <xs:annotation>
                        <xs:documentation>Příznak správnosti registrujícího OVM</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="RegistrujiciOvmType">
        <xs:annotation>
            <xs:documentation>Název ústředního správního úřadu nebo jiného správního úřadu s celostátní působností, jehož agenda byla registrována, a identifikátor tohoto orgánu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamZmenOpravneniType">
        <xs:sequence>
            <xs:element name="ZmenaOpravneni" type="ZmenaOpravneniType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZmenaOpravneniType">
        <xs:annotation>
            <xs:documentation>Změna oprávnění.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Seznam kódů Agendy poskytující údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Seznam kodů Agendy čerpající údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CasZpracovani" type="rpp:CasZpracovaniType">
                <xs:annotation>
                    <xs:documentation>Čas kdy došlo ke změně.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamVystupAgendaType">
        <xs:sequence>
            <xs:element name="VystupAgenda" type="VystupAgendaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupAgendaType">
        <xs:annotation>
            <xs:documentation>Základní údaje agendy včetně správností.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákon č.111/2009 Sb. §51/1/a. Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevAgendy" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název Agendy dle zákona č.111/2009 Sb. §51/1/a.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavCeleAgendy" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, zda některý údaj za celou registraci agendy (včetně návazných údajů) nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamVystupOvm2Type">
        <xs:sequence>
            <xs:element name="VystupOvm" type="VystupOvm2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupOvm2Type">
        <xs:annotation>
            <xs:documentation>Kód a název registrovaného Orgánu veřejné moci.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamVystupSpuu2Type">
        <xs:sequence>
            <xs:element name="VystupSpuu" type="VystupSpuu2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupSpuu2Type">
        <xs:annotation>
            <xs:documentation>Kód a název SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSPUU" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvmVAgendeType">
        <xs:sequence>
            <xs:element name="PusobnostOvmVAgende" type="PusobnostOvmVAgendeType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvmVAgendeType">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevPusobnostiType">
                <xs:annotation>
                    <xs:documentation>Název činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisPusobnostiType">
                <xs:annotation>
                    <xs:documentation>Název činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PocetUrednichOsob" type="rpp:PocetUrednikuOvmType">
                <xs:annotation>
                    <xs:documentation>Celkový počet úředníků na OVM v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuuVAgendeType">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým není dané OVM registrováno</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnostiAgendy" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevCinnostiAgendy" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PopisCinnostiAgendy" type="rpp:PopisCinnostiAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Popis činnosti dle zákona č.111/2009 Sb. §51/1/c</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOdSpuu" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povoleného SPUU</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamAisPusobnost" type="rpp:SeznamAisPusobnostType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam AISů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostOdKatSpuu" type="rpp:SeznamKoduKategoriiSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povolené kategorie nebo kategorií SPUU</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavSpuuCinnostAgendy" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Prezentace zpochybnení vazby činnost agendy - SPUU</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="NavrhovanaHodnotaType">
        <xs:annotation>
            <xs:documentation>Navrhovaná hodnota.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ZakladniIdentifikaceRpp" type="ZakladniIdentifikaceRppType">
                <xs:annotation>
                    <xs:documentation>Identifikace objektu RPP pro druh reklamace</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamObsahuReklamace" type="SeznamObsahuReklamaceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Sada reklamovaných údajů</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladniIdentifikaceRppType">
        <xs:sequence>
            <xs:element name="SeznamIdentifikacnichUdaju" type="SeznamIdentifikacnichUdajuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikace objektu pro reklamaci</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamIdentifikacnichUdajuType">
        <xs:sequence>
            <xs:element name="IdentifikacniUdaj" type="PredanyUdajType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PredanyUdajType">
        <xs:annotation>
            <xs:documentation>Hodnoty požadované pro údaj.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Poradi" type="PoradiPredanehoUdajeType">
                <xs:annotation>
                    <xs:documentation>Pořadí údaje v návrhu reklamace</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UdajRpp" type="UdajRppType">
                <xs:annotation>
                    <xs:documentation>Název údaje z výčtového typu UdajRpp</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Hodnota" type="rpp:TextovaHodnotaType">
                <xs:annotation>
                    <xs:documentation>Hodnota identifikačního údaje</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObsahuReklamaceType">
        <xs:sequence>
            <xs:element name="ObsahReklamace" type="ObsahReklamaceType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObsahReklamaceType">
        <xs:annotation>
            <xs:documentation>Reklamovaný objekt.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Poradi" type="PoradiObsahuReklamaceType">
                <xs:annotation>
                    <xs:documentation>Pořadové číslo objektu v reklamaci</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ObjektReklamace" type="ReklamovanyObjektType">
                <xs:annotation>
                    <xs:documentation>Identifikace objektu reklamace</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPredanychUdaju" type="SeznamPredanychUdajuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Sada údajů identifikující reklamovaný záznam</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypReklamace" type="TypReklamaceType">
                <xs:annotation>
                    <xs:documentation>Typ reklamace</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="PopisObsahuReklamaceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Textový popis k reklamaci údaje</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPredanychUdajuType">
        <xs:sequence>
            <xs:element name="PredanyUdaj" type="PredanyUdajType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupAgenda2Type">
        <xs:annotation>
            <xs:documentation>Základní údaje agendy včetně správností.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákon č.111/2009 Sb. §51/1/a. Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevAgendy" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název Agendy dle zákona č.111/2009 Sb. §51/1/a.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvm2" type="SeznamPusobnostiOvm2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>OVM s působností v agendě</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSpuu2" type="SeznamPusobnostiSpuu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>SPUU s působností v agendě</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamVystupAgenda2Type">
        <xs:sequence>
            <xs:element name="Agenda" type="VystupAgenda2Type" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Kódy a platnosti od Agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvm2Type">
        <xs:sequence>
            <xs:element name="PusobnostOvm2" type="PusobnostOvm2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvm2Type">
        <xs:annotation>
            <xs:documentation>OVM s působností v agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuu2Type">
        <xs:sequence>
            <xs:element name="PusobnostSpuu2" type="PusobnostSpuu2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuu2Type">
        <xs:annotation>
            <xs:documentation>SPUU s působností v agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSPUU" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VystupAgenda2RType">
        <xs:annotation>
            <xs:documentation>Základní údaje agendy pro rošířený výpis</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákon č.111/2009 Sb. §51/1/a. Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevAgendy" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název Agendy dle zákona č.111/2009 Sb. §51/1/a.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvm2R" type="SeznamPusobnostiOvm2RType" minOccurs="0"/>
            <xs:element name="SeznamPusobnostiSpuu2R" type="SeznamPusobnostiSpuu2RType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamVystupAgenda2RType">
        <xs:sequence>
            <xs:element name="Agenda" type="VystupAgenda2RType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Kódy a platnosti od Agendy pro rošířený výstup.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvm2RType">
        <xs:sequence>
            <xs:element name="PusobnostOvm2R" type="PusobnostOvm2RType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>OVM s působností v agendě - rozšířený výstup</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvm2RType">
        <xs:annotation>
            <xs:documentation>OVM s působností v agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvmCinAgendy" type="SeznamPusobnostiOvmCinAgendyType">
                <xs:annotation>
                    <xs:documentation>Působnost OVM v činnosti agendy</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvmCinAgendyType">
        <xs:sequence>
            <xs:element name="PusobnostOvmCinAg" type="PusobnostOvmCinnostAgendyType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvmCinnostAgendyType">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuu2RType">
        <xs:sequence>
            <xs:element name="PusobnostSpuu2R" type="PusobnostSpuu2RType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>SPUU s působností v agendě - rozšířený výstup</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuu2RType">
        <xs:annotation>
            <xs:documentation>SPUU s působností v agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodSPUU" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Název registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSpuuCinAgendy" type="SeznamPusobnostiSpuuCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Působnost SPUU v činnosti agendy</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KompletniOvm2Type">
        <xs:annotation>
            <xs:documentation>Údaje vedené k OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). -  - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPravniFormy" type="rpp:KodPravniFormyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní forma převzaná z ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OrganizacniJednotkaStatu" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda je OVM vnitřní organizační jednotkou organizační složky státu zákona č. 111/2009 Sb. § 51 odst. 1 písm. c).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum prvotního zápisu OVM do jádra RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam jejich částí, zahrnuje nadřízený právní předpis. </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="rpp:SeznamOsobVCeleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam osob v čele OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSchranek" type="rpp:SeznamDatovychSchranekType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam datových schránek.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrislusnostOvmDoKat" type="rpp:SeznamPrislusnostOvmDoKatType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií, do kterých je OVM zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovisteVypis" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavNazev" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAdresaTextem" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOdkazRuian" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOrgJednStatu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuOvm" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="PracovisteVypisType">
        <xs:annotation>
            <xs:documentation>Seznam adres pracovišť orgánu veřejné moci, které vykonává úkon, vyjádřená referenční vazbou na RUIAN.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód adresy dle RÚIAN.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Textová (zahraniční) adresa.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodStatu" type="rpp:KodStatuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód státu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevStatu" type="rpp:NazevStatuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název státu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Otevření pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Zavření pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="required"/>
    </xs:complexType>
    <xs:complexType name="SeznamPracovistVypisType">
        <xs:sequence>
            <xs:element name="PracovisteVypis" type="PracovisteVypisType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Pracoviště</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VerzeAgendyType">
        <xs:sequence>
            <xs:element name="Agenda" type="reg:KodAgendyType"/>
            <xs:element name="DatumPlatnostiOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti verze agendy - budoucí verze.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuNaZadostType">
        <xs:sequence>
            <xs:element name="UkonNaZadost" type="UkonNaZadostDetailType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Úkon na žadost.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonNaZadostDetailType">
        <xs:annotation>
            <xs:documentation>Definované úkony.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType">
                <xs:annotation>
                    <xs:documentation>Název úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Komentar" type="rpp:KomentarUkonuType">
                <xs:annotation>
                    <xs:documentation>Komentář úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UkonElektronicky" type="rpp:UkonElektronickyType">
                <xs:annotation>
                    <xs:documentation>Umožnění elektronické formy úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnosti" type="rpp:SeznamSubjektUkonuOsType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti k OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolOvm" type="rpp:SeznamPovolenychOsCinnostAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam úkon - činnostní role pro OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolKatOvm" type="rpp:SeznamPovolenychOsCinnostAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam úkon - činnostní role pro OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektuVyuzivajichUkon" type="rpp:SeznamSubjektuType">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektů, které mohou úkon využívat.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamOvmPracovisteType">
        <xs:sequence>
            <xs:element name="OvmPracoviste" type="OvmUkonType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Pracoviště pro úkon.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmUkonType">
        <xs:annotation>
            <xs:documentation>Cílové OVM a jeho pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ovm" type="VystupOvmType">
                <xs:annotation>
                    <xs:documentation>OVM, na který byl úkon vykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AisPusobnost3Type">
        <xs:annotation>
            <xs:documentation>Kód a stav AIS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>Kód AIS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LokalniAis" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Lokální AIS - vybráno oznamovatelem působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamAisPusobnost3Type">
        <xs:sequence>
            <xs:element name="AisPusobnost" type="AisPusobnost3Type" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>AIS pro činnostní roli OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamVerziAgendyType">
        <xs:sequence>
            <xs:element name="VerzeAgendy" type="UdajeAgendyType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Agenda poskytující údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajeAgendyType">
        <xs:annotation>
            <xs:documentation>Výstup pro výpis seznamu údajů k agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti verze agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamObjektuUdaju" type="SeznamObjektuUdajuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam objektů údajů k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObjektuUdajuType">
        <xs:sequence>
            <xs:element name="ObjektUdaju" type="ObjektUdajuZakladType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Objekt údajů k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajuZakladType">
        <xs:annotation>
            <xs:documentation>Výpis základních informací o objektech údajů k agendě. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="NazevObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kratší než 40 znaků s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ s namespace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdaju" type="SeznamUdajuZakladType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="edi:SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS poskytujících údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavObjektuUdaju" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Správnost objektu/subjektu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuZakladType">
        <xs:sequence>
            <xs:element name="Udaje" type="UdajZakladType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Údaj objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajZakladType">
        <xs:annotation>
            <xs:documentation>Informace o údaji agendy.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUdajeAisType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="rpp:KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kratší než 40 znaků s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="rpp:DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="rpp:AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ s namespace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCharakteristik" type="SeznamCharakteristikType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam charakteristik údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavUdaje" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Správnost údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamCharakteristikType">
        <xs:sequence>
            <xs:element name="Charakteristika" type="CharakteristikaType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Charakteristika údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CharakteristikaType">
        <xs:sequence>
            <xs:element name="Nazev" type="xs:string"/>
            <xs:element name="Hodnota" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajVypis4Type">
        <xs:annotation>
            <xs:documentation>Výpis informací o objektech, o kterých vede agenda údaje. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevObjektuType">
                <xs:annotation>
                    <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisObjektuType">
                <xs:annotation>
                    <xs:documentation>Popis objektu/subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení právních předpisů na jejich základě je objekt poskytován.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdajVypis" type="SeznamUdajVypis4Type">
                <xs:annotation>
                    <xs:documentation>Údaje, které tvoří objekt údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="edi:SeznamKoduAisType">
                <xs:annotation>
                    <xs:documentation>Kód AIS, který údaj poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavObjektu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Správnost objektu/subjektu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamObjektUdajVypis4Type">
        <xs:sequence>
            <xs:element name="ObjektUdaj" type="ObjektUdajVypis4Type" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam objektů/subjektu dané agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajVypis4Type">
        <xs:annotation>
            <xs:documentation>Charakteristika údaje, vedeného agendou.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUdajeAisType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUdajeType">
                <xs:annotation>
                    <xs:documentation>Popis údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TsuaUdaje" type="TsuaUdajeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název TSUA údaj s namespace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCharakteristik" type="SeznamCharakteristikType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam charakteristik a hodnot charakteristik.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType">
                <xs:annotation>
                    <xs:documentation>Ustanovení právního předpisu na jehož základě se údaj poskytuje</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavUdaje" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Správnost údaje</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUdajVypis4Type">
        <xs:sequence>
            <xs:element name="Udaj" type="UdajVypis4Type" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Údaje, které tvoří objekt údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamIdentifikatoruUkonuType">
        <xs:annotation>
            <xs:documentation>Seznam úkonů poskytovaných OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorUkonu" type="rpp:IdentifikatorUkonuType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Identifikátor úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebOvmType">
        <xs:sequence>
            <xs:element name="SluzbaOvm" type="SluzbaVsZakladType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVsZakladType">
        <xs:annotation>
            <xs:documentation>Základní identifikace služby veřejné správy</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Agenda, ke které služby patří.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="edi:NazevSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Název služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPlatnostiOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti verze agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektu" type="rpp:SeznamSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Subjekty, které službu využívají.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluVypisType">
        <xs:sequence>
            <xs:element name="Poskytovatel" type="PoskytovatelVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PoskytovatelVypisType">
        <xs:annotation>
            <xs:documentation>Poskytovatelé služeb VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM, který službu VS poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodKategorieOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie, která službu VS poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pusobnost" type="NazevTypuPusobnostiType">
                <xs:annotation>
                    <xs:documentation>Typ působnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnostiSubj" type="SeznamMistniPrislusnostiSubjVypisType">
                <xs:annotation>
                    <xs:documentation>Subjekt výkonu dle místní příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamMistniPrislusnostiSubjVypisType">
        <xs:sequence>
            <xs:element name="MistniPrislusnostSubj" type="MistniPrislusnostSubjVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MistniPrislusnostSubjVypisType">
        <xs:annotation>
            <xs:documentation>Vymezení subjektu a místní příslušnosti pro jednotlivé služby VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypSubjektu" type="rpp:TypSubjektuType">
                <xs:annotation>
                    <xs:documentation>Typ subjektu, kterému je určen - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MistniPrislusnost" type="rpp:MistniPrislusnostType">
                <xs:annotation>
                    <xs:documentation>Místní příslušnost - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuVypisType">
        <xs:sequence>
            <xs:element name="Ukon" type="UkonVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonVypisType">
        <xs:annotation>
            <xs:documentation>Definované úkony ke službě VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Popis úkony služby- komentář.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonavatelUkonu" type="NazevVykonavateleUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeDigitalni" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o digitální úkon - automaticky podle existujících obslužných kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Fáze pokrývající úkon - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKanalu" type="SeznamKanaluVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamFaziUkonuVypisType">
        <xs:sequence>
            <xs:element name="FazeUkonu" type="NazevFazeUkonuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKanaluVypisType">
        <xs:sequence>
            <xs:element name="Kanal" type="KanalVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KanalVypisType">
        <xs:annotation>
            <xs:documentation>Definované obslužné kanály (realizované).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypKanalu" type="NazevTypuKanaluType">
                <xs:annotation>
                    <xs:documentation>Typ kanálu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenDuvery" type="NazevUrovneDuveryType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Požadovaná úroveň důvěry - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluOvm" type="rpp:SeznamKoduOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluKategorieOvm" type="SeznamPoskytovateluKategorieOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluKategorieOvmType">
        <xs:sequence>
            <xs:element name="PoskytovatelKategorieOvm" type="rpp:KodKategorieType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluOvmType">
        <xs:sequence>
            <xs:element name="PoskytovatelOvm" type="reg:KodOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOvmPracovisteVypisType">
        <xs:sequence>
            <xs:element name="OvmPracoviste" type="PracovisteOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PracovisteOvmType">
        <xs:annotation>
            <xs:documentation>Cílové OVM a jeho pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ovm" type="VystupOvmType">
                <xs:annotation>
                    <xs:documentation>OVM, které úkon vykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duvod" type="DuvodPracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Důvod neuvedení adresy pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že úkon není poskytován na žádném pracovišti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Prevedeno" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak převedení služby na jiné OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracoviste" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Agenda5Type">
        <xs:annotation>
            <xs:documentation>Výpis agendy, verze 2</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="Agenda2Type">
                <xs:sequence>
                    <xs:element name="MaAis" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>Příznak, zda agenda má definované centrální AISy.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="MaUdaj" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>Příznak, zda agenda má definované poskytované údaje.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="MaSluzbuVs" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>Příznak, zda agenda má definované služby veřejné správy.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="MaTsua" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>Příznak, zda agenda má definované TSUA k údajům.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostAgendyStatusType">
        <xs:sequence>
            <xs:element name="Cinnost" type="CinnostAgendyStatusType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostAgendyStatusType">
        <xs:annotation>
            <xs:documentation>Výčet a popis činností, které jsou vykonávány v agendě, včetně příznaku zpochybnění pro činnostní roli</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Povinný atribut. Je unikátní v rámci jedné agendy, jedná se o pořadové číslo činnosti v rámci agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti agendy -zákon č.111/2009 Sb. §51/5/c . Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Popis činnosti v rámci výkonu agendy. Povinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypCinnosti" type="rpp:TypCinnostiType">
                <xs:annotation>
                    <xs:documentation>Typ činnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PopisTypuCinnosti" type="rpp:PopisTypuCinnostiType">
                <xs:annotation>
                    <xs:documentation>Popis typu činnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poradi" type="rpp:PoradiCinnostiType">
                <xs:annotation>
                    <xs:documentation>Pořadí činnosti v rámci agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolOvm" type="rpp:SeznamPovolOsCinAgendyVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Povolené OVM k činnosti agendy (§51, odst. 5, písm. c)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolSpuu" type="rpp:SeznamPovolOsCinAgendyVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Povolené SPUU k činnosti agendy (§51, odst. 5, písm. c)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolKatOvm" type="rpp:SeznamPovolOsCinAgendyVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Povolený typ OVM k činnosti agendy (§51, odst. 5, písm. c)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolKatSpuu" type="rpp:SeznamPovolOsCinAgendyVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Povolený typ SPUU k činnosti agendy (§51, odst. 5, písm. c)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamVykonStatutCinnost" type="SeznamVykonStatutCinnostType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výkon agendy dle statutu - činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavCinnostniRole" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění činnostní role</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamVykonStatutCinnostType">
        <xs:sequence>
            <xs:element name="VykonStatutCinnost" type="StatutarniMesto5Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebVsVypisType">
        <xs:sequence>
            <xs:element name="SluzbaVs" type="SluzbaVsVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVsVypisType">
        <xs:annotation>
            <xs:documentation>Definované služby.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypSluzbyVs" type="NazevTypuSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Typ služby - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevSluzbyVs" type="edi:NazevSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Název služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisSluzbyType">
                <xs:annotation>
                    <xs:documentation>Popis služby - komentář.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCinnosti" type="rpp:SeznamKoduCinnostiType">
                <xs:annotation>
                    <xs:documentation>Činnosti, které služba podporuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonu" type="SeznamUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam úkonů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamVykonStatusSluzbaVs" type="SeznamVykonStatusSluzbaVsType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výkon agendy dle statutu - sluižby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelu" type="SeznamPoskytovateluVypisType">
                <xs:annotation>
                    <xs:documentation>Poskytování služeb OVM a kategoriemi podle typu subjektu a příslušnosti subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType">
                <xs:annotation>
                    <xs:documentation>Právní předpisy ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektuVyuzivajicichSluzbu" type="SeznamSubjVyuzSluzbuVypisType">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Příznak správnosti údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamVykonStatusSluzbaVsType">
        <xs:sequence>
            <xs:element name="VykonStatusSluzbaVs" type="StatutarniMesto5Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSubjVyuzSluzbuVypisType">
        <xs:sequence>
            <xs:element name="SubjektVyuzivajiciSluzbu" type="NazevTypuSubjektuType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Typ subjektu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutarniMesto5Type">
        <xs:annotation>
            <xs:documentation>Výkon agendy dle statutu pro statutární město a jeho části.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ovm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM statutárního města.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Vykonava" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM v agendě činnost/službu VS vykovává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMestskaCastObvod" type="SeznamMestskaCastObvodVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výkon agendy dle statutu pro městské části a obvody statutárního města.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamMestskaCastObvodVypisType">
        <xs:sequence>
            <xs:element name="MestskaCastObvod" type="reg:KodOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnosti5Type">
        <xs:sequence>
            <xs:element name="Pusobnost" type="Pusobnost5Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Pusobnost5Type">
        <xs:annotation>
            <xs:documentation>Seznam působností OVM v konkrétní agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti od.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti do.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pocet" type="rpp:PocetUrednikuOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Celkový počet úředníků na OVM/SPUU v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCinnosti" type="SeznamPusobnostiCinnostType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, ke které dané OVM/SPUU vykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovistSluzeb" type="SeznamPusobnostiSluzbaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště služeb veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavPusobnost" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Celkový stav (zpochybnění) působnosti OVM v agendě.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAis" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Stav AIS k působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSluzeb" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Stav služeb.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavCinnosti" type="rpp:StavRppType">
            <xs:annotation>
                <xs:documentation>Stav činností působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiCinnostType">
        <xs:sequence>
            <xs:element name="PusobnostCinnosti" type="PusobnostCinnostPrevedenaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostCinnostPrevedenaType">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost)</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PocetUrednichOsob" type="rpp:PocetUvazkuType">
                <xs:annotation>
                    <xs:documentation>Celkový počet úředníků na OVM v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povoleného OVM/SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostOdKatOvm" type="rpp:SeznamKoduKategoriiOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povolené kategorie nebo kategorií.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamAisPusobnost" type="SeznamAisPusobnost3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam AISů pro činnostní roli OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSluzbaType">
        <xs:sequence>
            <xs:element name="PusobnostSluzba" type="SluzbaPracovisteVypisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaPracovisteVypisType">
        <xs:annotation>
            <xs:documentation>Služba s jeho pracovisti.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzbyVs" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevSluzbyVs" type="edi:NazevSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Název služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypSluzbyVs" type="NazevTypuSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Typ služby - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duvod" type="DuvodPracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Důvod neuvedené pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Informace, že úkon není poskytován na pracovišti, "SLužba se neposkytuje na adrese"</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SluzbaVs" type="SluzbaVsVykonType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Detail poskytování služby, úkonů a kanály.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrevedeniSluzby" type="SeznamPrevedeniSluzbyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště OVM, které službu přebralo.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVsVykonType">
        <xs:annotation>
            <xs:documentation>Definované služby.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SeznamSubjVyuzSluzbuVypisType" type="SeznamSubjVyuzSluzbuVypisType">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType">
                <xs:annotation>
                    <xs:documentation>Právní předpisy ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonu" type="SeznamUkonuVykonType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam úkonů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuVykonType">
        <xs:sequence>
            <xs:element name="Ukon" type="UkonVykonType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonVykonType">
        <xs:annotation>
            <xs:documentation>Definované úkony.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonavatelUkonu" type="NazevVykonavateleUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeDigitalni" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o digitální úkon - automaticky podle existujících obslužných kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Fáze pokrývající úkon - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKanalu" type="SeznamKanaluVykonType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKanaluVykonType">
        <xs:sequence>
            <xs:element name="Kanal" type="KanalVykonType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KanalVykonType">
        <xs:annotation>
            <xs:documentation>Definované obslužné kanály.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypKanalu" type="NazevTypuKanaluType">
                <xs:annotation>
                    <xs:documentation>Typ kanálu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenDuvery" type="NazevUrovneDuveryType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Požadovaná úroveň důvěry - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedeniSluzbyType">
        <xs:sequence>
            <xs:element name="PrevedeniSluzby" type="PrevedeniSluzbyType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrevedeniSluzbyType">
        <xs:annotation>
            <xs:documentation>Cílové OVM a jeho pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PrebirajiciOvm" type="VystupOvmType">
                <xs:annotation>
                    <xs:documentation>OVM, na který byl úkon předán.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedenychPusobnostiType">
        <xs:sequence>
            <xs:element name="PusobnostPrevedena" type="PusobnostPrevedena5Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostPrevedena5Type">
        <xs:annotation>
            <xs:documentation>Seznam působností OVM v konkrétní agendě vykonávané za jiné OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PredavajiciOvm" type="VystupOvmType">
                <xs:annotation>
                    <xs:documentation>OVM, které působnost předalo.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti od.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti do.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pocet" type="rpp:PocetUrednikuOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Celkový počet úředníků na OVM v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiCinnost" type="SeznamPusobnostiCinnostPrevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, ke které dané OVM vykonává z důvodu převedení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSluzba" type="SeznamPusobnostiSluzbaPrevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam služeb.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavPusobnost" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Celkový stav (zpochybnění) působnosti OVM v agendě.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAis" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav AIS k působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSluzeb" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav služeb VS.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavCinnosti" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav činností působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiCinnostPrevType">
        <xs:sequence>
            <xs:element name="PusobnostCinnosti" type="PusobnostCinnostPrevedenaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSluzbaPrevType">
        <xs:sequence>
            <xs:element name="PusobnostSluzba" type="SluzbaPracovistePrevedenaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaPracovistePrevedenaType">
        <xs:annotation>
            <xs:documentation>Služba s jeho pracovisti.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzby" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevSluzby" type="reg:NazevSluzbyType">
                <xs:annotation>
                    <xs:documentation>Název úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Informace, že úkon není poskytován na pracovišti, "SLužba se neposkytuje na adrese"</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniNaUdajType">
        <xs:annotation>
            <xs:documentation>Úroveň oprávnění na konkrétní údaj.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje poskytující agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenPristupu" type="rpp:OpravneniUdajTypType">
                <xs:annotation>
                    <xs:documentation>Úroveň přístupu k údaji. - enumerace [R,W,Rnh,....]</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NOAgendaCerpajiciType">
        <xs:annotation>
            <xs:documentation>Seznam změn ovlivňujících MO - typ seznamu = agendaCerpajici.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumZmeny" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdZmeny" type="rpp:IdZmenyType">
                <xs:annotation>
                    <xs:documentation>Identifdikátor změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy čerpající.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NOAisType">
        <xs:annotation>
            <xs:documentation>Seznam změn ovlivňujících MO - typ seznamu = ais.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumZmeny" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdZmeny" type="rpp:IdZmenyType">
                <xs:annotation>
                    <xs:documentation>Identifdikátor změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy čerpající.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>Kód AIS - ISVS nebo SSVU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NOOverovaciProvozType">
        <xs:annotation>
            <xs:documentation>Seznam změn ovlivňujících MO - typ seznamu = overovaciProvoz.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumZmeny" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdZmeny" type="rpp:IdZmenyType">
                <xs:annotation>
                    <xs:documentation>Identifdikátor změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy čerpající.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>Kód AIS - ISVS nebo SSVU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NOOvmSpuuType">
        <xs:annotation>
            <xs:documentation>Seznam pro typ ovmSpuu. Pokud není vyplněn kód agendy čerpající, tak se mažou všechna oprávnění vztažená k identifikátoru OVM (SPUU).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumZmeny" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdZmeny" type="rpp:IdZmenyType">
                <xs:annotation>
                    <xs:documentation>Identifdikátor změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy čerpající.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmSpuu" type="rpp:KodOsType">
                <xs:annotation>
                    <xs:documentation>Identifikátor oprávněného subjektu -OVM nebo SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="NOUdajType">
        <xs:annotation>
            <xs:documentation>Seznam změn ovlivňujících MO - typ seznamu = udaj.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumZmeny" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdZmeny" type="rpp:IdZmenyType">
                <xs:annotation>
                    <xs:documentation>Identifdikátor změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Kanal2Type">
        <xs:annotation>
            <xs:documentation>Definované obslužné kanály (realizované).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypKanalu" type="NazevTypuKanaluType">
                <xs:annotation>
                    <xs:documentation>Typ kanálu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenDuvery" type="NazevUrovneDuveryType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Požadovaná úroveň důvěry - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ElOvereniFyzTotoznosti" type="ElOvereniFyzTotoznostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Elektronické ověření fyzické totožnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluOvm" type="SeznamPoskytovateluOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluKategorieOvm" type="SeznamPoskytovateluKategorieOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelOvmStatut" type="SeznamPoskytovateluOvmStatutType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, který je uživatel typu kanálu na základě definice statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Poskytovatel2Type">
        <xs:annotation>
            <xs:documentation>Poskytovatelé služeb VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, který službu VS poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie, která službu VS poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pusobnost" type="NazevTypuPusobnostiType">
                <xs:annotation>
                    <xs:documentation>Typ působnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnostSubj" type="SeznamMistniPrislusnostiSubjVypisType">
                <xs:annotation>
                    <xs:documentation>Subjekt výkonu dle místní příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PoskytovatelStatut2Type">
        <xs:annotation>
            <xs:documentation>Poskytovatelé služeb VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, který službu VS poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pusobnost" type="NazevTypuPusobnostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ působnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM je odebráno z poskytovatelů služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnostSubj" type="SeznamMistniPrislusnostiSubjVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Subjekt výkonu dle místní příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PracovisteOvm2Type">
        <xs:annotation>
            <xs:documentation>Cílové OVM a jeho pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Idnetifikátor OVM, které má službu vykonávat.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že úkon není poskytován na žádném pracovišti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Prevedeno" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak převedení služby na jiné OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracoviste" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť k službě VS ke dni podle vstupního parametru kDatu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKanalu2Type">
        <xs:sequence>
            <xs:element name="Kanal" type="Kanal2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPracovisteOvm2Type">
        <xs:sequence>
            <xs:element name="OvmPracoviste" type="PracovisteOvm2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovatelu2Type">
        <xs:sequence>
            <xs:element name="Poskytovatel" type="Poskytovatel2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluOvmStatutType">
        <xs:sequence>
            <xs:element name="PoskytovatelOvmStatut" type="reg:KodOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluStatut2Type">
        <xs:sequence>
            <xs:element name="StatutPoskytovatel" type="PoskytovatelStatut2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonu2Type">
        <xs:sequence>
            <xs:element name="Ukon" type="Ukon2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Ukon2Type">
        <xs:annotation>
            <xs:documentation>Definované úkony ke službě VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType">
                <xs:annotation>
                    <xs:documentation>Název úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUkonuType">
                <xs:annotation>
                    <xs:documentation>Popis úkony služby- komentář.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonavatelUkonu" type="NazevVykonavateleUkonuType">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeDigitalni" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o digitální úkon - automaticky podle existujících obslužných kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Fáze pokrývající úkon - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKanalu" type="SeznamKanalu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrevedeniSluzby6Type">
        <xs:annotation>
            <xs:documentation>Cílové OVM a jeho pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PrebirajiciOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, na který byla služba VS předána.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Pusobnost6Type">
        <xs:annotation>
            <xs:documentation>Seznam působností OVM v konkrétní agendě</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti od.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti do.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCinnosti" type="SeznamPusobnostCinnost6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, ke které dané OVM/SPUU vykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovistSluzeb" type="SeznamPusobnostiSluzba6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště služeb veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavPusobnost" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Celkový stav (zpochybnění) působnosti OVM v agendě.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAis" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav AIS k působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavCinnosti" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav činností působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSluzeb" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav služeb.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="PusobnostCinnost6Type">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost)</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nevykonavam" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM činnost nevykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povoleného OVM/SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostOdKat" type="SeznamKoduKategoriiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povolené kategorie nebo kategorií.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamAis" type="SeznamAisPusobnost3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam AISů pro činnostní roli OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrebirajicichOvm" type="rpp:SeznamKoduOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam identifikátorů OVM, na které byla činnost převedena.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostCinnostPrevedena6Type">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost)</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti činnosti agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nevykonavam" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Píznak, že činnost není vykonávána.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povoleného OVM/SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostOdKat" type="SeznamKoduKategoriiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnost je odvozena od povolené kategorie nebo kategorií.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamAis" type="SeznamAisPusobnost3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam AISů pro činnostní roli OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostPrevedena6Type">
        <xs:annotation>
            <xs:documentation>Seznam působností OVM v konkrétní agendě vykonávané za jiné OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PredavajiciOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, které působnost předalo.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti od.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Platnost působnosti do.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiCinnost" type="SeznamPusobnostCinnostPrev6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, ke které dané OVM vykonává z důvodu převedení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSluzba" type="SeznamPusobnostiSluzbaPrev6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam služeb.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavPusobnost" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Celkový stav (zpochybnění) působnosti OVM v agendě.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAis" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav AIS k působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSluzeb" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav služeb VS.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavCinnosti" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Stav činností působnosti.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamKoduKategoriiType">
        <xs:sequence>
            <xs:element name="KodKategorie" type="rpp:KodKategorieType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedeniSluzby6Type">
        <xs:sequence>
            <xs:element name="PrevedeniSluzby" type="PrevedeniSluzby6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedenychPusobnosti6Type">
        <xs:sequence>
            <xs:element name="PusobnostPrevedena" type="PusobnostPrevedena6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostCinnost6Type">
        <xs:sequence>
            <xs:element name="PusobnostCinnost" type="PusobnostCinnost6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostCinnostPrev6Type">
        <xs:sequence>
            <xs:element name="PusobnostCinnosti" type="PusobnostCinnostPrevedena6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSluzba6Type">
        <xs:sequence>
            <xs:element name="PusobnostSluzba" type="SluzbaPracovisteVypis6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSluzbaPrev6Type">
        <xs:sequence>
            <xs:element name="PusobnostSluzba" type="SluzbaPracovistePrevedena6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaPracovistePrevedena6Type">
        <xs:annotation>
            <xs:documentation>Pracoviště služby VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzby" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby VS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Informace, že služba VS není poskytována na pracovišti, "Služba se neposkytuje na adrese".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaPracovisteVypis6Type">
        <xs:annotation>
            <xs:documentation>Služba s jeho pracovisti.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzbyVs" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Informace, že služba VS není poskytována na pracovišti, "Služba se neposkytuje na adrese".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPrevedeniSluzby" type="SeznamPrevedeniSluzby6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pracoviště OVM, které službu přebralo.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajuZaklad2Type">
        <xs:annotation>
            <xs:documentation>Výpis základních informací o objektech údajů k agendě. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>AIS, který objet poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="NazevObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Počátek platnosti verze záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Konec paltnosti Verze záznamy</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObjektuUdaju2Type">
        <xs:sequence>
            <xs:element name="ObjektUdaju" type="ObjektUdajuZaklad2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuAgendy2Type">
        <xs:sequence>
            <xs:element name="UdajeAgendy2" type="UdajeAgendy2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuZaklad2Type">
        <xs:sequence>
            <xs:element name="Udaj2" type="UdajZaklad2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajeAgendy2Type">
        <xs:annotation>
            <xs:documentation>Objekty a údaje k agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamObjektuUdaju2" type="SeznamObjektuUdaju2Type">
                <xs:annotation>
                    <xs:documentation>Objekty údajů k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdaju2" type="SeznamUdajuZaklad2Type">
                <xs:annotation>
                    <xs:documentation>Údaje v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajZaklad2Type">
        <xs:annotation>
            <xs:documentation>Výpis základních informací o údaji agendy.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUdajeAisType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti verze záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>KOnec platnosti verze záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniPristupuType">
        <xs:annotation>
            <xs:documentation>Identifikace definice oprávnění poskytování.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód definice oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Počátek platnosti kodu oprávnění poskytování.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupuType">
        <xs:sequence>
            <xs:element name="OpravneniPristupu" type="OpravneniPristupuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KompletniOvm3Type">
        <xs:annotation>
            <xs:documentation>Údaje vedené k OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentiifkatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). -  - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPravniFormy" type="rpp:KodPravniFormyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní forma převzatá z ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OrganizacniJednotkaStatu" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, zda je OVM vnitřní organizační jednotkou organizační složky státu zákona č. 111/2009 Sb. § 51 odst. 1 písm. c).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum prvotního zápisu OVM do jádra RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="rpp:SeznamOsobVCeleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam osob v čele OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSchranek" type="rpp:SeznamDatovychSchranekType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam datových schránek.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamZarazeniOvmKategorii" type="SeznamZarazeniOvmKategorii3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií, do kterých je OVM zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavNazev" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAdresaTextem" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOdkazRuian" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOrgJednStatu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuOvm" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KompletniSpuu3Type">
        <xs:annotation>
            <xs:documentation>Údaje vedené k SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, která záznam založila ( pro automatické z ROSu je to OVM  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby - zákon č. 111/2009 Sb. § 51 odst. 1 písm. d).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku nebo zápisu do evidence - zákon č. 111/2009 Sb. § 51 odst. 2 písm. h).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku nebo výmazu z evidence spojený se zánikem SPUU - zákon č. 111/2009 Sb. § 51 odst. 2 písm. j).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Počátek pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Konce pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Počátek přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Konec přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy, která záznam založila (pro automatické z ROSu je to agenda  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zápisu nového SPUU do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamZarazeniSpuuKategorii" type="SeznamZarazeniSpuuKategorii3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií SPUU, do kterých je zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavDatumuVzniku" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavDatumuZaniku" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuSpuu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamZarazeniOvmKategorii3Type">
        <xs:sequence>
            <xs:element name="ZarazeniOvmKategorie" type="ZarazeniOvmKategorie3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamZarazeniSpuuKategorii3Type">
        <xs:sequence>
            <xs:element name="ZarazeniSpuuKategorie" type="ZarazeniSpuuKategorie3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZarazeniOvmKategorie3Type">
        <xs:annotation>
            <xs:documentation>Příslušnost OVM do kategorie.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Počátek přiřazení do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Konec přiřazení do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak správnosti údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ZarazeniSpuuKategorie3Type">
        <xs:annotation>
            <xs:documentation>Přiřazení SPUU do kategorie.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieSpuu" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Počátek přiřazení do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Konec přiřazení do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak správnosti údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="RoleSubjektuType">
        <xs:annotation>
            <xs:documentation>Kód činnosti a identifikátor oprávněného subjetu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOs" type="rpp:KodOsType">
                <xs:annotation>
                    <xs:documentation>Identifikátor oprávněného subjeketu (OVM, SPUU, kategorieOvm, kategorieSpuu).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliKatOvmType">
        <xs:sequence>
            <xs:element name="RoleKatOvm" type="RoleSubjektuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliKatSpuuType">
        <xs:sequence>
            <xs:element name="RoleKatSpuu" type="RoleSubjektuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliOvmStatutType">
        <xs:sequence>
            <xs:element name="RoleOvmStatut" type="StatutRoleOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliOvmType">
        <xs:sequence>
            <xs:element name="RoleOvm" type="RoleSubjektuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliSpuuType">
        <xs:sequence>
            <xs:element name="RoleSpuu" type="RoleSubjektuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuPristupuType">
        <xs:sequence>
            <xs:element name="UdajPristupu" type="UdajPristupuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutRoleOvmType">
        <xs:annotation>
            <xs:documentation>Kód činnosti a identifikátor OVM ze statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM - statutární město nebo jeho část.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajPristupuType">
        <xs:annotation>
            <xs:documentation>Rozsah oprávnění k přístupu k poskytovanému údaji.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextDuvodu" type="TextDuvoduType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Text pro oprávnění podle potřeby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenPristupu" type="rpp:OpravneniUdajTypType">
                <xs:annotation>
                    <xs:documentation>Úroveň přístupu k údaji.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvm3RType">
        <xs:annotation>
            <xs:documentation>OVM s působností v agendě - rozšířený výpis.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvmCinnost3" type="SeznamPusobnostiOvmCinnost3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností v působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvmSluzbyVs3" type="SeznamPusobnostiOvmSluzbyVs3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam služeb v působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvm3Type">
        <xs:annotation>
            <xs:documentation>OVM s působností v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvmCinnost3Type">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam činností, ke kterým je dané OVM registrováno (oznámilo působnost).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nevykonavam" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM činnost nevykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VznikCinnosti" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZanikCinnosti" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostOvmSluzbyVs3Type">
        <xs:annotation>
            <xs:documentation>Výpis působnosti OVM - seznam sluižeb VS, ke kterým je dané OVM registrováno (oznámilo působnost).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzby" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby VS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM službu neposkytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuu3RType">
        <xs:annotation>
            <xs:documentation>SPUU s působností v agendě - rozšířený výpis.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSpuuCinnost3" type="SeznamPusobnostiSpuuCinnost3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuu3Type">
        <xs:annotation>
            <xs:documentation>SPUU s působností v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSPUU" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Kód registrovaného Orgánu veřejné moci dle zákona č.111/2009 Sb. §51/1/f</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti působnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostSpuuCinnost3Type">
        <xs:annotation>
            <xs:documentation>Výpis působnosti SPUU - seznam činností,  které SPUU vykonává.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnostní role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VznikCinnosti" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZanikCinnosti" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PusobnostVAgendeType">
        <xs:annotation>
            <xs:documentation>Seznam působností za agendu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Agenda" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Agenda, za kterou je působnost vypisována.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvm3R" type="SeznamPusobnostiOvm3RType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnosti OVM za agendu - Výpis obsahuje i činnosti a služby působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiSpuu3R" type="SeznamPusobnostiSpuu3RType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Působnost SPUU i s činnostmi.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPusobnostiOvm3" type="SeznamPusobnostiOvm3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výpis obsahuje pouze základní info o působnosti OVM v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamZakladPusobnostSpuu" type="SeznamPusobnostiSpuu3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výpis obsahuje pouze základní info o působnosti SPUU v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvm3RType">
        <xs:sequence>
            <xs:element name="PusobnostOvm3R" type="PusobnostOvm3RType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvm3Type">
        <xs:sequence>
            <xs:element name="PusobnostOvm3" type="PusobnostOvm3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvmCinnost3Type">
        <xs:sequence>
            <xs:element name="PusobnostOvmCinnost3" type="PusobnostOvmCinnost3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiOvmSluzbyVs3Type">
        <xs:sequence>
            <xs:element name="PusobnostOvmSluzbyVs3" type="PusobnostOvmSluzbyVs3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuu3RType">
        <xs:sequence>
            <xs:element name="PusobnostSpuu3R" type="PusobnostSpuu3RType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuu3Type">
        <xs:sequence>
            <xs:element name="PusobnostSpuu3" type="PusobnostSpuu3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiSpuuCinnost3Type">
        <xs:sequence>
            <xs:element name="PusobnostSpuuCinnost3" type="PusobnostSpuuCinnost3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPusobnostiVAgendeType">
        <xs:sequence>
            <xs:element name="PusobnostVAgende" type="PusobnostVAgendeType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AisAgendaType">
        <xs:annotation>
            <xs:documentation>Seznam vazeb AIS - Agenda.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOs" type="rpp:KodOsType">
                <xs:annotation>
                    <xs:documentation>Idenfifikátor OVM nebo SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti vykonávané v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="edi:SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód AIS, který poskytuje údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamAisAgendType">
        <xs:sequence>
            <xs:element name="AisAgenda" type="AisAgendaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmVyber2Type">
        <xs:annotation>
            <xs:documentation>Parametry pro výběr OVM podle zadaných (vyplněných) parametrů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor fyzické osoby v ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>IČO subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ OVM - enumerace.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOvm2Type">
        <xs:sequence>
            <xs:element name="Ovm" type="ZakladOvm2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSpuu2Type">
        <xs:sequence>
            <xs:element name="Spuu" type="ZakladSpuu2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpuuVyber2Type">
        <xs:annotation>
            <xs:documentation>Parametry pro výběr  SPUU podle zadaných (vyplněných) parametrů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentiifkatorSpuu" type="rpp:KodSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKategorieSpuu" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název SPUU podle ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladOvm2Type">
        <xs:annotation>
            <xs:documentation>Seznam orgánů veřejné moci.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název OVM pro OVM typu ostatní.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamIdentifikatoruKategoriiOvm" type="SeznamIdentifikatoruKategoriiOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam identifikátorů kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladSpuu2Type">
        <xs:annotation>
            <xs:documentation>Seznam soukromprávních uživatelů údajů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentiifkatorSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby - zákon č. 111/2009 Sb. § 51 odst. 1 písm. d).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamIdentifikatoruKategoriiSpuu" type="SeznamIdentifikatoruKategoriiSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam identifikátorů kategorií SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniRidicichType">
        <xs:sequence>
            <xs:element name="Opravneni" type="OpravneniRidiciType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniRidiciType">
        <xs:annotation>
            <xs:documentation>Oprávnění definované v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyCerpajici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy, v rámci které se přistupuje k údajům.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy (verze). Povinný údaj. </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu agendy (verze). Nepovinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneniNaUdaje" type="SeznamOpravneniNaUdajeType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů a úroven přístupu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliOvm" type="SeznamRoliOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKategoriiOvm" type="SeznamRoliKatOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliSpuu" type="SeznamRoliSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role SPUU v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKategoriiSpuu" type="SeznamRoliKatSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorieSpuu v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniNaUdajeType">
        <xs:sequence>
            <xs:element name="OpravneniNaUdaj" type="OpravneniNaUdajType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CharakteristikaPp6Type">
        <xs:annotation>
            <xs:documentation>Charakteritika a PP k hodnotě charakteristiky.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NazevCharakteristiky" type="NazevCharakteristikyType">
                <xs:annotation>
                    <xs:documentation>Název charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HodnotaCharakteristiky" type="HodnotaCharakteristiky6Type">
                <xs:annotation>
                    <xs:documentation>Hodnota charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k hodnotě charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCharakteristikPp6Type">
        <xs:sequence>
            <xs:element name="Charakteristika" type="CharakteristikaPp6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CharakteristikaPpEselType">
        <xs:annotation>
            <xs:documentation>Charakteritika a PP k hodnotě charakteristiky.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NazevCharakteristiky" type="NazevCharakteristikyType">
                <xs:annotation>
                    <xs:documentation>Název charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HodnotaCharakteristiky" type="HodnotaCharakteristiky6Type">
                <xs:annotation>
                    <xs:documentation>Hodnota charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k hodnotě charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCharakteristikPpEselType">
        <xs:sequence>
            <xs:element name="Charakteristika" type="CharakteristikaPpEselType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Cinnost6Type">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §51/5/c - výčet a popis činností, které jsou vykonávány v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Povinný atribut. Je unikátní v rámci jedné agendy, jedná se o pořadové číslo činnosti v rámci agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti agendy -zákon č.111/2009 Sb. §51/5/c . Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnosti v rámci výkonu agendy. Povinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonCinnosti" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda uživatel může zvolit, že činnost nevykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamCinnosti6Type">
        <xs:sequence>
            <xs:element name="Cinnost" type="Cinnost6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoli6Type">
        <xs:sequence>
            <xs:element name="Role" type="Role6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Role6Type">
        <xs:annotation>
            <xs:documentation>Seznam rolí v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RoleOvm" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleSpuu" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleKategorieOvm" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleKategorieSpuu" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StatutRole" type="StatutRoleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Korence rolí po definici statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="StatutRoleType">
        <xs:annotation>
            <xs:documentation>Role statutárního města a jeho částí po definici statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Role" type="edi:OvmCinnostType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM a činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM po definici statutu činnost nevykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliGlIs6Type">
        <xs:sequence>
            <xs:element name="RoleGlIs" type="RoleGlIs6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RoleGlIs6Type">
        <xs:annotation>
            <xs:documentation>Seznam informačních systémů, které role používají pro výkon činností v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RoleOvm" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleSpuu" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleKategorieOvm" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie OVM</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoleKategorieSpuu" type="RoleSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StatutRole" type="edi:OvmCinnostType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Globální IS pro role ze statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="edi:SeznamKoduAisStavType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam IS, které role může používat.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObjektuUdaju6Type">
        <xs:sequence>
            <xs:element name="ObjektSubjektUdaj" type="ObjektUdaj6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdaj6Type">
        <xs:annotation>
            <xs:documentation>Informace o objektech/subjektech, o kterých vede agenda údaje. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevObjektuType">
                <xs:annotation>
                    <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisObjektuType">
                <xs:annotation>
                    <xs:documentation>Popis objektu/subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>AIS, který objekt poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="rpp:KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kratší než 40 znaků s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="rpp:AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="rpp:DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Notifikace" type="NotifikaceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Notifikace objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdaju" type="SeznamUdaju6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam údajů k objektu</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUdaju6Type">
        <xs:sequence>
            <xs:element name="Udaje" type="Udaj6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Udaj6Type">
        <xs:annotation>
            <xs:documentation>Údaje objektu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="NazevUdajeType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUdajeType">
                <xs:annotation>
                    <xs:documentation>Popis údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="rpp:KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="rpp:DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="rpp:AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ s namespace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceUdaj" type="rpp:KodUdajeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód údaje, které je daným údajem referencován.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy definující vedení údaje v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCharakteristik" type="SeznamCharakteristikPp6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Charakteristiky údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSad" type="edi:SeznamDatovychSadType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>URL/IRI odkaz na datovou sadu, kde je údaj publikován.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKontextu" type="edi:SeznamKontextuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vazby na kontexty.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCiselnikuKUdaji" type="edi:SeznamCiselnikuKUdajiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Číselníky vymezující hodnoty údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupu6Type">
        <xs:sequence>
            <xs:element name="OpravneniPristupu" type="Opravneni6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Opravneni6Type">
        <xs:annotation>
            <xs:documentation>Oprávnění definovaná v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="edi:KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód definovaného oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPrurezOpravneni" type="edi:KodOpravneniCpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód průřezového oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0"/>
            <xs:element name="SeznamPristupovanychUdaju" type="edi:SeznamPristupovanychUdajuType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů, ke kterým oprávnění definuje přístup.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKatOvm" type="SeznamRoliKatOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKatSpuu" type="SeznamRoliKatSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie SPUUv definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliSpuu" type="SeznamRoliSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role SPUU v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliOvm" type="SeznamRoliOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamStatutuRole" type="SeznamStatutuRole6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění pro role ze statutu</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů ESEL.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuRole6Type">
        <xs:sequence>
            <xs:element name="StatutRole" type="edi:OvmCinnostType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebVs6Type">
        <xs:sequence>
            <xs:element name="SluzbaVs" type="SluzbaVs6Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVs6Type">
        <xs:annotation>
            <xs:documentation>Výstupní parametry služby VypisSluzbuVs2.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypSluzby" type="NazevTypuSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Typ služby - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="edi:NazevSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Název služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisSluzbyType">
                <xs:annotation>
                    <xs:documentation>Popis služby VS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektuSluzby" type="SeznamSubjektuSluzbyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam subjektů využívajících službu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCinnostiAgendy" type="rpp:SeznamKoduCinnostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, které služby podporuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelu" type="SeznamPoskytovatelu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Poskytovatelé  služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluStatut" type="SeznamPoskytovateluStatut2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Poskytovatelé ze statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonu" type="SeznamUkonu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Úkony ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamSubjektuSluzbyType">
        <xs:sequence>
            <xs:element name="SubjektSluzby" type="SubjektSluzbyType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuPovolenychOvmType">
        <xs:sequence>
            <xs:element name="StatutPovoleneOvm" type="StatutOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutOvmType">
        <xs:annotation>
            <xs:documentation>Povolená OVM ze statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odabranoe" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že OVM po definici statutu již není povoleným k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrurezCinnostType">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §51/5/c - výčet a popis činností, které jsou vykonávány v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType">
                <xs:annotation>
                    <xs:documentation>Kód průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti agendy -zákon č.111/2009 Sb. §51/5/c . Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnosti v rámci výkonu agendy. Povinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneni" type="SeznamPrurezovychOpravneniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění k průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="PrurezOpravneniType">
        <xs:annotation>
            <xs:documentation>Oprávnění definovaná v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezOpravneni" type="edi:KodOpravneniCpType">
                <xs:annotation>
                    <xs:documentation>Kód průřezového oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Důvodový text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPristupovaneUdaje" type="edi:SeznamPristupovanychUdajuType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů, ke kterým oprávnění definuje přístup.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů ESEL.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="PrurezOpravneni7Type">
        <xs:annotation>
            <xs:documentation>Oprávnění definovaná v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezOpravneni" type="edi:KodOpravneniCpType">
                <xs:annotation>
                    <xs:documentation>Kód průřezového oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Důvodový text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPristupovaneUdaje" type="edi:SeznamPristupovanychUdajuType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů, ke kterým oprávnění definuje přístup.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů ESEL.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamPrurezovychCinnostiType">
        <xs:annotation>
            <xs:documentation>Seznam průřezových činností.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PrurezovaCinnost" type="PrurezCinnostType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Průřezové činnosti a k nim oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrurezovychOpravneniType">
        <xs:sequence>
            <xs:element name="Opravneni" type="PrurezOpravneniType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrurezovychOpravneni7Type">
        <xs:sequence>
            <xs:element name="Opravneni" type="PrurezOpravneni7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamIdentifikatoruKategoriiOvmType">
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Kód kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamIdentifikatoruKategoriiSpuuType">
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieSpuu" type="rpp:KodKategorieType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieOvm3Type">
        <xs:annotation>
            <xs:documentation>Kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKategorieOvm" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Kód Kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicPp" type="rpp:SeznamDefinicPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících kategorii.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPp" type="rpp:SeznamSlozeniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOvmVKategorii" type="rpp:SeznamOvmVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpDefinice" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpSlozeni" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KategorieSpuu3Type">
        <xs:annotation>
            <xs:documentation>Kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifáikatorKategorieSpuu" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKategorieType">
                <xs:annotation>
                    <xs:documentation>Název kategorie - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 2.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Ústřední správní úřad, který kategorii ohlašuje - zákon č. 111/2009 Sb. § 51 odst. 1 písm. g) 4.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumPrimarnihoZapisu" type="rpp:DatumPrimarnihoZapisuType">
                <xs:annotation>
                    <xs:documentation>Datum primárního zápisu kategorie do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicPp" type="rpp:SeznamDefinicPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících kategorii.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPp" type="rpp:SeznamSlozeniPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSpuuVKategorii" type="rpp:SeznamSpuuVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost SPUU do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavKategorie" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpDefinice" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPpSlozeni" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KompletniOvm4Type">
        <xs:annotation>
            <xs:documentation>Údaje vedené k OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentiifkatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType">
                <xs:annotation>
                    <xs:documentation>Typ OVM podle způsobu založení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevOvm" type="rpp:NazevOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název orgánu veřejné moci podle zákona č. 111/2009 Sb. § 51 odst. 1 písm. b)., pokud není IČO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. d). - odkaz do ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Odkaz do ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). -  - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa místa pobytu nebo adresa sídla orgánu OVM dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. h). - pokud není IČO/AIFO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku působnosti OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PusobnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce pozastavení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum počátku přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce přerušení působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPravniFormy" type="rpp:KodPravniFormyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní forma převzatá z ROS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OrganizacniJednotkaStatu" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, zda je OVM vnitřní organizační jednotkou organizační složky státu zákona č. 111/2009 Sb. § 51 odst. 1 písm. c).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum prvotního zápisu OVM do jádra RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="rpp:SeznamOsobVCeleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam osob v čele OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSchranek" type="rpp:SeznamDatovychSchranekType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam datových schránek.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamZarazeniOvmKategorii" type="SeznamZarazeniOvmKategorii3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií, do kterých je OVM zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPracovist" type="SeznamPracovistVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavNazev" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavAdresaTextem" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOdkazRuian" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPusobnostiDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavOrgJednStatu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuOvm" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="KompletniSpuu4Type">
        <xs:annotation>
            <xs:documentation>Údaje vedené k SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSpuu" type="rpp:KodSpuuType">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvmEditora" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM, která záznam založila ( pro automatické z ROSu je to OVM  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Ico" type="reg:IcoType">
                <xs:annotation>
                    <xs:documentation>Identifikační číslo osoby - zákon č. 111/2009 Sb. § 51 odst. 1 písm. d).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku nebo zápisu do evidence - zákon č. 111/2009 Sb. § 51 odst. 2 písm. h).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku nebo výmazu z evidence spojený se zánikem SPUU - zákon č. 111/2009 Sb. § 51 odst. 2 písm. j).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Počátek pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PozastaveniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pozastavení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm k). Konce pozastavení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Počátek přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreruseniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Přerušení výkonu působnosti OVM - zákon č. 111/2009 Sb. § 51 odst. 1 písm. k). Konec přerušení.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy, která záznam založila (pro automatické z ROSu je to agenda  evidence).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrvotniDatum" type="rpp:DatumPrimarnihoZapisuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zápisu nového SPUU do RPP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů definujících OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamZarazeniSpuuKategorii" type="SeznamZarazeniSpuuKategorii3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kategorií SPUU, do kterých je zařazeno.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavDatumuVzniku" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavDatumuZaniku" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPozastaveniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniOd" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPreruseniDo" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavSubjektuSpuu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="stavPravnichPredpisu" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak, že údaj nebyl zpochybněn.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamPrurezovychCinnosti7Type">
        <xs:annotation>
            <xs:documentation>Seznam průřezových činností.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PrurezovaCinnost" type="PrurezCinnost7Type" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Průřezové činnosti a k nim oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrurezCinnost7Type">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §51/5/c - výčet a popis činností, které jsou vykonávány v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType">
                <xs:annotation>
                    <xs:documentation>Kód průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti agendy -zákon č.111/2009 Sb. §51/5/c . Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnosti v rámci výkonu agendy. Povinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneni" type="SeznamPrurezovychOpravneni7Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění k průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění k průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamCinnosti7Type">
        <xs:sequence>
            <xs:element name="Cinnost" type="Cinnost7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Cinnost7Type">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §51/5/c - výčet a popis činností, které jsou vykonávány v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Povinný atribut. Je unikátní v rámci jedné agendy, jedná se o pořadové číslo činnosti v rámci agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Název činnosti agendy -zákon č.111/2009 Sb. §51/5/c . Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Popis činnosti v rámci výkonu agendy. Povinný údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonCinnosti" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda uživatel může zvolit, že činnost nevykonává.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění k průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamObjektuUdaju7Type">
        <xs:sequence>
            <xs:element name="ObjektSubjektUdaj" type="ObjektUdaj7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdaj7Type">
        <xs:annotation>
            <xs:documentation>Informace o objektech/subjektech, o kterých vede agenda údaje. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevObjektuType">
                <xs:annotation>
                    <xs:documentation>Název objektu/subjektu údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisObjektuType">
                <xs:annotation>
                    <xs:documentation>Popis objektu/subjektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAis" type="reg:KodAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>AIS, který objekt poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="rpp:KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název kratší než 40 znaků s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="rpp:AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="rpp:DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název s diakritikou.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Notifikace" type="NotifikaceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Notifikace objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdaju" type="SeznamUdaju7Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam údajů k objektu</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUdaju7Type">
        <xs:sequence>
            <xs:element name="Udaje" type="Udaj7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Udaj7Type">
        <xs:annotation>
            <xs:documentation>Údaje objektu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="NazevUdajeType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUdajeType">
                <xs:annotation>
                    <xs:documentation>Popis údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KratkyNazev" type="rpp:KratkyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DlouhyNazev" type="rpp:DlouhyNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Libovolný název.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AsciiNazev" type="rpp:AsciiNazevType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Krátký název bez diakritiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datový typ s namespace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceUdaj" type="rpp:KodUdajeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód údaje, které je daným údajem referencován.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy definující vedení údaje v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCharakteristik" type="SeznamCharakteristikPpEselType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Charakteristiky údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSad" type="edi:SeznamDatovychSadType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>URL/IRI odkaz na datovou sadu, kde je údaj publikován.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKontextu" type="edi:SeznamKontextuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vazby na kontexty.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCiselnikuKUdaji" type="edi:SeznamCiselnikuKUdajiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Číselníky vymezující hodnoty údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebVs7Type">
        <xs:sequence>
            <xs:element name="SluzbaVs" type="SluzbaVs7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVs7Type">
        <xs:annotation>
            <xs:documentation>Výstupní parametry služby VypisSluzbuVs2.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="edi:IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypSluzby" type="NazevTypuSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Typ služby - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="edi:NazevSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Název služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisSluzbyType">
                <xs:annotation>
                    <xs:documentation>Popis služby VS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektuSluzby" type="SeznamSubjektuSluzbyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam subjektů využívajících službu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCinnostiAgendy" type="rpp:SeznamKoduCinnostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností, které služby podporuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelu" type="SeznamPoskytovatelu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Poskytovatelé  služby veřejné správy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluStatut" type="SeznamPoskytovateluStatut2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Poskytovatelé ze statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonu" type="SeznamUkonu3Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Úkony ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění záznamu.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUkonu3Type">
        <xs:sequence>
            <xs:element name="Ukon" type="Ukon3Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Ukon3Type">
        <xs:annotation>
            <xs:documentation>Definované úkony ke službě VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType">
                <xs:annotation>
                    <xs:documentation>Název úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUkonuType">
                <xs:annotation>
                    <xs:documentation>Popis úkony služby- komentář.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonavatelUkonu" type="NazevVykonavateleUkonuType">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeDigitalni" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o digitální úkon - automaticky podle existujících obslužných kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Fáze pokrývající úkon - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKanalu" type="SeznamKanalu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupu7Type">
        <xs:sequence>
            <xs:element name="OpravneniPristupu" type="Opravneni7Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Opravneni7Type">
        <xs:annotation>
            <xs:documentation>Oprávnění definovaná v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="edi:KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód definovaného oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodAgendyPoskytujici" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPrurezOpravneni" type="edi:KodOpravneniCpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód průřezového oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0"/>
            <xs:element name="SeznamPristupovanychUdaju" type="edi:SeznamPristupovanychUdajuType">
                <xs:annotation>
                    <xs:documentation>Seznam údajů, ke kterým oprávnění definuje přístup.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKatOvm" type="SeznamRoliKatOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliKatSpuu" type="SeznamRoliKatSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role kategorie SPUUv definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliSpuu" type="SeznamRoliSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role SPUU v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliOvm" type="SeznamRoliOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role OVM v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamStatutuRole" type="SeznamStatutuRole6Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Oprávnění pro role ze statutu</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů ESEL.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stav" type="rpp:StavRppType" use="optional">
            <xs:annotation>
                <xs:documentation>Příznak zpochybnění údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <!--    <xs:complexType name="SeznamUkonu4Type">
        <xs:sequence>
            <xs:element name="Ukon" type="Ukon4Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Ukon4Type">
        <xs:annotation>
            <xs:documentation>Definované úkony ke službě VS.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevUkonuType">
                <xs:annotation>
                    <xs:documentation>Název úkonu služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUkonuType">
                <xs:annotation>
                    <xs:documentation>Popis úkony služby- komentář.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VykonavatelUkonu" type="NazevVykonavateleUkonuType">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeDigitalni" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o digitální úkon - automaticky podle existujících obslužných kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="edi:SeznamPravnichPredpisu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuVypisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Fáze pokrývající úkon - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKanalu" type="SeznamKanalu2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType> -->
    <xs:complexType name="SeznamPoskytujicichAgend2Type">
        <xs:sequence>
            <xs:element name="PoskytujiciAgenda" type="PristupOpravneniType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCerpajicichAgend2Type">
        <xs:sequence>
            <xs:element name="CerpajiciAgenda" type="PristupOpravneniType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PristupOpravneniType">
        <xs:annotation>
            <xs:documentation>Identifikace agendy.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendy" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákona č. 111/2009 Sb. § 51 odst. 5 písm. a). Spolu s atributem platnostOd tvoří jednoznačný identifikátor záznamu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevAgendy" type="rpp:NazevAgendyType">
                <xs:annotation>
                    <xs:documentation>Název agendy dle zákona č. 111/2009 Sb. § 51 odst. 5 písm. a).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneni" type="SeznamOpravneniPristupu2Type" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupu2Type">
        <xs:sequence>
            <xs:element name="Opravneni" type="OpravneniPristupu2Type" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniPristupu2Type">
        <xs:annotation>
            <xs:documentation>Popis oprávnění k údaji.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevObjektUdaj" type="rpp:NazevObjektuType">
                <xs:annotation>
                    <xs:documentation>Název údaje objektu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevUdaje" type="rpp:NazevUdajeAisType">
                <xs:annotation>
                    <xs:documentation>Název údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="rpp:OpravneniUdajTypType">
                <xs:annotation>
                    <xs:documentation>Úroveň přístupu k údaji.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliOvm" type="SeznamRoliSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam povolených činnostních rolí pro OVM přistupujících k údaji.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRoliSpuu" type="SeznamRoliSubjektuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam povolených činnostních rolí pro SPUU přistupujících k údaji.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPp2Type" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliSubjektuType">
        <xs:sequence>
            <xs:element name="RoleSubjektu" type="RoleSubjektuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>
