<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:cz:isvs:rpp:schemas:RppEditaceTypy: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" targetNamespace="urn:cz:isvs:rpp:schemas:RppEditaceTypy: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 editační dotazy a odpovědi
          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.2, 23.8.2012 -->
    <!-- Verze 1.0.3, 12.8.2016 -->
    <!-- Verze 1.1.0, 7.11.2016 doplneni datoveho typu TypOperace-->
    <!-- Verze 1.1.1, 18.11.2016 zruseni datoveho typu KodAisAgendyEditStavType-->
    <!-- Verze 1.1.2, 2.12.2016 zruseni atributu stavDefiniceAgendy v AgendaZmenaType-->
    <!-- Verze 1.1.3, 12.12.2016 uprava sRoleTypetruktur s polozkami ciselniku-->
    <!-- Verze 1.1.4, 14.12.2016 uprava vyctu hodnot v NazevCiselnikuType-->
    <!-- Verze 1.1.5, 14.12.2016 odstraneni PovolenyOsCinnostAgendyType-->
    <!-- Verze 1.1.6, 22.12.2016 zmena datoveho typu IdentifikatorRuianType na KodAdresniMistoType-->
    <!-- Verze 1.1.7, 9.1.2017 zmena datoveho typu UdajType-->
    <!-- Verze 1.1.8, 16.1.2017 CinnostVAgendeType - zmena kardinality elementu SeznamAisPusobnost-->
    <!-- Verze 1.1.9, 13.2.2017 zmena sluzby RppZmenPusobnostOvm-->
    <!-- Verze 1.1.10, 22.3.2017 zmena datoveho typu elementu TypOvm ve strukture KompletniOvmZmenaType-->
    <!-- Verze 1.1.11, 30.3.2017 uprava povinnosti elementu ve strukturach KompletniOvmZmenaType, KompletniSpuuZmenaTyp, KategorieOvmZmenaTyp, KategorieSpuuZmenaType-->
    <!-- Verze 1.1.12, 4.4.2017 upravy sluzeb ROVM - prejmenovani nekterych datum. elementu, zmeny poradi elementu-->
    <!-- Verze 1.2.0, 13.10.2017 zmena datoveho typu OpravneniTyp ve strukture OpravneniUdajCinnostniRoleType-->
    <!-- Verze 1.2.1, 16.10.2017 zmena elementu KodAis v ObjektUdajType na nepovinny-->
    <!-- Verze 1.3.0, 24.4.2018 zmena rozhrani sluzeb RppZmenOvmSpuu, RppVlozOvmSpuu, RppVlozAgenduDataType,  RppZmenAgenduDataType, RppVlozPusobnostOvm, RppZmenPusobnostOvm-->
    <!-- Verze 1.5.0, 24.9.2019 pridani datovych typu pro sluzbu RppEditaceCiselniku-->
    <!-- Verze 1.6.0, 13.1.2020 zmena sluzeb RppVlozPusobnostOvm, RppZmenPusobnostOvm, RppVlozAgendu, RppZmenAgendu-->
    <!-- Verze 1.7.0, 12.6.2020 zmena sluzeb RppVlozPusobnostOvm, RppZmenPusobnostOvm, RppVlozAgendu, RppZmenAgendu-->
    <!-- Verze 1.8.0, 10.7.2020 zmena predka datoveho typu NazevSluzbyVsType-->
    <!-- Verze 1.9.0, 11.8.2020 zmena sluzeb RppVlozPusobnostOvm, RppZmenPusobnostOvm-->
    <!-- Verze 1.11.1, 23.9.2021 uprava editacnich sluzeb pro DD3-->
    <!-- Verze 1.11.2, 30.9.2021 uprava editacnich sluzeb pro DD3-->
    <!-- Verze 1.11.4, 6.1.2022 upravy sluzeb sluzeb DD3, vyrazeni nekterych sluzeb-->
    <!-- Verze 1.11.5 - , 24.2.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:simpleType name="NazevCiselnikuType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Název číselníku, výčtový typ.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:enumeration value="INFORMACNI SYSTEM">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="MNOZINA VYBERU">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="TYP SLUZBY">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="KATEGORIE SLUZBY">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="REZIM SLUZBY">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="TYP ODPOVEDI">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="ZPUSOB INICIALIZACE">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="POVAHA OPERACE">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="METRIKA">
                <xs:annotation/>
            </xs:enumeration>
            <xs:enumeration value="TYP CINNOSTI">
                <xs:annotation/>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOperaceCisType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Typ operace, výčtový typ.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="1"/>
            <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="R">
                <xs:annotation>
                    <xs:documentation>Read</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="T">
                <xs:annotation>
                    <xs:documentation>Insert + Update ve společné transakci</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypInformacnihoSystemuType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Typ informačního systému, výčtový typ.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="10"/>
            <xs:enumeration value="ZR">
                <xs:annotation>
                    <xs:documentation>Základní registr</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="AIS">
                <xs:annotation>
                    <xs:documentation>Agendový informační systém</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CASTIS">
                <xs:annotation>
                    <xs:documentation>Část informačního systému</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="SubTypInformacnihoSystemuType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">
                Subtyp informačního systému, výčtový typ.
            </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="10"/>
            <xs:enumeration value="ROS">
                <xs:annotation>
                    <xs:documentation>Základní registr ROS</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ROB">
                <xs:annotation>
                    <xs:documentation>Základní registr ROB</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RUIAN">
                <xs:annotation>
                    <xs:documentation>Základní registr RUIAN</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RPP1">
                <xs:annotation>
                    <xs:documentation>Základní registr RPP1 - RppUdajPrava (rozhodnutí)</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RPP2">
                <xs:annotation>
                    <xs:documentation>Základní registr RPP2 - RppUdajAgendy (agendy a působnosti)</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOperaceZmenyType">
        <xs:annotation>
            <xs:documentation>Typ změnové operace (Změna/Ukončení/Zpochybnění).</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:enumeration value="UKONCENI">
                <xs:annotation>
                    <xs:documentation>Ukončení</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZMENA">
                <xs:annotation>
                    <xs:documentation>Změna</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZPOCHYBNENI">
                <xs:annotation>
                    <xs:documentation>Zpochybnění</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOperaceType">
        <xs:annotation>
            <xs:documentation>Typ operace ve službách:
