<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:cz:isvs:rob:schemas:RobDotazyData:v1" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:rob="urn:cz:isvs:rob:schemas:RobTypy:v1" xmlns:reg="urn:cz:isvs:reg:schemas:RegTypy:v1"
    targetNamespace="urn:cz:isvs:rob:schemas:RobDotazyData:v1" elementFormDefault="qualified"
    attributeFormDefault="unqualified" version="2.3.2">
    <xs:annotation>
        <xs:documentation xml:lang="cs">Návrh XML schématu s definicemi dat pro dotazování registru osob
            (ROB).
        </xs:documentation>
    </xs:annotation>
    <!-- Vývojová verze 0.0.24, 27.5.2010, Vladimír Hudec -->
    <!-- Vývojová verze 0.0.25, 20.1.2011, Ludmila.Kotlarova@i.cz -->
    <!-- Vývojová verze 0.0.26, 26.1.2011, Ludmila.Kotlarova@i.cz -->
    <!-- Vývojová verze 0.0.27, 4.2.2011, Ludmila.Kotlarova@i.cz -->
    <!-- Vývojová verze 0.0.29, 4.3.2011, Ludmila.Kotlarova@i.cz -->
    <!-- Vývojová verze 0.1.0, 19.8.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.1, 29.8.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.2, 30.8.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.3, 31.8.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.4, 1.9.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.5, 5.9.2011, Vladimír Hudec -->
    <!-- Vývojová verze 0.1.6, 16.9.2011, Vladimir.Hudec@i.cz -->
    <!-- Vývojová verze 0.1.7, 17.10.2011, Vladimir.Hudec@i.cz -->
    <!-- Vývojová verze 0.1.8, 10.11.2011, Jakub.Faryad@i.cz -->
    <!-- Vývojová verze 0.1.9, 10.11.2011, Albert.Sputa@i.cz -->
    <!-- Verze 1.0.0, 31.1.2012, Vladimir.Hudec@i.cz RobVypisVyuzitiPoskytnutiDataType, zaznamOd -->
    <!-- Verze 1.0.1, 10.2.2012, Vladimir.Hudec@i.cz, RobVypisVyuzitiPoskytnutiDataType, RocniVypisCislo,DatovaSchranka -->
    <!-- Verze 1.0.2, 6.2.2013, Vladimir.Hudec@i.cz, KontrolaType -->
    <!-- Verze 1.0.3, 10.10.2013 , tomas.hudec@i.cz, RobOverAifo -->
    <!-- Verze 1.0.4, 23.1.2014 , tomas.hudec@i.cz, RobVypisSouhlasuPoskytnuti,RobZalozSouhlasPoskytnuti,RobZrusSouhlasPoskytnuti -->
    <!-- Verze 1.0.5, 9.2.2014 , tomas.hudec@i.cz, RobVypisVyuzitiPoskytnutiDataType -->
    <!-- Verze 1.0.6, 9.2.2016 , Vladimir.Hudec@i.cz, znepristupniLog v RobOverHromadneAifo -->
    <!-- Verze 1.0.7, 6.2.2017, Vladimir.Hudec@i.cz, datumPodaniZadosti v RobVypisVyuzitiPoskytnutiDataType, vydatAktivniZaznamy 
        v RobVypisSouhlasuPoskytnutiDataType, nová služba RobVypisSouhlasuPoskytnutiTretiOsobe. Ais v RobVypisVyuzitiPoskytnutiDataResponseType -->
    <!-- Verze 1.0.8, 16.2.2016 , tomas.hudec@i.cz, vydatNeaktivniZaznamy misto vydatAktivniZaznamy v RobVypisSouhlasuPoskytnutiDataType, 
        RobVypisSouhlasuPoskytnutiTretiOsobeDataType -->
    <!-- Verze 1.0.9, 8.3.2017 , tomas.hudec@i.cz, AIFO osoby již patři poskytnutí v RobVypisSouhlasuPoskytnutiTretiOsobeDataResponseType -->
    <!-- Verze 2.0.0, 30.7.2021, Vladimir.Hudec@i.cz, ZoPDS -->
    <!-- Verze 2.1.0, 13.8.2021, Vladimir.Hudec@i.cz, přidaná služba čtení podle adresy -->
    <!-- Verze 2.1.1, 7.12.2021, Vladimir.Hudec@i.cz, oprava RobCtiPodleUdaju2DataType, odebrán stav při hledání -->
    <!-- Verze 2.2.0, 7.3.2024, tomas.hudec@i.cz, RobCtiZmenyProDSDataType, RobCtiZmenyProDSDataResponseType -->    
    <!-- Verze 2.3.0, 18.7.2024, jakub.svoboda@i.cz, Práce s BOK nově dle DEPO - čtecí služby:
    	RobOverBokDataType, RobOverBokDataResponseType, RobCtiStavBokDataType, RobCtiStavBokDataResponseType,
    	RobCtiHistBokDataType, RobCtiHistBokDataResponseType
    -->
    <!-- Verze 2.3.1, 27.9.2024, jakub.svoboda@i.cz, oprava schema.version -->
    <!-- Verze 2.3.2, 17.12.2024, vaclav.bulanek@i.cz, RobCtiVznikBPDataType, RobCtiVznikBPDataResponseType -->
    

    <xs:import namespace="urn:cz:isvs:reg:schemas:RegTypy:v1" schemaLocation="../../RegTypy.xsd" />
    <xs:import namespace="urn:cz:isvs:rob:schemas:RobTypy:v1" schemaLocation="RobTypy.xsd" />

    <xs:element name="RobCtiAifoData" type="RobCtiAifoDataType" />
    <xs:element name="RobCtiAifoDataResponse" type="RobCtiAifoDataResponseType" />
    <xs:element name="RobCtiAifo2Data" type="RobCtiAifoDataType" />
    <xs:element name="RobCtiAifo2DataResponse" type="RobCtiAifoDataResponseType" />
    <xs:element name="RobAutentizaceData" type="RobAutentizaceDataType" />
    <xs:element name="RobAutentizaceDataResponse" type="RobAutentizaceDataResponseType" />
    <xs:element name="RobCtiEditoraData" type="RobCtiEditoraDataType" />
    <xs:element name="RobCtiEditoraDataResponse" type="RobCtiEditoraDataResponseType" />
    <xs:element name="RobCtiHromadneAifoData" type="RobCtiHromadneAifoDataType" />
    <xs:element name="RobCtiHromadneAifoDataResponse" type="RobCtiHromadneAifoDataResponseType" />
    <xs:element name="RobCtiHromadneAifo2Data" type="RobCtiHromadneAifoDataType" />
    <xs:element name="RobCtiHromadneAifo2DataResponse" type="RobCtiHromadneAifoDataResponseType" />
    <xs:element name="RobCtiPodleUdajuData" type="RobCtiPodleUdajuDataType" />
    <xs:element name="RobCtiPodleUdajuDataResponse" type="RobCtiPodleUdajuDataResponseType" />
    <xs:element name="RobCtiPodleUdaju2Data" type="RobCtiPodleUdaju2DataType" />
    <xs:element name="RobCtiPodleUdaju2DataResponse" type="RobCtiPodleUdajuDataResponseType" />
    <xs:element name="RobCtiPodleAdresyData" type="RobCtiPodleAdresyDataType" />
    <xs:element name="RobCtiPodleAdresyDataResponse" type="RobCtiPodleAdresyDataResponseType" />
    <xs:element name="RobCtiZmenyData" type="RobCtiZmenyDataType" />
    <xs:element name="RobCtiZmenyDataResponse" type="RobCtiZmenyDataResponseType" />
    <xs:element name="RobCtiZmenyZalozData" type="RobCtiZmenyZalozDataType" />
    <xs:element name="RobCtiZmenyZalozDataResponse" type="RobCtiZmenyZalozDataResponseType" />
    <xs:element name="RobVypisBlokaceData" type="RobVypisBlokaceDataType" />
    <xs:element name="RobVypisBlokaceDataResponse" type="RobVypisBlokaceDataResponseType" />
    <xs:element name="RobVypisVyuzitiPoskytnutiData" type="RobVypisVyuzitiPoskytnutiDataType" />
    <xs:element name="RobVypisVyuzitiPoskytnutiDataResponse" type="RobVypisVyuzitiPoskytnutiDataResponseType" />
    <xs:element name="RobOverHromadneAifoData" type="RobOverHromadneAifoDataType" />
    <xs:element name="RobOverHromadneAifoDataResponse" type="RobOverHromadneAifoDataResponseType" />
    <xs:element name="RobOverHromadneAifo2Data" type="RobOverHromadneAifo2DataType" />
    <xs:element name="RobOverHromadneAifo2DataResponse" type="RobOverHromadneAifoDataResponseType" />
    <xs:element name="RobVypisSouhlasuPoskytnutiData" type="RobVypisSouhlasuPoskytnutiDataType" />
    <xs:element name="RobVypisSouhlasuPoskytnutiDataResponse"
        type="RobVypisSouhlasuPoskytnutiDataResponseType" />
    <xs:element name="RobVypisSouhlasuPoskytnutiTretiOsobeData"
        type="RobVypisSouhlasuPoskytnutiTretiOsobeDataType" />
    <xs:element name="RobVypisSouhlasuPoskytnutiTretiOsobeDataResponse"
        type="RobVypisSouhlasuPoskytnutiTretiOsobeDataResponseType" />
    <xs:element name="RobCtiZmenyProDSData" type="RobCtiZmenyProDSDataType" />
    <xs:element name="RobCtiZmenyProDSDataResponse" type="RobCtiZmenyProDSDataResponseType" />
    <xs:element name="RobCtiVznikBPData" type="RobCtiVznikBPDataType" />
    <xs:element name="RobCtiVznikBPDataResponse" type="RobCtiVznikBPDataResponseType" />

	<!-- Čtecí služby pro práci s BOK -->
	<xs:element name="RobOverBokData" type="RobOverBokDataType" />
    <xs:element name="RobOverBokDataResponse" type="RobOverBokDataResponseType" />
    <xs:element name="RobCtiStavBokData" type="RobCtiStavBokDataType" />
    <xs:element name="RobCtiStavBokDataResponse" type="RobCtiStavBokDataResponseType" />
    <xs:element name="RobCtiHistBokData" type="RobCtiHistBokDataType" />
    <xs:element name="RobCtiHistBokDataResponse" type="RobCtiHistBokDataResponseType" />
	
    <xs:complexType name="RobDotazyDataResponseType" abstract="true">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Společný předek všech odpovědí na dotazy ROB.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RobAplikacniStatus" type="rob:RobAplikacniStatusType" />
        </xs:sequence>
    </xs:complexType>

    <!-- S1 -->
    <xs:complexType name="RobCtiAifoDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů podle AIFO.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Aifo" type="reg:LokalniAifoType" />
            <!-- omezení - jenom využití nebo poskytnutí -->
            <xs:element name="VyuzitiPoskytnuti" type="rob:TypVyuzitiPoskytnutiType" />
        </xs:sequence>
        <xs:attribute name="znepristupniLog" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobCtiAifoDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů podle AIFO, odpověď.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="AdresaPobytu" type="rob:AdresaPobytuStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="AifoKontrolaType" type="rob:AifoKontrolaType" minOccurs="0" />
                    <xs:element name="DatovaSchranka" type="rob:DatovaSchrankaStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="DatumNarozeni" type="rob:DatumNarozeniStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="DatumPravniMociUmrti" type="rob:DatumPravniMociUmrtiStavType"
                        nillable="true" minOccurs="0" />
                    <xs:element name="DatumUmrti" type="rob:DatumUmrtiStavType" nillable="true" minOccurs="0" />
                    <xs:element name="DorucovaciAdresa" type="rob:DorucovaciAdresaStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="Jmeno" type="rob:JmenoStavType" nillable="true" minOccurs="0" />
                    <xs:element name="MistoNarozeni" type="rob:MistoNarozeniStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="MistoUmrti" type="rob:MistoUmrtiStavType" nillable="true" minOccurs="0" />
                    <xs:element name="Prijmeni" type="rob:PrijmeniStavType" nillable="true" minOccurs="0" />
                    <xs:element name="RodnePrijmeni" type="rob:RodnePrijmeniStavType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="OmezeniSvepravnosti" type="rob:OmezeniSvepravnostiStavType"
                        nillable="true" minOccurs="0" />
                    <xs:element name="RodinnyStavPartnerstvi" type="rob:RodinnyStavPartnerstviStavType"
                        nillable="true" minOccurs="0" />
                    <xs:element name="Pohlavi" type="rob:PohlaviStavType" nillable="true" minOccurs="0" />
                    <xs:element name="Telefon" type="rob:TelefonStavType" nillable="true" minOccurs="0" />
                    <xs:element name="Email" type="rob:EmailStavType" nillable="true" minOccurs="0" />

                    <xs:element name="Certifikaty" type="rob:CertifikatStavType" minOccurs="0"
                        maxOccurs="unbounded" />
                    <xs:element name="Doklady" type="rob:DokladStavType" minOccurs="0" maxOccurs="unbounded" />
                    <xs:element name="Obcanstvi" type="rob:ObcanstviStavType" minOccurs="0"
                        maxOccurs="unbounded" />
                    <xs:element name="PoskytnutiJineOsobe" type="rob:PoskytnutiJineOsobeType" minOccurs="0"
                        maxOccurs="unbounded" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


	<!-- Bude vyřazeno (nahrazeno službami *Bok*) -->
    <xs:complexType name="RobAutentizaceDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Zjištění identity fyzické osoby prostřednictvím elektronického
                identifikačního dokladu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Cislo" type="rob:DokladCisloType" />
            <xs:element name="Druh" type="rob:DokladDruhType" />
            <xs:element name="Bok" type="rob:BokType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>
    
    <!-- Bude vyřazeno (nahrazeno službami *Bok*) -->
    <xs:complexType name="RobAutentizaceDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Zjištění identity fyzické osoby prostřednictvím elektronického
                identifikačního dokladu, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <xs:complexType name="RobCtiEditoraDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání editora údaje podle AIFO.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Aifo" type="reg:LokalniAifoType" />
            <xs:element name="Udaj" type="reg:RobUdajType" />
            <xs:element name="Druh" type="rob:DokladDruhType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobCtiEditoraDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání editora údaje podle AIFO, odpověď.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Udaj" type="reg:RobUdajType" />
                    <xs:element name="Editor" type="rob:EditorType" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <!-- S2 -->
    <xs:complexType name="RobCtiHromadneAifoDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údajů osob z ROB podle seznamu AIFO v MapaAifo.
                Na výstupu
                vrací identickou mapu doplněnou o statusy.
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="znepristupniLog" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobCtiHromadneAifoDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údajů osob z ROB podle seznamu AIFO, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Osoba" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="AdresaPobytu" type="rob:AdresaPobytuStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="Aifo" type="rob:LokalniAifoStavType" />
                                <xs:element name="AifoKontrolaType" type="rob:AifoKontrolaType" minOccurs="0" />
                                <xs:element name="DatovaSchranka" type="rob:DatovaSchrankaStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="DatumNarozeni" type="rob:DatumNarozeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="DatumPravniMociUmrti"
                                    type="rob:DatumPravniMociUmrtiStavType" nillable="true" minOccurs="0" />
                                <xs:element name="DatumUmrti" type="rob:DatumUmrtiStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="DorucovaciAdresa" type="rob:DorucovaciAdresaStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="Jmeno" type="rob:JmenoStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="MistoNarozeni" type="rob:MistoNarozeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="MistoUmrti" type="rob:MistoUmrtiStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Prijmeni" type="rob:PrijmeniStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="RodnePrijmeni" type="rob:RodnePrijmeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="OmezeniSvepravnosti" type="rob:OmezeniSvepravnostiStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="RodinnyStavPartnerstvi"
                                    type="rob:RodinnyStavPartnerstviStavType" nillable="true" minOccurs="0" />
                                <xs:element name="Pohlavi" type="rob:PohlaviStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Telefon" type="rob:TelefonStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Email" type="rob:EmailStavType" nillable="true"
                                    minOccurs="0" />

                                <xs:element name="Certifikaty" type="rob:CertifikatStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                                <xs:element name="Doklady" type="rob:DokladStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                                <xs:element name="Obcanstvi" type="rob:ObcanstviStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <!-- S3 -->
    <xs:complexType name="RobCtiPodleUdajuDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů z registru na základě vyhledání fyzické
                osoby podle kombinace údajů.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AdresaPobytu" type="rob:AdresaPobytuType" nillable="true" minOccurs="0" />
            <xs:element name="DatovaSchrankaId" type="reg:DatovaSchrankaIdType" nillable="true" minOccurs="0" />
            <xs:element name="DatumNarozeni" type="rob:DatumNarozeniType" nillable="true" minOccurs="0" />
            <xs:element name="DatumPravniMociUmrti" type="rob:DatumPravniMociUmrtiType" nillable="true"
                minOccurs="0" />
            <xs:element name="DatumUmrti" type="rob:DatumUmrtiType" nillable="true" minOccurs="0" />
            <xs:element name="Jmeno" type="rob:JmenoType" nillable="true" minOccurs="0" />
            <xs:element name="MistoNarozeni" type="rob:MistoNarozeniType" nillable="true" minOccurs="0" />
            <xs:element name="MistoUmrti" type="rob:MistoUmrtiType" nillable="true" minOccurs="0" />
            <xs:element name="Prijmeni" type="rob:PrijmeniType" nillable="true" minOccurs="0" />

            <xs:element name="Doklad" type="rob:DokladType" minOccurs="0" />
            <xs:element name="Obcanstvi" type="rob:ObcanstviType" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="typPorovnani" type="rob:TypPorovnaniType" default="diakritika" />
        <xs:attribute name="znepristupniLog" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobCtiPodleUdajuDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů z registru na základě vyhledání fyzické
                osoby podle kombinace údajů, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Osoba" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="AdresaPobytu" type="rob:AdresaPobytuStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="Aifo" type="rob:LokalniAifoStavType" />
                                <xs:element name="AifoKontrolaType" type="rob:AifoKontrolaType" minOccurs="0" />
                                <xs:element name="DatovaSchranka" type="rob:DatovaSchrankaStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="DatumNarozeni" type="rob:DatumNarozeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="DatumPravniMociUmrti"
                                    type="rob:DatumPravniMociUmrtiStavType" nillable="true" minOccurs="0" />
                                <xs:element name="DatumUmrti" type="rob:DatumUmrtiStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="DorucovaciAdresa" type="rob:DorucovaciAdresaStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="Jmeno" type="rob:JmenoStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="MistoNarozeni" type="rob:MistoNarozeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="MistoUmrti" type="rob:MistoUmrtiStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Prijmeni" type="rob:PrijmeniStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="RodnePrijmeni" type="rob:RodnePrijmeniStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="OmezeniSvepravnosti" type="rob:OmezeniSvepravnostiStavType"
                                    nillable="true" minOccurs="0" />
                                <xs:element name="RodinnyStavPartnerstvi"
                                    type="rob:RodinnyStavPartnerstviStavType" nillable="true" minOccurs="0" />
                                <xs:element name="Pohlavi" type="rob:PohlaviStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Telefon" type="rob:TelefonStavType" nillable="true"
                                    minOccurs="0" />
                                <xs:element name="Email" type="rob:EmailStavType" nillable="true"
                                    minOccurs="0" />

                                <xs:element name="Certifikaty" type="rob:CertifikatStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                                <xs:element name="Doklady" type="rob:DokladStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                                <xs:element name="Obcanstvi" type="rob:ObcanstviStavType" minOccurs="0"
                                    maxOccurs="unbounded" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="RobCtiPodleUdaju2DataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů z registru na základě vyhledání fyzické
                osoby podle kombinace údajů, verze 2.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobCtiPodleUdajuDataType">
                <xs:sequence>
                    <xs:element name="RodnePrijmeni" type="rob:RodnePrijmeniType" nillable="true"
                        minOccurs="0" />
                    <xs:element name="OmezeniSvepravnosti" type="rob:OmezeniSvepravnostiType"
                        nillable="true" minOccurs="0" />
                    <xs:element name="RodinnyStavPartnerstvi" type="rob:RodinnyStavPartnerstviType"
                        nillable="true" minOccurs="0" />
                    <xs:element name="Pohlavi" type="rob:PohlaviType" nillable="true" minOccurs="0" />
                    <xs:choice minOccurs="0" maxOccurs="1">
	                    <xs:element name="SerioveCisloCertifikatu" type="rob:SerioveCisloCertifikatuType"
	                        nillable="true" minOccurs="0" />
	                    <xs:element name="SerioveCisloCertifikatuHex" type="reg:SerioveCisloCertifikatuHexType"
	                        nillable="true" minOccurs="0" />
                    </xs:choice>
                    <xs:element name="VydavatelCertifikatu" type="rob:VydavatelCertifikatuType"
                        nillable="true" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="RobCtiPodleAdresyDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů z registru na základě vyhledání fyzické
                osoby podle adresy pobytu.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AdresaPobytu" type="rob:AdresaPobytuType" />
        </xs:sequence>
        <xs:attribute name="seznamAifo" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobCtiPodleAdresyDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení referenčních údajů z registru na základě vyhledání fyzické
                osoby podle adresy pobytu, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="PocetCelkem" type="reg:KladneCeleCisloType" />
                    <xs:element name="EditorData" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Editor" type="reg:KodAgendyType" />
                                <xs:element name="EditorPocet" type="reg:KladneCeleCisloType" />
                                <xs:element name="Osoba" minOccurs="0" maxOccurs="unbounded">
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="Aifo" type="rob:LokalniAifoStavType" />
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <!-- S4 -->
    <xs:complexType name="RobCtiZmenyDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, u kterých došlo ke změně
                referenčních údajů.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="CasOd" type="rob:ZmenaCasType" />
                <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
            </xs:choice>
            <xs:element name="CasDo" type="rob:ZmenaCasType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobCtiZmenyDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, u kterých došlo ke změně referenčních
                údajů, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="ZmenaCas" type="rob:ZmenaCasType" />
                    <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <xs:complexType name="RobCtiZmenyZalozDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, která byla nově založena.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="CasOd" type="rob:ZmenaCasType" />
                <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
            </xs:choice>
            <xs:element name="CasDo" type="rob:ZmenaCasType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobCtiZmenyZalozDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, která byla nově založena, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="ZmenaCas" type="rob:ZmenaCasType" />
                    <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <xs:complexType name="RobVypisBlokaceDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údaje o znepřístupnění výdeje.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0" />
            <xs:element name="Subjekt" type="reg:SubjektType" minOccurs="0" />
            <xs:element name="Agenda" type="reg:KodAgendyType" minOccurs="0" />
            <xs:element name="Uzivatel" type="reg:UzivatelType" minOccurs="0" />
            <xs:element name="DuvodUcel" type="reg:DuvodUcelType" minOccurs="0" />
            <xs:element name="CasOd" type="rob:ZnepristupneniDatumCasType" minOccurs="0" />
            <xs:element name="CasDo" type="rob:ZnepristupneniDatumCasType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobVypisBlokaceDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údaje o znepřístupnění výdeje, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Blokace" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="Aifo" type="reg:LokalniAifoType" />
                                <xs:element name="Subjekt" type="reg:SubjektType" />
                                <xs:element name="Agenda" type="reg:KodAgendyType" />
                                <xs:element name="Ovm" type="reg:KodOvmType" />
                                <xs:element name="Uzivatel" type="reg:UzivatelType" />
                                <xs:element name="CasBlokace" type="rob:ZnepristupneniDatumCasType" />
                                <xs:element name="DuvodUcel" type="reg:DuvodUcelType" />
                                <xs:element name="AgendaZadostId" type="reg:AgendaZadostIdType" />
                                <xs:element name="IszrZadostId" type="reg:IszrZadostIdType" minOccurs="0" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>


    <xs:complexType name="RobVypisVyuzitiPoskytnutiDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údajů o využití a poskytnutí záznamů.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="RocniVypisCislo" type="rob:CisloZaznamu" />
                <xs:element name="Aifo" type="reg:LokalniAifoType" />
            </xs:choice>
            <xs:element name="CasOd" type="reg:CasovaZnackaType" />
            <xs:element name="CasDo" type="reg:CasovaZnackaType" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="potlaceniZnepristupneni" type="xs:boolean" />
        <xs:attribute name="zaznamOd" type="rob:CisloZaznamu" />
        <xs:attribute name="hromadnyVydej" type="xs:boolean" />
        <xs:attribute name="datumPodaniZadosti" type="xs:date" />
    </xs:complexType>

    <xs:complexType name="RobVypisVyuzitiPoskytnutiDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání údajů o využití a poskytnutí záznamů, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="DatovaSchranka" type="reg:DatovaSchrankaIdType" minOccurs="0" />
                    <xs:element name="Kontrola" type="rob:KontrolaType" minOccurs="0" />
                    <xs:element name="VyuzitiPoskytnuti" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="VyuzitiPoskytnuti" type="rob:TypVyuzitiPoskytnutiType" />
                                <xs:element name="Agenda" type="reg:KodAgendyType" />
                                <xs:element name="Ais" type="reg:KodAisType" minOccurs="0" />
                                <xs:element name="Subjekt" type="reg:SubjektType" />
                                <xs:element name="Uzivatel" type="reg:UzivatelType" />
                                <xs:element name="Ovm" type="reg:KodOvmType" />
                                <xs:element name="CasVyuziti" type="reg:CasovaZnackaType" />
                                <xs:element name="DuvodUcel" type="reg:DuvodUcelType" />
                                <xs:element name="SeznamUdaju" type="rob:VyuzitiPoskytnutiSpecifikaceType" />
                                <xs:element name="AgendaZadostId" type="reg:AgendaZadostIdType" />
                                <xs:element name="IszrZadostId" type="reg:IszrZadostIdType" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="RobOverHromadneAifoDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Ověření jedné nebo více osob v ROB.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Osoba" maxOccurs="unbounded">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Aifo" type="reg:LokalniAifoType" />
                        <xs:element name="AdresaPobytu" type="rob:AdresaPobytuType" minOccurs="0" />
                        <xs:element name="DatovaSchrankaId" type="reg:DatovaSchrankaIdType" minOccurs="0" />
                        <xs:element name="DatumNarozeni" type="rob:DatumNarozeniType" minOccurs="0" />
                        <xs:element name="DatumUmrti" type="rob:DatumUmrtiType" minOccurs="0" />
                        <xs:element name="DatumPravniMociUmrti" type="rob:DatumPravniMociUmrtiType"
                            minOccurs="0" />
                        <xs:element name="DorucovaciAdresa" type="rob:DorucovaciAdresaType" minOccurs="0" />
                        <xs:element name="Jmeno" type="rob:JmenoType" minOccurs="0" />
                        <xs:element name="MistoNarozeni" type="rob:MistoNarozeniType" minOccurs="0" />
                        <xs:element name="MistoUmrti" type="rob:MistoUmrtiType" minOccurs="0" />
                        <xs:element name="Prijmeni" type="rob:PrijmeniType" minOccurs="0" />
                        <xs:element name="Doklady" type="rob:DokladType" minOccurs="0" maxOccurs="unbounded" />
                        <xs:element name="Obcanstvi" type="rob:ObcanstviType" minOccurs="0"
                            maxOccurs="unbounded" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="typPorovnani" type="rob:TypPorovnaniType" default="diakritika" />
        <xs:attribute name="znepristupniLog" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobOverHromadneAifo2DataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Ověření jedné nebo více osob v ROB.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Osoba" maxOccurs="unbounded">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Aifo" type="reg:LokalniAifoType" />
                        <xs:element name="AdresaPobytu" type="rob:AdresaPobytuType" minOccurs="0" />
                        <xs:element name="DatovaSchrankaId" type="reg:DatovaSchrankaIdType" minOccurs="0" />
                        <xs:element name="DatumNarozeni" type="rob:DatumNarozeniType" minOccurs="0" />
                        <xs:element name="DatumUmrti" type="rob:DatumUmrtiType" minOccurs="0" />
                        <xs:element name="DatumPravniMociUmrti" type="rob:DatumPravniMociUmrtiType"
                            minOccurs="0" />
                        <xs:element name="DorucovaciAdresa" type="rob:DorucovaciAdresaType" minOccurs="0" />
                        <xs:element name="Jmeno" type="rob:JmenoType" minOccurs="0" />
                        <xs:element name="MistoNarozeni" type="rob:MistoNarozeniType" minOccurs="0" />
                        <xs:element name="MistoUmrti" type="rob:MistoUmrtiType" minOccurs="0" />
                        <xs:element name="Prijmeni" type="rob:PrijmeniType" minOccurs="0" />
                        <xs:element name="RodnePrijmeni" type="rob:RodnePrijmeniType" 
                            minOccurs="0" />
                        <xs:element name="OmezeniSvepravnosti" type="rob:OmezeniSvepravnostiType"
                            minOccurs="0" />
                        <xs:element name="RodinnyStavPartnerstvi" type="rob:RodinnyStavPartnerstviType"
                            minOccurs="0" />
                        <xs:element name="Pohlavi" type="rob:PohlaviType" minOccurs="0" />
                        <xs:element name="Doklady" type="rob:DokladType" minOccurs="0" maxOccurs="unbounded" />
                        <xs:element name="Obcanstvi" type="rob:ObcanstviType" minOccurs="0"
                            maxOccurs="unbounded" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="typPorovnani" type="rob:TypPorovnaniType" default="diakritika" />
        <xs:attribute name="znepristupniLog" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobOverHromadneAifoDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Ověření jedné nebo více osob v ROB, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RobAplikacniStatus" type="rob:RobAplikacniStatusType" />
            <xs:element name="Osoba" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Aifo" type="reg:LokalniAifoType" />
                        <xs:element name="OvereneUdaje" type="reg:RobSeznamUdajuType" minOccurs="0" />
                        <xs:element name="CastecneOvereneUdaje" type="reg:RobSeznamUdajuType" minOccurs="0" />
                        <xs:element name="NeovereneUdaje" type="reg:RobSeznamUdajuType" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobVypisSouhlasuPoskytnutiDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Výpis záznamů o DS třetích stran, do kterých se
                při změně mají
                údaje odeslat.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Aifo" type="reg:LokalniAifoType" />
        </xs:sequence>
        <xs:attribute name="vydatNeaktivniZaznamy" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobVypisSouhlasuPoskytnutiDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Výpis záznamů o DS třetích stran, do kterých se
                při změně mají
                údaje odeslat, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="PoskytnutiJineOsobe" type="rob:PoskytnutiJineOsobeType"
                        maxOccurs="unbounded" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="RobVypisSouhlasuPoskytnutiTretiOsobeDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Výpis záznamů souhlasů pro DS třetí strany, do které se
                při změně
                mají údaje odeslat.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatovaSchrankaPoskytnuti" type="reg:DatovaSchrankaIdType" />
        </xs:sequence>
        <xs:attribute name="vydatNeaktivniZaznamy" type="xs:boolean" />
    </xs:complexType>

    <xs:complexType name="RobVypisSouhlasuPoskytnutiTretiOsobeDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Výpis záznamů souhlasů pro DS třetí strany, do které se
                při změně
                mají údaje odeslat, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="PoskytnutiTretiOsobe" type="rob:PoskytnutiTretiOsobeType"
                        maxOccurs="unbounded" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    
    <xs:complexType name="RobCtiZmenyProDSDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, u kterých došlo ke změně
                referenčních údajů.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="CasOd" type="rob:ZmenaCasType" />
                <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
            </xs:choice>
            <xs:element name="CasDo" type="rob:ZmenaCasType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RobCtiZmenyProDSDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Vydání seznamu AIFO, u kterých došlo ke změně
                referenčních údajů, odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Zmeny" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="ZmenaId" type="rob:ZmenaIdType" />
                                <xs:element name="ZmenaCas" type="rob:ZmenaCasType" />
                                <xs:element name="Aifo" type="reg:LokalniAifoType" />
                                <xs:element name="ZmenaUdaje" type="rob:SeznamUdajuType" minOccurs="0" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="PosledniZmenaId" type="rob:ZmenaIdType" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    
    <xs:complexType name="RobCtiVznikBPDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Události typu "splnění podmínek pro vznik branné povinnosti" - dotaz.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CasOd" type="rob:ZmenaCasType"/>
            <xs:element name="CasDo" type="rob:ZmenaCasType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    
    <xs:complexType name="RobCtiVznikBPDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Události typu "splnění podmínek pro vznik branné povinnosti" - odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
                <xs:sequence minOccurs="0">
                    <xs:element name="Udalosti" minOccurs="0" maxOccurs="unbounded">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element name="UdalostId" type="reg:UuidType" />
                                <xs:element name="UdalostCas" type="rob:ZmenaCasType" />
                                <xs:element name="Aifo" type="reg:LokalniAifoType" />
                                <xs:element name="ZmenaUdaje" type="rob:SeznamUdajuType" />
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="PosledniUdalostCas" type="rob:ZmenaCasType" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    
    <xs:complexType name="RobOverBokDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Ověření hodnoty BOK.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
        	<xs:element name="Aifo" type="rob:LokalniAifoStavType" />
            <xs:element name="Bok" type="rob:BokType"/>
        </xs:sequence>
    </xs:complexType>    
    
	<xs:complexType name="RobOverBokDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Ověření hodnoty BOK - odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
			<!-- Nevrací se žádné specifické údaje -->
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    
    <xs:complexType name="RobCtiStavBokDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení atributů BOK - dotaz.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
        	<xs:element name="Aifo" type="rob:LokalniAifoStavType" />
			<!-- Seznam požadovaných údajů -->
            <xs:element name="BokUdaje" type="rob:BokSeznamUdajuType"/>          
        </xs:sequence>
    </xs:complexType>
    
	<xs:complexType name="RobCtiStavBokDataResponseType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení atributů BOK - odpověď.
            </xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="RobDotazyDataResponseType">
				<xs:sequence>            
					<xs:element name="BlokaceUrad" type="rob:BokBlokaceType" minOccurs="0"/>
					<xs:element name="BlokaceSubjekt" type="rob:BokBlokaceType" minOccurs="0"/>
					<xs:element name="Autentizace" type="rob:BokAutentizaceType" minOccurs="0"/>
					<xs:element name="PocetPokusu" type="rob:BokPocetPokusuType" minOccurs="0"/>
				</xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
        
    <xs:complexType name="RobCtiHistBokDataType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čtení historie atributů BOK - dotaz.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
        	<xs:element name="Aifo" type="rob:LokalniAifoStavType" />
            <xs:element name="CasOd" type="rob:ZmenaCasType" minOccurs="0"/>
            <xs:element name="CasDo" type="rob:ZmenaCasType" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

	<xs:complexType name="RobCtiHistBokDataResponseType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Čtení historie atributů BOK - odpověď.
			</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="RobDotazyDataResponseType">
				<xs:sequence minOccurs="0">
					<xs:element name="HistorieBok" minOccurs="0"
						maxOccurs="unbounded">
						<xs:complexType>
							<xs:sequence>
								<xs:element name="IdDen" type="reg:KladneCeleCisloType" />
								<xs:element name="IdZadost" type="rob:ZadostIdType" />
								<xs:element name="Ts" type="reg:CasovaZnackaType" />
								<xs:element name="BlokaceUrad"
									type="rob:BokBlokaceType" minOccurs="0" />
								<xs:element name="BlokaceSubjekt"
									type="rob:BokBlokaceType" minOccurs="0" />
								<xs:element name="Autentizace"
									type="rob:BokAutentizaceType" minOccurs="0" />
								<xs:element name="PocetPokusu"
									type="rob:BokPocetPokusuType" minOccurs="0" />
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
        
</xs:schema>
