<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:cz:isvs:aiseop:schemas:AisEopTypy2:v1"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:reg="urn:cz:isvs:reg:schemas:RegTypy:v1"
           xmlns:rob="urn:cz:isvs:rob:schemas:RobTypy:v1"
           targetNamespace="urn:cz:isvs:aiseop:schemas:AisEopTypy2:v1"
           xmlns:aisse="urn:cz:isvs:aisse:schemas:AisSeTypy4:v1"
           xmlns:dt="urn:cz:isvs:aisse:schemas:DataTypy:v1"
           elementFormDefault="qualified" attributeFormDefault="unqualified"
           version="2.0.0">
    
    <xs:annotation>
        <xs:documentation xml:lang="cs">Definice společných datových prvků AIS EOP v2.0.0.</xs:documentation>
    </xs:annotation>

    <!-- Úvodní verze pro atomické služby AIS EOP v.2, 01.01.2023 -->
    <!-- Změna pro atomické služby AIS EOP v.2, 24.07.2023 - výdej žádostí pro OP -->

    <xs:import namespace="urn:cz:isvs:reg:schemas:RegTypy:v1" schemaLocation="../../RegTypy.xsd"/>
    <xs:import namespace="urn:cz:isvs:rob:schemas:RobTypy:v1" schemaLocation="../../rob/xsd/RobTypy.xsd"/>
    <xs:import namespace="urn:cz:isvs:aisse:schemas:AisSeTypy4:v1" schemaLocation="AisSeTypyV4.xsd"/>
    <xs:import namespace="urn:cz:isvs:aisse:schemas:DataTypy:v1" schemaLocation="DataTypy.xsd"/>
    
    
    <xs:complexType name="KompletniUdajeEOPType">
        
         <xs:annotation>
            <xs:documentation>Informace o osobě v AIS EOP a občanských průkazů osoby vedené v AIS EOP</xs:documentation>
        </xs:annotation>     
        
        <xs:sequence>  
                        
            <xs:element name="Aifo" type="reg:LokalniAifoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Lokální AIFO</xs:documentation>
                </xs:annotation>
            </xs:element>
    
            <!-- Rodne cislo -->

            <xs:element name="RodneCislo" type="aisse:RodneCisloType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Rodné číslo</xs:documentation>
                </xs:annotation>
            </xs:element>

            <!-- Datum narozeni -->

            <xs:element name="DatumNarozeni" type="aisse:DatumNarozeniType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum narození</xs:documentation>
                </xs:annotation>
            </xs:element>    
    
            <!-- Prijmeni -->

            <xs:element name="Prijmeni" type="aisse:PrijmeniType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Příjmení</xs:documentation>
                </xs:annotation>
            </xs:element>
        
            <!-- Jmeno -->

            <xs:element name="Jmeno" type="aisse:JmenoType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Jméno/Jména</xs:documentation>
                </xs:annotation>
            </xs:element>
    
            <!-- Pohlavi -->

            <xs:element name="Pohlavi" type="aisse:PohlaviType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Pohlaví</xs:documentation>
                </xs:annotation>
            </xs:element>
  
            <!-- Misto narozeni -->

            <xs:element name="MistoNarozeni" type="aisse:MistoEOType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Místo a okres narození, u občana, který se narodil v cizině, místo a stát, kde se občan narodil.</xs:documentation>
                </xs:annotation>
            </xs:element>

            <!-- Umrti -->

            <xs:element name="DatumUmrti" type="aisse:DatumUmrtiType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum úmrtí; je-li vydáno rozhodnutí soudu o prohlášení za mrtvého,
                        den, který je v rozhodnutí uveden jako den smrti nebo den, který občan prohlášený za mrtvého
                        nepřežil
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="StavOsoby" type="aisse:StavOsobyType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Stav osoby - živá/mrtvá/nezjištěno</xs:documentation>
                </xs:annotation>
            </xs:element>

            <!-- Prohlaseni za mrtveho -->

            <xs:element name="DNPMProhlaseniZaMrtveho" type="aisse:DNPMProhlaseniZaMrtvehoType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum nabytí právní moci o prohlášení za mrtvého</xs:documentation>
                </xs:annotation>
            </xs:element>

             <!-- Rodinný stav -->
            <xs:element name="RodinnyStav" type="aisse:RodStavType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Rodinný stav nebo registrované partnerství, pokud jsou zapsané v občanském
                        průkazu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <!-- Občanství -->
            <xs:element name="Obcanstvi" type="aisse:ObcanstviEOType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Státního občanství. Jen občanství ČR, pokud ho nemá, vydává se údaj prázdný.</xs:documentation>
                </xs:annotation>
            </xs:element>

            <!-- Adresa TP -->
            <xs:element name="AdresaTP" type="aisse:AdresaTPType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Adresa trvalého pobytu.</xs:documentation>
                </xs:annotation>
            </xs:element>
                                      
            <xs:element name="PocatekTP" type="aisse:DatumStavType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum počátku trvalého pobytu</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UkonceniTP"  type="aisse:DatumStavType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum ukončení pobytu na území ČR</xs:documentation>
                </xs:annotation>            
            </xs:element>

            <xs:element name="UredniZruseniTP"  type="aisse:DatumStavType"  minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum uředního zrušení trvalého pobytu</xs:documentation>
                </xs:annotation>              
            </xs:element>

            <!-- Svéprávnost -->

            <xs:element name="Svepravnost" type="aisse:SvepravnostType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Svéprávnost</xs:documentation>
                </xs:annotation>
            </xs:element>


            <xs:element name="Opatrovnik" type="OpatrovnikOPType" nillable="true" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Opatrovník</xs:documentation>
                </xs:annotation>
            </xs:element>

            <!-- Datovává schránka  -->

            <xs:element name="DatovaSchranka" type="DatovaSchrankaOPType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Typ datové schránky a identifikátor datové schránky, je-li tato datová schránka zpřístupněna</xs:documentation>
                </xs:annotation>
            </xs:element>


            <!-- Zákaz poskytnutí digitálního zpracování podoby po jeho úmrtí --> 

            <xs:element name="PoskytnutiPodobaPoUmrti" type="PoskytnutiPodobaPoUmrtiType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Zákaz poskytnutí digitálního zpracování podoby po jeho úmrtí - Ano/Ne</xs:documentation>
                </xs:annotation>                           
            </xs:element> 


            <!-- Občanský průkaz  -->

            <xs:element name="ObcanskyPrukaz" type="OPType" minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>Seznam občanských průkazů</xs:documentation>
                </xs:annotation>
            </xs:element>


            <!-- Občanský průkaz - neplatny -->

            <xs:element name="ObcanskyPrukazNeplatny" type="OPNeplatnyType" minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>Seznam neplatných občanských průkazů</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            
            <!-- Občanský průkaz - znehodnocené  -->

            <xs:element name="ObcanskyPrukazZnehodnoceny" type="OPZnehodnocenyType" minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>Seznam znehodnocených občanských průkazů</xs:documentation>
                </xs:annotation>
            </xs:element>
            
                     
            <!-- Potvrzení  -->

            <xs:element name="OPPotvrzeni" type="PotvrzeniOPType"  minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>čísla vydaných potvrzení o občanském průkazu a pro každé potvrzení o
                        občanském průkazu dobu jeho platnosti a označení úřadu, který jej vydal
                    </xs:documentation>
                </xs:annotation>
            </xs:element>


            <xs:element name="ElektronickaIdentifikace" minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum a čas elektronické identifikace držitele OP
                    </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:complexContent>
                        <xs:extension base="ElektronickaIdentifikaceType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:complexContent>
                </xs:complexType>
            </xs:element>
            
        </xs:sequence>
    </xs:complexType>
    
    
    
    <xs:complexType name="OPType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Občanský průkaz</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Jmeno" type="dt:JmenoType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Zkrácená podoba jména, popřípadě jmen na OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="Prijmeni" type="dt:PrijmeniType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation>Zkrácená podoba příjmení na OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="Tituly" type="dt:Text100" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation>Tituly na OP</xs:documentation>
                </xs:annotation>
            </xs:element>            
            
            <xs:element name="OPCislo" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPCisloType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="OPSerie" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Série OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPSerieType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="ZadostCislo" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Čislo žádosti o OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPZadostCisloType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>                
            </xs:element>
            
            <xs:element name="DatumVydani" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum vydání OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:DatumType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="DatumPlatnosti" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum ukončení platnosti OP - na dokladu</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:DatumType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="DatumPrevzeti" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum převzetí OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:DatumType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>                
            </xs:element>

            <xs:element name="DatumSkartace" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum skartace OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:DatumType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
 
            <xs:element name="UradVydal" type="aisse:UradType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Označení úřadu, který občanský průkaz vydal</xs:documentation>
                </xs:annotation>
            </xs:element>
                        
             <xs:element name="Cip1" type="Cip1OPType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Kontaktní elektronický čip OP č.1</xs:documentation>
                </xs:annotation>
            </xs:element>            
            
             <xs:element name="Cip2" type="Cip2OPType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Kontaktní elektronický čip OP č.2</xs:documentation>
                </xs:annotation>
            </xs:element>       
                
            
            <xs:element name="Zadost" type="ZadostOPType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Žádost o OP - PDF nebo v položkové podobě</xs:documentation>
                </xs:annotation>
            </xs:element>            
            
            <xs:element name="Komunikace" type="aisse:KomunikaceSOsobouType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation>Spojení pro komunikaci s osobou</xs:documentation>
                </xs:annotation>
            </xs:element>           
            
             <xs:element name="KonecPlatnostiPDF" type="aisse:PDFType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation>Záznam o skončení platnosti občanského průkazu v elektronické podobě</xs:documentation>
                </xs:annotation>
            </xs:element>             
            
            <xs:element name="OhlaseniPDF" type="aisse:PDFType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation>Ohlášení poškození, zničení, ztráty, odcizení nebo nebezpečí zneužití občanského průkazu, s výjimkou nebezpečí zneužití dat pro elektronické využití občanského průkazu, v elektronické podobě</xs:documentation>
                </xs:annotation>
            </xs:element>              
            
             <xs:element name="PoznamkaPredani" type="dt:Text500"  minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Poznámky při předání</xs:documentation>
                </xs:annotation>
            </xs:element>              

            <xs:element name="Certifikat" type="CertifikatType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Informace o aktivaci čipu OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>    
    
    
    
    <xs:complexType name="OPNeplatnyType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Občanský průkaz - neplatné</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            
            <xs:element name="OPCislo" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPCisloType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="OPSerie" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Série OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPSerieType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>   
                     
             <xs:element name="DatumUkonceniPlatnosti" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum ukončení platnosti OP</xs:documentation>
                </xs:annotation>
            </xs:element>
               
            <xs:element name="StavDokladuKod" type="xs:string"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Stav dokladu OP - kód
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="StavDokladu" type="xs:string"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Stav dokladu OP</xs:documentation>
                </xs:annotation>
            </xs:element>      
                 
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>  
    
    
    <xs:complexType name="OPZnehodnocenyType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Občanský průkaz - znehodnocené</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="OPCislo" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPCisloType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            
            <xs:element name="OPSerie" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Série OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPSerieType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>   
                     
            <xs:element name="DatumZnehodnoceni" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum znehodnocení a údaj o jeho ponechání nebo odevzdání</xs:documentation>
                </xs:annotation>
            </xs:element>
                
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>     
    
    
     <xs:complexType name="ZadostOPType">
        <xs:annotation>
            <xs:documentation>Žádost o OP - PDF nebo v textové podobě</xs:documentation>
        </xs:annotation>    
        <xs:sequence>
            <xs:element name="PDF" type="xs:base64Binary" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Žádost o OP - PDF soubor</xs:documentation>
                </xs:annotation>
            </xs:element>
                <xs:element name="Polozkova" type="OPZadostType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Žádost o OP v položkové podobě</xs:documentation>
                </xs:annotation>
            </xs:element>     
        </xs:sequence>           
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>     
    

    <xs:complexType name="OpatrovnikOPType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Opatrovník</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DNPMJmenovani" type="aisse:DatumSvepravnostOPType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum nabytí právní moci rozhodnutí o jmenování opatrovníkem</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="OPTyp" type="xs:short" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Typ opatrovníka 0/1 - právnická/fyzická osoba</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="OPPrijmeni" type="dt:Text100" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Název organizace/Příjmení opatrovníka</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="OPJmeno" type="dt:JmenoType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Jméno opatrovníka</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="OPDatumNarozeni" type="dt:DatumType" minOccurs="0"  nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum narození opatrovníka</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="OPAdresa" type="aisse:OpatrovnikZastupceAdresaType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Adresa opatrovníka</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="OPAifo" type="reg:LokalniAifoType" minOccurs="0"/>

            <xs:element name="OPICO" type="dt:Text32" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">IČO opatrovníka</xs:documentation>
                </xs:annotation>
            </xs:element>

        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>
    

    <xs:complexType name="DatovaSchrankaOPType">
        <xs:annotation>
            <xs:documentation>Typ datové schránky a identifikátor datové schránky</xs:documentation>
        </xs:annotation>    
        <xs:sequence>
            <xs:element name="Typ" type="dt:Text50" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Typ datové schránky</xs:documentation>
                </xs:annotation>
            </xs:element>
                <xs:element name="Identifikator" type="dt:Text20" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Identifikátor datové schránky</xs:documentation>
                </xs:annotation>
            </xs:element>            
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>    
    
    
    <xs:complexType name="Cip1OPType">
        <xs:annotation>
            <xs:documentation>Kontaktní elektronický čip OP č.1</xs:documentation>
        </xs:annotation>    
        <xs:sequence>
             <xs:element name="CisloCipu" type="dt:Text20" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo kontaktního elektronického čipu</xs:documentation>
                </xs:annotation>
            </xs:element>                          
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>   
    
    
    <xs:complexType name="Cip2OPType">
        <xs:annotation>
            <xs:documentation>Kontaktní elektronický čip OP č1</xs:documentation>
        </xs:annotation>    
        <xs:sequence>
             <xs:element name="CisloCipu" type="dt:Text20" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo kontaktního elektronického čipu</xs:documentation>
                </xs:annotation>
            </xs:element>      
                    
            <xs:element name="Hash" type="OPHash" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Hashe čipu</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="PKI" type="dt:Text128" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Data pro ověřování elektronického podpisu osoby, která vložila údaje do nosiče dat</xs:documentation>
                </xs:annotation>
            </xs:element>   
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>   
    
    
    <xs:complexType name="OPHash">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Hashe čipu OP
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Hash1" type="dt:Text128" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Hash Data Group 1
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Hash2" type="dt:Text128" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Hash Data Group 2
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Hash3" type="dt:Text128" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Hash Data Group 3
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HashCelkovy" type="dt:Text128" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Hash Data Celkový
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>         
                
    <xs:complexType name="PotvrzeniOPType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Informace o potvrzení o
                občanském průkazu
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CisloPotvrzeni" type="xs:string"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo potvrzení</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SeriePotvrzeni" type="dt:Text2" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Série potvrzení</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypPotvrzeniKod" type="dt:Text3" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Typ potvrzení - kód</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TypPotvrzeni" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Typ potvrzení</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostOd" type="dt:DatumType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Začátek platnosti potvrzení</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlatnostDo" type="dt:DatumType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Konec platnosti potvrzení</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UradTyp" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Typ úřadu, který potvrzení vydal. Text/zkratka</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UradKodRuian" type="xs:int" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Kód RUIAN úřadu, který potvrzení vydal</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UradNazev" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Úřad, který potvrzení vydal</xs:documentation>
                </xs:annotation>
            </xs:element>
            <!--xs:element name="OPCislo" type="dt:OPCisloType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OPSerie" type="dt:OPSerieType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Série OP</xs:documentation>
                </xs:annotation>
            </xs:element-->           
        </xs:sequence>
        <xs:attribute name="stav" type="aisse:StavType"/>
    </xs:complexType>
    
    <xs:complexType name="ElektronickaIdentifikaceType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Elektronická identifikace
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumCasIdent" type="dt:DatumCasType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum a čas elektronické identifikace držitele OP
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MistoIdent" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Místo elektronické identifikace držitele OP
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SubjektIdent" type="dt:Text100"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Subjekt, která provedla identifikaci
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>    
  
    
    <xs:complexType name="CertifikatType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Informace o aktivaci čipu OP</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AktivaceCip" type="dt:DatumCasType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum a čas aktivace čipu OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DeaktivaceCip" type="dt:DatumCasType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum a čas deaktivace čipu OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZablokovaniSZR" type="dt:DatumCasType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Datum a čas zablokování na SZR</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>      
  
          
    <xs:complexType name="OPZadostType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Žádost o občanský průkaz v položkové podobě</xs:documentation>
        </xs:annotation>
        <xs:sequence>

            <xs:element name="ZadostCislo" type="dt:OPZadostCisloType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo žádosti</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UdajeOsoby" type="aisse:UdajeOsobyZadostType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Osobní údaje žadatele o doklad
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="ZadostPodani" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Datum podání žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="MistoPodani" type="dt:MistoDoklType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Místo podání žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="TotoznostPrijeti" type="dt:TotoznostType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Ověření totožnosti při přijetí žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="TotoznostPrijetiTyp" type="dt:Text5"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Ověření totožnosti při přijetí žádosti - typ
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="ZadostPrijata" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Datum přijetí žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="MistoPrijeti" type="dt:MistoDoklType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Místo přijetí žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="DruhDokladu" type="dt:DruhOPType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Druh dokladu</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UradPrijal" type="aisse:UradType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Úřad, který žádost přijal
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UrednikPrijal" type="aisse:UrednikType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Úředník, který žádost přijal
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UradVydava" type="aisse:UradType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Úřad, který doklad vydává
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UradPredava" type="aisse:UradType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Úřad, který doklad předává
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="CisloDokladu" type="xs:int" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo dokladu</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="SerieDokladu" type="dt:OPSerieType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Série dokladu</xs:documentation>
                </xs:annotation>
            </xs:element>


            <xs:element name="DatumVydaniDokladu" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Datum vydání dokladu
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UradVydal" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Urad vydal</xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="UrednikVydal" type="aisse:UrednikType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Úředník, který vydal doklad
                    </xs:documentation>
                </xs:annotation>
            </xs:element>            
            

            <xs:element name="DokladPlatnostDo" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Platnost dokladu do
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="UredniZaznamy" type="dt:Text1000"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Úřední záznamy
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="MistoPrevzeti" type="dt:Text100"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Místo převzetí dokladu
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="DokladPrevzat" type="dt:DatumType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Datum převzetí dokladu
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="TypZadost" type="dt:Text100" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Typ žádosti</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="PuvodniZadost" type="dt:OPZadostCisloType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Původní žádost</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="ZadostZastupce" type="aisse:ZadostZastupceType"
                        minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Zástupce uvedený na žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="KomunikaceSOsobou" type="aisse:KomunikaceSOsobouType" nillable="true" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        Komunikace s osobou
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            
            <xs:element name="TotoznostPredani" type="dt:TotoznostType"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Ověření totožnosti při předání dokladu
                    </xs:documentation>
                </xs:annotation>
            </xs:element>            
            
            <xs:element name="TotoznostPredaniTyp" type="dt:Text5"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Ověření totožnosti při předání dokladu - typ
                    </xs:documentation>
                </xs:annotation>
            </xs:element>      
            
            <xs:element name="PoplatekPodani" type="dt:Text50"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Poplatek při podání žádosti
                    </xs:documentation>
                </xs:annotation>
            </xs:element>                    
                        
            <xs:element name="PoplatekPredani" type="dt:Text50"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>
                        Poplatek při předání dokladu
                    </xs:documentation>
                </xs:annotation>
            </xs:element>                    
                                                            
            <xs:element name="PoznamkaPredani" type="dt:Text500"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Poznámky při předání
                    </xs:documentation>
                </xs:annotation>
            </xs:element>            
        </xs:sequence>
    </xs:complexType>   


    <xs:complexType name="NeplatnyOPTyp">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Neplatný občanský průkaz
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="OPCislo" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Číslo OP</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="dt:OPCisloType">
                            <xs:attribute name="stav" type="aisse:StavType"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="OPSerie" type="dt:OPSerieType" minOccurs="0"
                        nillable="true">
                <xs:annotation>
                    <xs:documentation>Série OP</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="Ztrata" type="NeplatnyOPDatumType"
                            minOccurs="0" nillable="true">
                    <xs:annotation>
                        <xs:documentation xml:lang="cs">Datum ohlášení ztráty
                            občanského průkazu
                        </xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Odcizeni" type="NeplatnyOPDatumType"
                            minOccurs="0" nillable="true">
                    <xs:annotation>
                        <xs:documentation xml:lang="cs">Datum ohlášení
                            odcizení občanského průkazu
                        </xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Zniceni" type="NeplatnyOPDatumType"
                            minOccurs="0" nillable="true">
                    <xs:annotation>
                        <xs:documentation xml:lang="cs">Datum zničení občanského průkazu</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="UkonceniPlatnosti" type="NeplatnyOPDatumType"
                            minOccurs="0" nillable="true">
                    <xs:annotation>
                        <xs:documentation xml:lang="cs">Datum ukončení platnosti
                            občanského průkazu
                        </xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="StavDokladuKod" type="xs:string"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Důvod ukončení platnosti OP - kód
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StavDokladuText" type="xs:string"
                        minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation>Důvod ukončení platnosti OP</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>     
    
                                                
     <xs:complexType name="NeplatnyOPDatumType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Datum ztráty/odcizení/zničení nebo ukončení platnosti OP</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Datum" type="dt:DatumType" minOccurs="0" nillable="true">
                <xs:annotation>
                    <xs:documentation xml:lang="cs">Datum ukončení platnosti OP</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>                                                                                           
                                                                                                                                                                                    
 
     <xs:complexType name="PoskytnutiPodobaPoUmrtiType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Zákaz poskytnutí digitálního zpracování podoby po jeho úmrtí - Ano/Ne</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="dt:AnoNe">
                <xs:attribute name="stav" type="aisse:StavType"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>                                     
                         
        
                                 
 	<xs:complexType name="AisEopMediaCtiPodleUdaju2DataType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Služba umožňuje přijmout definovanou žádost na vyhledání osoby podle kombinace údajů.</xs:documentation>
		</xs:annotation>   
                  
            <xs:complexContent>
                <xs:extension base="AisEopCtiPodleUdaju2DataType">
                    <!--xs:sequence>
                        <xs:extension base="aisse:AisEopCtiPodleUdaju2DataType">

                        </xs:extension>
                    </xs:sequence--> 
                    <xs:sequence>

                        <xs:element name="KriteriaProFotky" minOccurs="0">
                           <xs:complexType>
                               <xs:sequence>
                                   <xs:element name="DatumOd" type="dt:DatumType" minOccurs="0"/>
                                   <xs:element name="DatumDo" type="dt:DatumType" minOccurs="0"/>
                                   <xs:element name="Pocet" type="xs:int" minOccurs="0" default="1"/>
                               </xs:sequence>
                           </xs:complexType>
                       </xs:element>

                       <xs:element name="KriteriaProPodpis" minOccurs="0">
                           <xs:complexType>
                               <xs:sequence>
                                   <xs:element name="DatumOd" type="dt:DatumType" minOccurs="0"/>
                                   <xs:element name="DatumDo" type="dt:DatumType" minOccurs="0"/>
                                   <xs:element name="Pocet" type="xs:int" minOccurs="0" default="1"/>
                               </xs:sequence>
                           </xs:complexType>
                       </xs:element>

                        <xs:element name="KriteriaProPodpisPrevzeti" minOccurs="0">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="DatumOd" type="dt:DatumType"
                                                minOccurs="0"/>
                                    <xs:element name="DatumDo" type="dt:DatumType"
                                                minOccurs="0"/>
                                    <xs:element name="Pocet" type="xs:int" minOccurs="0"
                                                default="1"/>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>

                        <xs:element name="KlicProSifrovani" type="xs:base64Binary"/>  

                    </xs:sequence>                    
                    
                </xs:extension>

            </xs:complexContent>   
                                                                                                          
        </xs:complexType>                                   
                                 
                                                                                   
                                         
	<xs:complexType name="AisEopCtiPodleUdaju2DataType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Služba umožňuje přijmout definovanou žádost na vyhledání osoby podle kombinace údajů.</xs:documentation>
		</xs:annotation>
		
                <xs:sequence>
                     <xs:element name="RodneCislo" type="dt:RodneCisloType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Rodné číslo</xs:documentation>
                            </xs:annotation>
                    </xs:element>      

                    <xs:element name="DatumNarozeni" type="dt:DatumType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Datum narození.</xs:documentation>
                            </xs:annotation>
                    </xs:element>       

                    <xs:element name="Jmeno" type="dt:JmenoType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Jméno/Jména</xs:documentation>
                            </xs:annotation>
                    </xs:element>

                    <xs:element name="Prijmeni" type="dt:PrijmeniType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Příjmení</xs:documentation>
                            </xs:annotation>
                    </xs:element>         

                     <xs:element name="MistoNarozeni" type="aisse:MistoDotazType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Místo narození.</xs:documentation>
                            </xs:annotation>
                    </xs:element>                       

                    <xs:element name="AdresaTP" type="aisse:AdresniMistoDotazType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation>Adresa trvalého pobytu.</xs:documentation>
                            </xs:annotation>                            
                    </xs:element>                       

                     <xs:element name="OpCislo" type="OPCisloType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Číslo OP.</xs:documentation>
                            </xs:annotation>
                    </xs:element>     

                     <xs:element name="OpSerie" type="dt:OPSerieType" minOccurs="0" nillable="true">
                            <xs:annotation>
                                    <xs:documentation xml:lang="cs">Série OP.</xs:documentation>
                            </xs:annotation>
                    </xs:element>                                                                        

                </xs:sequence> 
                       
                <xs:attribute name="typPorovnani" type="rob:TypPorovnaniType">
                        <xs:annotation>
                                <xs:documentation>Výběr podle jména, příjmení nebo rodného příjmení nezávisle na diakritice.</xs:documentation>
                        </xs:annotation>
                </xs:attribute>
                <xs:attribute name="znepristupniLog" type="xs:boolean">
                        <xs:annotation>
                                <xs:documentation>Zápis do sledování dotazů - znepřístupnění záznamu</xs:documentation>
                        </xs:annotation>
                </xs:attribute>    
                <xs:attribute name="verzeSluzby" type="dt:Text2"/>
	</xs:complexType>                                                 
                                                         
           
     <xs:simpleType name="OPCisloType">
        <xs:annotation>
            <xs:documentation xml:lang="cs">Čislo OP</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:int"/>
    </xs:simpleType>                                                                                                                                             
                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                 
</xs:schema>