ZMENA
UKONCENI
ZPOCHYBNENI</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="20"/>
            <xs:enumeration value="ZMENA">
                <xs:annotation>
                    <xs:documentation>Změna</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="UKONCENI">
                <xs:annotation>
                    <xs:documentation>Ukončení</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZPOCHYBNENI">
                <xs:annotation>
                    <xs:documentation>Zpochybnění</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOperaceZmenyAgendyType">
        <xs:annotation>
            <xs:documentation>Typ změnové operace  - podle potřeby, implementováno ZMENA, UKONCENI, ZPOCHYBNENI.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="30"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="HodnotaSloupceType">
        <xs:annotation>
            <xs:documentation>Název sloupce</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="4000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevSloupceType">
        <xs:annotation>
            <xs:documentation>Název sloupce</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IdRadkuType">
        <xs:annotation>
            <xs:documentation>Unikátní ID řádku v číselníku.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdCharakteristikyType">
        <xs:annotation>
            <xs:documentation>Unikátní ID charakteristiky.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="KodCiselnikuKataloguType">
        <xs:annotation>
            <xs:documentation>Název sloupce</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="50"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IdVykonavateleUkonuType">
        <xs:annotation>
            <xs:documentation>Id vykonavatele úkonu.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdTypuPusobnosti">
        <xs:annotation>
            <xs:documentation>Id vykonavatele úkonu.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdTypuSubjektuType">
        <xs:annotation>
            <xs:documentation>Id typu subjektu.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdMistniPrislusnostiType">
        <xs:annotation>
            <xs:documentation>Id místní příslušnosti.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdTypuSluzbyVsType">
        <xs:annotation>
            <xs:documentation>Id typu služby veřejné správy.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdDefinicePracovisteType">
        <xs:annotation>
            <xs:documentation>Id definice pracoviště.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdDokumentuType">
        <xs:annotation>
            <xs:documentation>Id dokumentu.</xs:documentation>
        </xs:annotation>
        <xs:list itemType="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdTypuKanaluType">
        <xs:annotation>
            <xs:documentation>Id typu kanálu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdUrovneDuveryType">
        <xs:annotation>
            <xs:documentation>Id úrovně důvery.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdFazeUkonuType">
        <xs:annotation>
            <xs:documentation>Unikátní ID fáze úkonu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdProkazaniTotoznostiType">
        <xs:annotation>
            <xs:documentation>Unikátní ID prokázání totožnosti.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:long"/>
    </xs:simpleType>
    <xs:simpleType name="IdentifikatorSluzbyType">
        <xs:annotation>
            <xs:documentation>Identifikátor služby: Scislo pro registrovanou službu, Ocislo pro ohlášenou službu.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="15"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NazevSluzbyVsType">
        <xs:annotation>
            <xs:documentation>Název služby veřejné správy.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="reg:NonEmptyNormStringType">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypZmenyEditType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="ZAPIS">
                <xs:annotation>
                    <xs:documentation>Vznik nové služby (nový kód služby).</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="UKONCENI">
                <xs:annotation>
                    <xs:documentation>Vymaz služby ( kód služby v nové verzi nepokračuje), nebo došlo k ukončení agendy (ukončení poslední verze agendy).</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZMENA">
                <xs:annotation>
                    <xs:documentation>Delete</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </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="KodOpravneniCpType">
        <xs:annotation>
            <xs:documentation>Kód oprávněnípro průřezovou činnost - seznamu údajů z agendy. Struktura: kód průřezové činnosti-kód agendy poskytující - pořadové číslo, příklad PC123-A130-1.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypOpravneniPristupuType">
        <xs:annotation>
            <xs:documentation>Enumerace pro typ oprávnění přístupu k údajům.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:maxLength value="2"/>
            <xs:enumeration value="DP">
                <xs:annotation>
                    <xs:documentation>Oprávnění dle potřeby - ke každému údaji zadat důvod přístupu.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZO">
                <xs:annotation>
                    <xs:documentation>Oprávnění ze zákona - k definovanému oprávění zadat právní předpisy pro toto oprávnění, R pro OVM.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZU">
                <xs:annotation>
                    <xs:documentation>Oprávnění ze zákona - k definovanému oprávění zadat právní předpisy pro toto oprávnění, R pro SPUU.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ZW">
                <xs:annotation>
                    <xs:documentation>Oprávnění ze zákona - k definovanému oprávění zadat právní předpisy pro toto oprávnění, W pro OVM.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="AU">
                <xs:annotation>
                    <xs:documentation>Automaticky generované pro agendu PVS - 
	- Oprávnění na všechny neveřejné údaje agend, které jsou v RPP definovány,
	- Typ oprávnění = R
	- OVM, které má oprávnění = 00007064 – Ministerstvo vnitra
	- Činnost agendy, pod kterou může OVM oprávnění využívat = CR????
	- Právní předpis vymezující oprávnění =   § 11 odst. 1 zákona č. 12/2020</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PK">
                <xs:annotation>
                    <xs:documentation>Přebírané oprávnění na průřezovou činnost.</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="SluzbaEditAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Služba v editačním dotazu, předek.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:SluzbaAbstractType">
                <xs:sequence>
                    <xs:element name="Nazev" type="reg:NazevSluzbyType"/>
                    <xs:element name="DatumPlatnostiOd" type="rpp:DatumPlatnostiOdType"/>
                    <xs:element name="DatumPlatnostiDo" type="rpp:DatumPlatnostiDoType" minOccurs="0"/>
                    <xs:element name="Popis" type="rpp:PopisSluzbyType"/>
                    <xs:element name="Endpoint" type="rpp:EndpointSluzbyType"/>
                    <xs:element name="Pozastaveni" type="xs:boolean"/>
                    <xs:element name="DuvodPozastaveni" type="rpp:DuvodPozastaveniSluzbyType" minOccurs="0"/>
                    <xs:element name="VstupniParametryPopis" type="rpp:PopisVstupnichParametruSluzbyType"/>
                    <xs:element name="VystupniParametryPopis" type="rpp:PopisVystupnichParametruSluzbyType"/>
                    <xs:element name="MaxDobaSync" type="rpp:MaxDobaSluzbySyncType" minOccurs="0"/>
                    <xs:element name="MaxDobaAsync" type="rpp:MaxDobaSluzbyAsyncType" minOccurs="0"/>
                    <xs:element name="Priorizace" type="xs:boolean"/>
                    <xs:element name="AktivniRezim" type="xs:boolean" minOccurs="0"/>
                    <xs:element name="PocetOdeslani" type="rpp:PocetOdeslaniSluzbyType" minOccurs="0"/>
                    <xs:element name="CasOpakovani" type="rpp:CasOpakovaniSluzbyType" minOccurs="0"/>
                    <xs:element name="MaxPocetVstup" type="rpp:MaxPocetVstupSluzbyType" minOccurs="0"/>
                    <xs:element name="MaxPocetVystup" type="rpp:MaxPocetVystupSluzbyType"/>
                    <xs:element name="Strankovani" type="xs:boolean"/>
                    <xs:element name="NazevTypuSluzby" type="rpp:NazevTypuSluzbyType"/>
                    <xs:element name="NazevKategorieSluzby" type="rpp:NazevKategorieSluzbyType"/>
                    <xs:element name="NazevRezimuSluzby" type="rpp:NazevRezimuSluzbyType"/>
                    <xs:element name="NazevZpusobuInicializace" type="rpp:NazevZpusobuInicializaceType"/>
                    <xs:element name="NazevPovahyOperace" type="rpp:NazevPovahyOperaceType"/>
                    <xs:element name="NazevMnozinyVyberu" type="rpp:NazevMnozinyVyberuType"/>
                    <xs:element name="NazevTypuOdpovedi" type="rpp:NazevTypuOdpovediType"/>
                    <xs:element name="TypVazbyKCinnosti" type="rpp:TypVazbyKCinnostiType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="PravniPredpisEditAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Identifikace právního předpisu v editačním dotazu, předek pro dotazy.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CisloPravnihoPredpisu" type="rpp:CisloPravnihoPredpisuType" minOccurs="0"/>
            <xs:element name="RokPravnihoPredpisu" type="rpp:RokPravnihoPredpisuType" minOccurs="0"/>
            <xs:element name="NazevPravnihoPredpisu" type="rpp:NazevPravnihoPredpisuType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RozhodnutiEditAbstractType" abstract="true">
        <xs:annotation>
            <xs:documentation>
                Údaje identifikace rozhodnutí v editačním dotazu, předek pro dotazy.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="rpp:IdentifikatorRozhodnutiType"/>
            <xs:element name="KodProvadejiciAgendy" type="reg:KodAgendyType"/>
            <xs:element name="KodRozhodujicihoOvm" type="reg:KodOvmType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MetrikaSlaEditType">
        <xs:annotation>
            <xs:documentation>
                Metrika SLA v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Nazev" type="rpp:NazevMetrikyType"/>
            <xs:element name="Hodnota" type="rpp:HodnotaMetrikyType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostAgendySluzbyEditType">
        <xs:annotation>
            <xs:documentation>
                Činnost agendy ve vztahu ke službě v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnostiAgendy" type="rpp:KodCinnostiAgendyType"/>
            <xs:element name="KodSluzby" type="reg:KodSluzbyType"/>
            <xs:element name="VerzeSluzby" type="rpp:VerzeSluzbyType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajAisSluzbyEditType">
        <xs:annotation>
            <xs:documentation>
                Údaj AIS ve vztahu ke službě v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:UdajAisOpravneniAisType"/>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuAisSluzbyEditType">
        <xs:annotation>
            <xs:documentation>
                Seznam údajů AIS ve vztahu ke službě v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="UdajAisSluzby" type="UdajAisSluzbyEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IsEditType">
        <xs:annotation>
            <xs:documentation>
                Informační systém v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="reg:KodAisType"/>
            <xs:element name="Souhlas" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostAgendyEditType">
        <xs:annotation>
            <xs:documentation>
                Činnost agendy ve vztahu k agendě v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:CinnostAgendyAbstractType">
                <xs:sequence>
                    <xs:element name="SeznamPovolenychNazvuTypuOvm" type="rpp:SeznamNazvuTypuOvmType" minOccurs="0"/>
                    <xs:element name="SeznamPovolenychOvm" type="SeznamKoduOvmEditType" minOccurs="0"/>
                    <xs:element name="SeznamOpravneni" type="SeznamOpravneniAisEditType" minOccurs="0"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostiAgendyEditType">
        <xs:annotation>
            <xs:documentation>
                Seznam činností agendy.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CinnostAgendy" type="CinnostAgendyEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniAisEditType">
        <xs:annotation>
            <xs:documentation>
                Oprávnění přístupu k AIS v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:OpravneniAisAbstractType">
                <xs:sequence>
                    <xs:element name="KodAis" type="reg:KodAisType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniAisEditType">
        <xs:annotation>
            <xs:documentation>
                Seznam oprávnění AIS v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Opravneni" type="OpravneniAisEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostAgendyPusobnostiEditType">
        <xs:annotation>
            <xs:documentation>
                Činnost agendy ve vztahu k působnosti v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodCinnostiAgendyType"/>
            <xs:element name="PocetUvazku" type="rpp:PocetUvazkuType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostiAgendyPusobnostiEditType">
        <xs:annotation>
            <xs:documentation>
                Seznam činností agendy působnosti v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CinnostAgendyPusobnosti" type="CinnostAgendyPusobnostiEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKoduOvmEditType">
        <xs:annotation>
            <xs:documentation>
                Seznam kódů OVM v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PravoPovinnostEditType">
        <xs:annotation>
            <xs:documentation>
                Údaje o právu povinnosti v editačním dotazu.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:PravoPovinnostType">
                <xs:sequence>
                    <xs:element name="SeznamIdentifikatoruReferencnihoUdaje">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="IdentifikatorReferencnihoUdaje" type="rpp:IdentifikatorReferencnihoUdajeType" maxOccurs="unbounded"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="InformacniSystemEditType">
        <xs:annotation>
            <xs:documentation>
                Informační systém v editačním dotazu nebo odpovědi správy číselníků.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:InformacniSystemAbstractType">
                <xs:sequence>
                    <xs:element name="KodOvm" type="reg:KodOvmType"/>
                    <xs:element name="Typ" type="TypInformacnihoSystemuType"/>
                    <xs:element name="SubTyp" type="SubTypInformacnihoSystemuType" minOccurs="0"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="UdajAisEditType">
        <xs:annotation>
            <xs:documentation>
                Údaj AIS v editačním dotazu nebo odpovědi správy číselníků.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Nazev" type="rpp:NazevUdajeAisType"/>
            <xs:element name="KodInformacnihoSystemu" type="reg:KodAisType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MetrikaEditType">
        <xs:annotation>
            <xs:documentation>
                Metrika v editačním dotazu nebo odpovědi správy číselníků.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Nazev" type="rpp:NazevMetrikyType"/>
            <xs:element name="Jednotka" type="rpp:NazevJednotkyMetrikyType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmEditType">
        <xs:annotation>
            <xs:documentation>
                OVM v editačním dotazu nebo odpovědi správy číselníků.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="rpp:OvmType">
                <xs:sequence>
                    <xs:element name="Ico" type="reg:IcoType" minOccurs="0"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SeznamyPolozekCiselnikuType">
        <xs:annotation>
            <xs:documentation>
                Seznam seznamů položek číselníků pro operace insert a read.
            </xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="SeznamNazvuTypuCinnosti">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuCinnosti" type="rpp:TypCinnostiType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuMnozinyVyberu">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevMnozinyVyberu" type="rpp:NazevMnozinyVyberuType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuTypuSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuSluzby" type="rpp:NazevTypuSluzbyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuKategorieSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevKategorieSluzby" type="rpp:NazevKategorieSluzbyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuRezimuSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevRezimuSluzby" type="rpp:NazevRezimuSluzbyType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuTypuOdpovedi">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuOdpovedi" type="rpp:NazevTypuOdpovediType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuZpusobuInicializace">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevZpusobuInicializace" type="rpp:NazevZpusobuInicializaceType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuPovahyOperace">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevPovahyOperace" type="rpp:NazevPovahyOperaceType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamMetrik">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Metrika" type="MetrikaEditType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamInformacnichSystemu">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="InformacniSystem" type="InformacniSystemEditType" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="SeznamyPolozekCiselnikuOperaceUType">
        <xs:annotation>
            <xs:documentation>
                Seznam seznamů položek číselníků pro update.
            </xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="SeznamNazvuTypuCinnosti">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuCinnostiOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevTypuCinnostiPuvodni" type="rpp:TypCinnostiType"/>
                                    <xs:element name="NazevTypuCinnostiNovy" type="rpp:TypCinnostiType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuMnozinyVyberu">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevMnozinyVyberuOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevMnozinyVyberuPuvodni" type="rpp:NazevMnozinyVyberuType"/>
                                    <xs:element name="NazevMnozinyVyberuNovy" type="rpp:NazevMnozinyVyberuType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuTypuSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuSluzbyOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevTypuSluzbyPuvodni" type="rpp:NazevTypuSluzbyType"/>
                                    <xs:element name="NazevTypuSluzbyNovy" type="rpp:NazevTypuSluzbyType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuKategorieSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevKategorieSluzbyOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevKategorieSluzbyPuvodni" type="rpp:NazevKategorieSluzbyType"/>
                                    <xs:element name="NazevKategorieSluzbyNovy" type="rpp:NazevKategorieSluzbyType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuRezimuSluzby">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevRezimuSluzbyOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevRezimuSluzbyPuvodni" type="rpp:NazevRezimuSluzbyType"/>
                                    <xs:element name="NazevRezimuSluzbyNovy" type="rpp:NazevRezimuSluzbyType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuTypuOdpovedi">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevTypuOdpovediOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevTypuOdpovediPuvodni" type="rpp:NazevTypuOdpovediType"/>
                                    <xs:element name="NazevTypuOdpovediNovy" type="rpp:NazevTypuOdpovediType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuZpusobuInicializace">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevZpusobuInicializaceOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevZpusobuInicializacePuvodni" type="rpp:NazevZpusobuInicializaceType"/>
                                    <xs:element name="NazevZpusobuInicializaceNovy" type="rpp:NazevZpusobuInicializaceType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamNazvuPovahyOperace">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="NazevPovahyOperaceOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevPovahyOperacePuvodni" type="rpp:NazevPovahyOperaceType"/>
                                    <xs:element name="NazevPovahyOperaceNovy" type="rpp:NazevPovahyOperaceType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamMetrik">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="MetrikaOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="NazevMetrikyPuvodni" type="rpp:NazevMetrikyType"/>
                                    <xs:element name="MetrikaNova" type="MetrikaEditType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="SeznamInformacnichSystemu">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="InformacniSystemOperaceU" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="KodInformacnihoSystemuPuvodni" type="reg:KodAisType"/>
                                    <xs:element name="InformacniSystemNovy" type="InformacniSystemEditType"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="OpravneniUdajCinnostniRoleType">
        <xs:annotation>
            <xs:documentation>Oprávnění na údaj vedený jinou agendou s ustanoveními právních předpisů, podle kterých se poskytruje pro OVM / SPUU / Kategorii OVM / Kategorii SPUU a Činnost agendy.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje vedeného jinou agendou (ZR, AIS)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OpravneniTyp" type="rpp:DefinovaneOpravneniType"/>
            <xs:element name="AutomatickeOpravneni" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že oprávnění vzniklo automaticky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="GenerovanoSb" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že se jedná o generované oprávění pro SB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType"/>
            <xs:element name="SeznamPovolOvm" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolSpuu" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatOvm" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatSpuu" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostAgendyType">
        <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="Poradi" type="rpp:PoradiCinnostiType">
                <xs:annotation>
                    <xs:documentation>Pořadí činnosti v rámci agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <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="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="TypCinnosti" type="rpp:TypCinnostiType">
                <xs:annotation>
                    <xs:documentation>Typ činnosti</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolOvm" type="SeznamPovolenychKoduOvmType" minOccurs="0"/>
            <xs:element name="SeznamPovolSpuu" type="SeznamPovolenychKoduSpuuType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatOvm" type="rpp:SeznamKoduKategoriiOvmType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatSpuu" type="rpp:SeznamKoduKategoriiSpuuType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AgendaType">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §2/d - Souhrn činností spočívajících ve výkonu vymezeného okruhu vzájemně souvisejících činností v rámci působnosti orgánu veřejné moci. Vyjmenované referenční údaje §51/5.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="reg:KodAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód agendy dle zákona č.111/2009 Sb. §51/5/a. Povinný atribut.
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/5/a Povinný atribut.</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="DatumVzniku" type="rpp:DatumVznikuAgendyType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód ohlašujícího OVM (§51, odst. 5, písm. e)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaAis" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované AISy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaUdaj" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaSluzbu" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaTsua" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované TSUA.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObjektuType">
        <xs:sequence>
            <xs:element name="ObjektUdajAgendy" type="ObjektUdajType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam údajů agend (objekt/subjekt)</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajType">
        <xs:annotation>
            <xs:documentation>Informace 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="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="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS, které objekt poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUdaju" type="SeznamUdajuType"/>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychAisCinnostniRoleType">
        <xs:sequence>
            <xs:element name="PovolenyAisCinnostniRole" type="PovolenyAisCinnostniRoleType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam AIS povolených k činnostním rolím</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PovolenyAisCinnostniRoleType">
        <xs:annotation>
            <xs:documentation>Povolené agendové informační systémy pro OVM / SPUU / Kategorii OVM / Kategorii SPUU a činnost agendy</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>Kód agendového informačního systému</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DodatSouhlas" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Dodatečný souhlas.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPovolOvm" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolSpuu" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatOvm" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
            <xs:element name="SeznamPovolKatSpuu" type="SeznamPovolenychOsCinnostAgendyType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychOsCinnostAgendyType">
        <xs:sequence>
            <xs:element name="PovolenyOs" type="rpp:PovolenyOsCinnostAgendyType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Povolené OVM pro činnost agendy</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUdajuType">
        <xs:sequence>
            <xs:element name="Udaj" type="UdajType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Údaje, které tvoří objekt údajů</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajType">
        <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="Verejny" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda se jedná o veřejný údaj.</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="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType"/>
            <xs:element name="SeznamCharakteristik" type="SeznamCharakteristikEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam charakteristik údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychKoduSpuuType">
        <xs:sequence>
            <xs:element name="PovolenySpuu" type="rpp:KodSpuuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychKoduOvmType">
        <xs:sequence>
            <xs:element name="PovolenyOvm" type="reg:KodOvmType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Povolené OVM pro Agendu</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostiAgendyType">
        <xs:sequence>
            <xs:element name="CinnostAgendy" type="CinnostAgendyType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniUdajCinnostniRoleType">
        <xs:sequence>
            <xs:element name="OpravneniUdajCinnostniRole" type="OpravneniUdajCinnostniRoleType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Oprávnění k údaji jiné agendy pro činnostnírole</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieOvmZmenaType">
        <xs:annotation>
            <xs:documentation>Kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <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="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="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" 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:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOvmVKategorii" type="rpp:SeznamOvmVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam příslušnosti OVM do kategorií.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicePpEsel" type="rpp:SeznamDefinicPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro definici kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPpEsel" type="rpp:SeznamSlozeniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavDatumVzniku" 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="stavDatumZaniku" 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="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="stavDefinicePpEsel" 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="stavSlozeniPpEsel" 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="KategorieSpuuZmenaType">
        <xs:annotation>
            <xs:documentation>Datum vzniku kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <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="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="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" 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:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Počátek platnosti kategorie OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku kategorie SPUU.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSpuuVKategorii" type="rpp:SeznamSpuuVKategorii2Type" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam příslušnosti SPUU do kategorií.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicePpEsel" type="rpp:SeznamDefinicPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro definici kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSlozeniPpEsel" type="rpp:SeznamSlozeniPpEselOstType" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="stavDatumVzniku" 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="stavDatumZaniku" 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="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="stavDefinicePpEsel" 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="stavSlozeniPpEsel" 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="KategorieOvmZapisType">
        <xs:annotation>
            <xs:documentation>Kategorie OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKatOvm" type="rpp:KodKategorieType">
                <xs:annotation>
                    <xs:documentation>Identifikátor 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="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="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="SeznamOvmVKategoriiZapis" type="SeznamOvmVKategoriiZapisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost OVM a SPUU do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicePpEsel" type="rpp:SeznamDefinicPpEselOstType" 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:SeznamSlozeniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KategorieSpuuZapisType">
        <xs:annotation>
            <xs:documentation>Kategorie SPUU.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorKatSpuu" 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="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="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="SeznamSpuuVKategoriiZapis" type="SeznamSpuuVKategoriiZapisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příslušnost OVM a SPUU do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDefinicePpEsel" type="rpp:SeznamDefinicPpEselOstType" 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:SeznamSlozeniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů pro složení kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSpuuVKategoriiZapisType">
        <xs:sequence>
            <xs:element name="KategorieSpuu" type="SpuuVKategoriiZapisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpuuVKategoriiZapisType">
        <xs:annotation>
            <xs:documentation>Příslušnost OVM a SPUU do kategorie.</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="ZarazeniOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku zařazení OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce zařazení OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOvmVKategoriiZapisType">
        <xs:sequence>
            <xs:element name="KategorieOvm" type="OvmVKategoriiZapisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmVKategoriiZapisType">
        <xs:annotation>
            <xs:documentation>Příslušnost OVM a SPUU do kategorie.</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="ZarazeniOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku zařazení OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZarazeniDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce zařazení OVM do kategorie.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmZapisType">
        <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="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="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="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="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="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="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="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="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="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="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="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam dle Esel.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="SeznamOsobVCeleZapisType" minOccurs="0"/>
            <xs:element name="SeznamDatovychSchranek" type="rpp:SeznamDatovychSchranekType" minOccurs="0"/>
            <xs:element name="SeznamPracovisteZapis" type="SeznamPracovistZapisType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpuuZapisType">
        <xs:annotation>
            <xs:documentation>Seznam orgánů veřejné moci.</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="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="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="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="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="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="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam dle Esel.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KompletniOvmZmenaType">
        <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="IdentifikatorOvmEditora" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM editora.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOvm" type="rpp:TypOvmType" minOccurs="0">
                <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="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="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="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="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="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="KodAgendyEditora" type="reg:KodAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód agendy editora.</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="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="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="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam dle Esel.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOsobVCele" type="rpp:SeznamOsobVCeleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam osob stojících 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="SeznamPracovist" type="SeznamPracovistType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <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: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="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="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="stavPusobnostOd" 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="stavPusobnostDo" 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="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="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="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="stavAdresaTextem" 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="SeznamOsobVCeleZapisType">
        <xs:sequence>
            <xs:element name="OsobaCelo" type="OsobaOvmZapisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OsobaOvmZapisType">
        <xs:annotation>
            <xs:documentation>Osoba stojící v čele OVM.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Osoba stojící v čele OVM vyjádřená odkazem do ROB - dle zákona č. 111/2009 Sb. § 51 odst. 1 písm. i).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FoTextem" type="rpp:FoTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Jméno a příjmení, pokud není z ROB.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaTextem" type="rpp:AdresaTextemType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Adresa pobytu textem (pokud není z ROB).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OdkazRuian" type="reg:KodAdresniMistoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Pobyt (pokud není z ROB).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KompletniSpuuZmenaType">
        <xs:annotation>
            <xs:documentation>Údaje 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">
                <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" minOccurs="0">
                <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="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="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="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="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="SeznamUstanoveniPpEsel" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů, seznam dle Esel.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <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: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="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="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:complexType>
    <xs:complexType name="AgendaZmenaType">
        <xs:annotation>
            <xs:documentation>Základní údaje agendy zapisované při změně agendy</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="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor ústředního správního úřadu nebo jiného správního úřadu s celostátní působností, jehož agenda byla registrována</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaAis" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované AISy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaUdaj" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaSluzbu" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaTsua" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované TSUA.</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:attribute name="stavRegistrujicihoOvm" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Stav ohlašovatele (OVM) agendy</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamKoduAisType">
        <xs:sequence>
            <xs:element name="KodAis" type="reg:KodAisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZakladniIdentifikaceStavType">
        <xs:annotation>
            <xs:documentation>Identifikace Agendy a OVM.</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="PlatnostAgendyOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu agendy (verze).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="KodOvm" type="reg:KodOvmType">
                    <xs:annotation>
                        <xs:documentation>Kód OVM.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="KodSpuu" type="rpp:KodSpuuType">
                    <xs:annotation>
                        <xs:documentation>Kód SPUU.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="KodOvmPredavajici" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM, které předává působnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdDokumentu" type="IdDokumentuType" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="stavPusobnosti" type="rpp:StavRppType" use="required">
            <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:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamCinnostiVAgendeType">
        <xs:sequence>
            <xs:element name="CinnostVAgende" type="CinnostVAgendeType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostVAgendeType">
        <xs:annotation>
            <xs:documentation>Seznam činností v Agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnostiAgendy" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>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="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="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPracovistZapisType">
        <xs:sequence>
            <xs:element name="PracovisteZapis" type="PracovisteZapisType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam pracovišť</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PracovisteZapisType">
        <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="KodPracoviste" type="rpp:KodPracovisteType">
                <xs:annotation>
                    <xs:documentation>Kód pracoviště. Nezobrazovat, v podstatě BusinessId.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <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:complexType>
    <xs:complexType name="SeznamPracovistType">
        <xs:sequence>
            <xs:element name="Pracoviste" type="PracovisteType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Pracoviště</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PracovisteType">
        <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="KodPracoviste" type="rpp:KodPracovisteType">
                <xs:annotation>
                    <xs:documentation>Kód pracoviště. Nezobrazovat, v podstatě BusinessId.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <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:annotation>
                <xs:documentation>Správnost adresy pracoviště.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuNaZadostZapisType">
        <xs:sequence>
            <xs:element name="UkonNaZadost" type="UkonNaZadostZapisType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonNaZadostZapisType">
        <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="Popis" type="rpp:PopisUkonuType">
                <xs:annotation>
                    <xs:documentation>Popis úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FormaUkonu" type="rpp:FormaUkonuType">
                <xs:annotation>
                    <xs:documentation>Forma úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DefPracoviste" type="rpp:DefPracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Způsob definice adresy poskytování k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS, které poskytují úkon.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonuCinnosti" type="rpp:SeznamUkonuCinnostiType">
                <xs:annotation>
                    <xs:documentation>Seznam vazeb úkon - činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektUkonuOs" type="rpp:SeznamSubjektUkonuOsType">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektu a místní příslušnosti a vykonávajících OS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpType">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení právních předpisů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuNaZadostEditType">
        <xs:sequence>
            <xs:element name="UkonNaZadost" type="UkonNaZadostEditType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonNaZadostEditType">
        <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" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Popis" type="rpp:PopisUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Popis úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FormaUkonu" type="rpp:FormaUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Forma úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DefPracoviste" type="rpp:DefPracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Způsob definice adresy poskytování k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS, které poskytují úkon.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUkonuCinnosti" type="rpp:SeznamUkonuCinnostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam činností.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektUkonuOs" type="rpp:SeznamSubjektUkonuOsType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektu a místní příslušnosti a vykonávajících OS.</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: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="PrevedenaCinnostType">
        <xs:annotation>
            <xs:documentation>Převedené činnosti</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor cílového OVM.</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:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedenychCinnostiType">
        <xs:sequence>
            <xs:element name="PrevedenaCinnost" type="PrevedenaCinnostType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOperaciType">
        <xs:sequence>
            <xs:element name="Operace" type="OperaceType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Akce pro jeden záznam v číselníku.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRadkuCiselnikuType">
        <xs:sequence>
            <xs:element name="RadekCiselniku" type="HodnotaType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Hodnoty sloupců jednoho řádku číselníku.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="HodnotaType">
        <xs:annotation>
            <xs:documentation>Řádek číselníku.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Hodnota" type="HodnotaSloupceType">
                <xs:annotation>
                    <xs:documentation>Hodnota ve sloupci.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevSloupce" type="NazevSloupceType">
                <xs:annotation>
                    <xs:documentation>Název sloupce.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OperaceType">
        <xs:annotation>
            <xs:documentation>Práce s jedním záznamem číselníku.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdRadku" type="IdRadkuType">
                <xs:annotation>
                    <xs:documentation>Unikátní ID řádku v číselníku.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Kod" type="KodCiselnikuKataloguType">
                <xs:annotation>
                    <xs:documentation>Kód číselníku nebo katalogu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOperace" type="TypOperaceCisType">
                <xs:annotation>
                    <xs:documentation>Typ operace dle enumerace.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamRadkuCiselniku" type="SeznamRadkuCiselnikuType">
                <xs:annotation>
                    <xs:documentation>Seznam řádků číselníku.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamObjektUdajZmenaType">
        <xs:sequence>
            <xs:element name="ObjektUdaj" type="ObjektUdajZmenaType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam objektů/subjektu dané agendy</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajZmenaType">
        <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="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="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kódů AIS, které objekt poskytuje.</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="SeznamUdajZmena" type="SeznamUdajZmenaType">
                <xs:annotation>
                    <xs:documentation>Údaje, které tvoří objekt údajů</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="stavObjektu" type="rpp:StavRppType" use="required">
            <xs:annotation>
                <xs:documentation>Správnost objektu/subjektu</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamUdajZmenaType">
        <xs:sequence>
            <xs:element name="Udaj" type="UdajZmenaType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Údaje, které tvoří objekt údajů.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajZmenaType">
        <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="Verejny" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že je údaj veřejný.</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="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:element name="SeznamCharakteristik" type="SeznamCharakteristikEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam charakteristik údaje.</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="SeznamCharakteristikEditType">
        <xs:sequence>
            <xs:element name="IdCharakteristiky" type="IdCharakteristikyType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Charakteristika údaje - id hodnoty.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PovolenaCinnostOvmStatutType">
        <xs:annotation>
            <xs:documentation>Role statutárního města nebo městské části v závislosti na definování statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CinnostAgendy" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Činnost agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM městské části nebo statutárního města.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že došlo k odebrání role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="SeznamKoduAisType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam AIS, kterými bude činnost vykonávána.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychCinnostiOvmStatutType">
        <xs:annotation>
            <xs:documentation>Seznam rolí v souvislosti s definicí statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PovolenaCinnostOvmStatut" type="PovolenaCinnostOvmStatutType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychUkonuOvmStatutType">
        <xs:annotation>
            <xs:documentation>Seznam úkonů přiřazených OVM v souvislosti s definicí statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PovolenyUkonOvmStatut" type="PovolenyUkonOvmStatutType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PovolenyUkonOvmStatutType">
        <xs:annotation>
            <xs:documentation>Úkony poskytované statutárním městem nebo městskou částí v závislosti na definování statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Ukon" type="rpp:IdentifikatorUkonuType">
                <xs:annotation>
                    <xs:documentation>Kód úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM městské části nebo statutárního města.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že došlo k odebrání role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamSubjektUkonu" type="SeznamSubjektuUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ subjektu a místní příslušnosti a OVM, které úkon vykonávají.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSubjektuUkonuType">
        <xs:annotation>
            <xs:documentation>Seznam typ subjektu a místní příslušnosti a OVM, které úkon vykonávají.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SubjektUkonu" type="SubjektUkonuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SubjektUkonuType">
        <xs:annotation>
            <xs:documentation>Vymezení subjektu a místní příslušnosti pro jednotlivé OS poskytující úkon.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypSubjektu" type="rpp:TypSubjektuType">
                <xs:annotation>
                    <xs:documentation>Typ subjektu, kterému je úkon určen.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MistniPrislusnost" type="rpp:MistniPrislusnostType">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniUdajStatutType">
        <xs:annotation>
            <xs:documentation>Seznam oprávnění v souvislosti s definicí statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="OpravneniUdajStatut" type="OpravneniUdajStatutType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniUdajStatutType">
        <xs:annotation>
            <xs:documentation>Oprávnění na údaj vedený jinou agendou s ustanoveními právních předpisů, podle kterých se poskytuje pro OVM definované v souvislosti se statutem.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje vedeného jinou agendou (ZR, AIS).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OpravneniTyp" type="rpp:DefinovaneOpravneniType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Kód OVM městské části nebo statutárního města.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Činnosti agendy povolené pro OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že oprávnění bylo odebráno.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AutomatickeOpravneni" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že oprávnění vzniklo automaticky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveni" type="rpp:SeznamUstanoveniPpType">
                <xs:annotation>
                    <xs:documentation>Ustanovení právních předpisů podle nich se přístup k údaji umožňuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamUkonuType">
        <xs:sequence>
            <xs:element name="Ukon" type="UkonType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Úkon ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UkonType">
        <xs:annotation>
            <xs:documentation>Definované úkony.</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="IdVykonavateleUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vykonavatel úkonu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Právní předpisy k úkonu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamFaziUkonu" type="SeznamFaziUkonuType" 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="SeznamKanaluType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam kanálů.</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:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPravnichPredpisuType">
        <xs:sequence>
            <xs:element name="PravniPredpis" type="rpp:NazevPravnihoPredpisuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPravnichPredpisu2Type">
        <xs:sequence>
            <xs:element name="PravniPredpis" type="rpp:UstanoveniPpType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPravnichPredpisuOstType">
        <xs:sequence>
            <xs:element name="PravniPredpis" type="rpp:UstanoveniPpEselOstType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamFaziUkonuType">
        <xs:sequence>
            <xs:element name="FazeUkonu" type="IdFazeUkonuType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKanaluType">
        <xs:sequence>
            <xs:element name="Kanal" type="KanalType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenaSluzbaOvmStatutType">
        <xs:sequence>
            <xs:element name="PovolenaSluzbaOvmStatut" type="PovolenaSluzbaVsStatutType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Služby přiřazené OVM v souvislosti s definicí statutu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KanalType">
        <xs:annotation>
            <xs:documentation>Definované obslužné kanály.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypKanalu" type="IdTypuKanaluType">
                <xs:annotation>
                    <xs:documentation>Typ kanálu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UrovenDuvery" type="IdUrovneDuveryType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Požadovaná úroveň důvěry - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProkazaniTotoznosti" type="IdProkazaniTotoznostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Prokázání totožnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovateluKanalu" type="SeznamPoskytovateluKanaluType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluKanaluType">
        <xs:sequence>
            <xs:element name="Poskytovatel" type="PoskytovatelKanaluType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PoskytovatelKanaluType">
        <xs:annotation>
            <xs:documentation>Poskytovatel kanálu pro úkon služby.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SeznamKoduOvm" type="rpp:SeznamKoduOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam poskytovatelů - OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduKategoriiOvm" type="rpp:SeznamKoduKategoriiOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kategororie OVM - poskytovatelé.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PovolenaSluzbaVsStatutType">
        <xs:annotation>
            <xs:documentation>Úkony poskytované statutárním městem nebo městskou částí v závislosti na definování statutu.  </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Sluzba" type="IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že došlo k odebrání role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelu" type="SeznamPoskytovateluType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ subjektu a místní příslušnosti a OVM, které úkon vykonávají.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPoskytovateluType">
        <xs:sequence>
            <xs:element name="Poskytovatel" type="PoskytovatelType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PoskytovatelType">
        <xs:annotation>
            <xs:documentation>Poskytovatel</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód OVM, který úkon poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodKategorieOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód kategorie, která úkon poskytuje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pusobnost" type="IdTypuPusobnosti">
                <xs:annotation>
                    <xs:documentation>Typ působnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnosti" type="SeznamMistniPrislusnostiType">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamMistniPrislusnostiType">
        <xs:sequence>
            <xs:element name="MistniPrislusnost" type="MistniPrislusnostType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MistniPrislusnostType">
        <xs:annotation>
            <xs:documentation>Vymezení subjektu a místní příslušnosti pro jednotlivé OS poskytující úkon.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TypSubjektu" type="IdTypuSubjektuType">
                <xs:annotation>
                    <xs:documentation>Typ subjektu, kterému je úkon určen - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MistniPrislusnost" type="IdMistniPrislusnostiType">
                <xs:annotation>
                    <xs:documentation>Forma úkonu podle místa příslušnosti - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSubjektuVyuzivajicichSluzbuType">
        <xs:sequence>
            <xs:element name="SubjektVyuzivajiciSluzbu" type="IdTypuSubjektuType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Typ subjektu - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebPracovisteType">
        <xs:sequence>
            <xs:element name="SluzbaPracoviste" type="SluzbaPracovisteType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Služba - Pracoviště a kanály ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaPracovisteType">
        <xs:annotation>
            <xs:documentation>Služby a pracoviště, kde je služba poskytována.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzby" type="IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor sluzby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Neposkytuji" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že sluzba není poskytována na pracovišti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduPracoviste" type="rpp:SeznamKoduPracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód pracoviště.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPrevedenychSluzebType">
        <xs:sequence>
            <xs:element name="PrevedenaSluzba" type="PrevedenaSluzbaType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Služba, která byla na OVM převedena z předávajícího OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrevedenaSluzbaType">
        <xs:annotation>
            <xs:documentation>Převedené služby.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorSluzby" type="IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType">
                <xs:annotation>
                    <xs:documentation>Identifikátor cílového OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AgendaEditType">
        <xs:annotation>
            <xs:documentation>Zákon č.111/2009 Sb. §2/d - Souhrn činností spočívajících ve výkonu vymezeného okruhu vzájemně souvisejících činností v rámci působnosti orgánu veřejné moci. Vyjmenované referenční údaje §51/5.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Nazev" type="rpp:NazevAgendyType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Název agendy dle zákona č.111/2009 Sb. §51/5/a Povinný atribut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumVzniku" type="rpp:DatumVznikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum vzniku agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku agendy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RegistrujiciOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Kód ohlašujícího OVM (§51, odst. 5, písm. e)</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="ZmenaMo" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</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:attribute name="stavOhlasovatele" 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="MaSluzbyVsType">
        <xs:annotation>
            <xs:documentation>Informace, zda agenda má mít definovány služby VS poskytované agendou.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MaSluzbuVs" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované služby.</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="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MaUdajType">
        <xs:annotation>
            <xs:documentation>Informace, zda agenda má mít definovány údaje poskytované agendou.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MaUdaj" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, že agenda má definované údaje.</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="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychKatOvmType">
        <xs:sequence>
            <xs:element name="PovolenaKatOvm" type="PovolenyOsType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychKatSpuuType">
        <xs:sequence>
            <xs:element name="PovolenaKatSpuu" type="PovolenyOsType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychOvmType">
        <xs:sequence>
            <xs:element name="PovoleneOvm" type="PovolenyOsType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamPovolenychSpuuType">
        <xs:sequence>
            <xs:element name="PovoleneSpuu" type="PovolenyOsType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PovolenyOsType">
        <xs:annotation>
            <xs:documentation>Povolený oprávněný subjekt.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOs" type="rpp:KodOsType">
                <xs:annotation>
                    <xs:documentation>Identifikátor oprávněného subjektu.</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="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="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</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="SeznamCinnostiEditType">
        <xs:sequence>
            <xs:element name="Cinnost" type="CinnostEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CinnostEditType">
        <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="DatumVzniku" type="rpp:DatumVznikuType">
                <xs:annotation>
                    <xs:documentation>Datum vzniku činnosti.</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="DatumZaniku" type="rpp:DatumZanikuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum zániku činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="JeCinnostVolitelna" 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="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení PP definujících činnost.</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="SeznamRoliType">
        <xs:sequence>
            <xs:element name="Role" type="RoleEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RoleEditType">
        <xs:annotation>
            <xs:documentation>Seznam oprávněných subjektů a činností, které v agendě vykonávají.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti v agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKatOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie OVM vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorSpuu" type="rpp:KodSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKatSpuu" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DodatSouhlas" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že role může používat lokální AISY v působnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</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="SeznamRoliGlIsType">
        <xs:sequence>
            <xs:element name="RoleGlIs" type="RoleGlIsEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RoleGlIsEditType">
        <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="RoleOs" type="RoleType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Jednotlivé role.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="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="RoleType">
        <xs:annotation>
            <xs:documentation>Seznam rolí v agendě.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifikatorOvm" type="reg:KodOvmType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKatOvm" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie OVM vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorSpuu" type="rpp:KodSpuuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor SPUU vykonávající činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifikatorKatSpuu" type="rpp:KodKategorieType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Identifikátor kategorie SPUU vykonávající činnost.</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="SeznamRoliOsType">
        <xs:sequence>
            <xs:element name="RoleOvm" type="RoleType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKoduAisStavType">
        <xs:sequence>
            <xs:element name="KodAis" type="AisStavType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AisStavType">
        <xs:sequence>
            <xs:element name="KodAis" type="reg:KodAisType">
                <xs:annotation>
                    <xs:documentation>Kˇod informačního systému.</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="SeznamObjektSubjektEditType">
        <xs:sequence>
            <xs:element name="ObjektSubjekt" type="ObjektUdajEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ObjektUdajEditType">
        <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="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="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Notifikace" type="CharakteristikaPpType" minOccurs="0"/>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů.</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="SeznamUdajuEditType">
        <xs:sequence>
            <xs:element name="Udaj" type="UdajEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UdajEditType">
        <xs:annotation>
            <xs:documentation>Údaje objektu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodObjektu" type="rpp:KodObjektuUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód objektu/subjektu údajů, do něhož údaj patří.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <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="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="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="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="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType" 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="SeznamCharakteristikPpType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Charakteristiky údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamDatovychSad" type="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="SeznamKontextuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Vazby na kontexty.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamCiselnikuKUdaji" type="SeznamCiselnikuKUdajiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Výskyt údaje v číselnících PPDF.</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="SeznamCharakteristikPpType">
        <xs:sequence>
            <xs:element name="CharakteristikaPp" type="CharakteristikaPpType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CharakteristikaPpType">
        <xs:annotation>
            <xs:documentation>Definované obslužné kanály.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="HodnotaCharakteristiky" type="rpp:HodnotaCharakteristikyType">
                <xs:annotation>
                    <xs:documentation>Odkaz na položku charakteristiky.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType" 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="SeznamDatovychSadType">
        <xs:sequence>
            <xs:element name="DatovaSada" type="rpp:DatovaSadaType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKontextuType">
        <xs:sequence>
            <xs:element name="Kontext" type="KontextType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KontextType">
        <xs:annotation>
            <xs:documentation>Kontext k údaji.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Kod" type="rpp:KodKontextuType">
                <xs:annotation>
                    <xs:documentation>Kód kontextu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Nazev" type="rpp:NazevKontextuType">
                <xs:annotation>
                    <xs:documentation>Název.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSluzebVsEditType">
        <xs:sequence>
            <xs:element name="SluzbaVs" type="SluzbaVsEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SluzbaVsEditType">
        <xs:annotation>
            <xs:documentation>Definované služby.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Identifikator" type="IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Unikátní identifikátor služby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypSluzbyVs" type="IdTypuSluzbyVsType">
                <xs:annotation>
                    <xs:documentation>Typ služby - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NazevSlubyVs" type="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="DefPracoviste" type="IdDefinicePracovisteType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Definice pracoviště - číselník.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DodatSouhlas" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, zda je možné definovat lokální AISy.</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="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</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="SeznamSubjektuVyuzivajicichSluzbu" type="SeznamSubjektuVyuzivajicichSluzbuType">
                <xs:annotation>
                    <xs:documentation>Seznam typů subjektů využívajících službu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPoskytovatelu" type="SeznamPoskytovateluType">
                <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="SeznamUkonu" type="SeznamUkonuType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Úkony ke službě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType">
                <xs:annotation>
                    <xs:documentation>Právní předpisy 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í údaje.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupuType">
        <xs:sequence>
            <xs:element name="OpravneniPristupu" type="OpravneniEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniEditType">
        <xs:annotation>
            <xs:documentation>Informace o objektech/subjektech, o kterých vede agenda údaje. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód definovaného oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KodPrurezOpravneni" type="KodOpravneniCpType" minOccurs="0">
                <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">
                <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="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniPristupuType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Text zdůvodnění pro oprávnění dle potřeby.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPristupovanychUdaju" type="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="SeznamRoliOs" type="SeznamRoliOsType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Role Os v definovaném oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPravnichPredpisu" type="SeznamPravnichPredpisuOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů.</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="SeznamPristupovanychUdajuType">
        <xs:sequence>
            <xs:element name="PristupovanyUdaj" type="OpravneniUdajType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OpravneniUdajType">
        <xs:annotation>
            <xs:documentation>Údaje k oprávnění.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodUdaje" type="rpp:KodUdajeType">
                <xs:annotation>
                    <xs:documentation>Kód údaje vedeného jinou agendou (ZR, AIS)</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:element name="Text" type="rpp:TextDuvoduType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Text zdůvodnění požadavku přístupu na údaj.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliOvm2Type">
        <xs:sequence>
            <xs:element name="RoleOvm" type="RoleType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliSpuu2Type">
        <xs:sequence>
            <xs:element name="RoleSpuu" type="RoleType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliKatOvm2Type">
        <xs:sequence>
            <xs:element name="RoleKategorieOvm" type="RoleType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamRoliKatSpuu2Type">
        <xs:sequence>
            <xs:element name="RoleKategorieSpuu" type="RoleType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamOpravneniPristupuEditType">
        <xs:sequence>
            <xs:element name="OpravneniPristupu" type="OpravneniEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuPovoleneOvmType">
        <xs:sequence>
            <xs:element name="StatutPovoleneOvm" type="StatutPovOvmEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutPovOvmEditType">
        <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="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání z povolených OD k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuRoleType">
        <xs:sequence>
            <xs:element name="StatutRole" type="StatutRoleEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutRoleEditType">
        <xs:annotation>
            <xs:documentation>Role ze statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Role" type="OvmCinnostType">
                <xs:annotation>
                    <xs:documentation>OVM a činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání z povolených OD k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OvmCinnostType">
        <xs:annotation>
            <xs:documentation>Role.</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="KodCinnosti" type="rpp:KodCinnostiAgendyType">
                <xs:annotation>
                    <xs:documentation>Kód činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuRoleGlIsType">
        <xs:sequence>
            <xs:element name="StatutRoleGlIs" type="StatutRoleGlIsEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutRoleGlIsEditType">
        <xs:annotation>
            <xs:documentation>Globální AIS rolí ze statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Role" type="OvmCinnostType">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM a jeho činnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání z povolených OD k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamKoduAis" type="SeznamKoduAisType">
                <xs:annotation>
                    <xs:documentation>Kód AIS.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamKodAisType">
        <xs:sequence>
            <xs:element name="KodAis" type="reg:KodAisType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutSluzbyVsEditType">
        <xs:annotation>
            <xs:documentation>Poskytování služeb 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="IdentifikatorSluzby" type="IdentifikatorSluzbyType">
                <xs:annotation>
                    <xs:documentation>Identifikátor služby VS.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání z povolených OD k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Pusobnost" type="IdTypuPusobnosti" minOccurs="0"/>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamMistniPrislusnost" type="SeznamMistniPrislusnostiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Místní příslušnost.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuSluzbyVsType">
        <xs:sequence>
            <xs:element name="StatutSluzbyVs" type="StatutSluzbyVsEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamStatutuOpraveniType">
        <xs:sequence>
            <xs:element name="StatutOpraveni" type="StatutOpravneniEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StatutOpravneniEditType">
        <xs:annotation>
            <xs:documentation>Oprávnění rolí ze statutu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodOpravneni" type="KodOpravneniType">
                <xs:annotation>
                    <xs:documentation>Kód opravneni</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Role" type="OvmCinnostType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Identifikátor OVM.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Odebrano" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak odebrání z povolených OD k agendě.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrurezCinnostEditType">
        <xs:annotation>
            <xs:documentation>Průřezová činnost - definice a k ní oprávnění.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezCinnosti" type="rpp:KodCinnostiAgendyPrurezType">
                <xs:annotation>
                    <xs:documentation>Kóds průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</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="JeCinnostVolitelna" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Příznak, zda uživatel může zvolit nevykonávání činnosti v působnosti.</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="PlatnostOd" type="rpp:DatumPlatnostiOdType">
                <xs:annotation>
                    <xs:documentation>Datum počátku platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="rpp:DatumPlatnostiDoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum konce platnosti záznamu činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamOpravneni" type="SeznamPrurezovychOpravneniEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam průřezových oprávnění k průřezové činnosti.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamUstanoveniPp" type="rpp:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam ustanovení PP definujících činnost.</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="PrurezOpravneniEditType">
        <xs:annotation>
            <xs:documentation>Informace o objektech/subjektech, o kterých vede agenda údaje. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodPrurezOpravneni" type="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">
                <xs:annotation>
                    <xs:documentation>Kód agendy poskytující-</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypOpravneni" type="TypOpravneniPristupuType">
                <xs:annotation>
                    <xs:documentation>Typ oprávnění.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypZmeny" type="TypZmenyEditType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Typ změny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZmenaMo" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Příznak, že změna se dotkne MO.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextZduvodneni" type="rpp:TextZduvodneniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Text zdůvodnění pro oprávnění dle potřeby.</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="Poznamka" type="rpp:PoznamkaType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Rezerva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeznamPristupovanychUdaju" type="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:SeznamUstanoveniPpEselOstType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Seznam právních předpisů.</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="SeznamPrurezovychCinnostiEditType">
        <xs:annotation>
            <xs:documentation>Seznam průřezových činností.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PrurezovaCinnost" type="PrurezCinnostEditType" 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="SeznamPrurezovychOpravneniEditType">
        <xs:sequence>
            <xs:element name="Opravneni" type="PrurezOpravneniEditType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamCiselnikuKUdajiType">
        <xs:sequence>
            <xs:element name="CiselnikKUdaji" type="CiselnikKUdajiType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CiselnikKUdajiType">
        <xs:annotation>
            <xs:documentation>Číselníky vymezující hodnoty údajů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatovyTyp" type="rpp:DatovyTypType">
                <xs:annotation>
                    <xs:documentation>Datový typ + namespace elementů údaje.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IriUmisteni" type="rpp:IriUmisteniType">
                <xs:annotation>
                    <xs:documentation>Umístění datové sady s údajem.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AkceSekceOpravneniType">
        <xs:annotation>
            <xs:documentation>Změna nebo ukončení celé sekce.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KodAgendyPoskyt" 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" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Počátek platnosti sekce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumUkonceni" type="rpp:DatumUkonceniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení celé sekce.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AkceSekceType">
        <xs:annotation>
            <xs:documentation>Změna nebo ukončení celé sekce.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PlatnostOd" type="rpp:DatumPlatnostiOdType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Počátek platnosti sekce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatumUkonceni" type="rpp:DatumUkonceniType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>Datum ukončení celé sekce.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SeznamSekceOpraveniType">
        <xs:sequence>
            <xs:element name="SekceOpravneni" type="AkceSekceOpravneniType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>Akce na oprávněních.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:schema>
