﻿<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://data.gov.sk/doc/eform/00151866.DohodaOMeneAPriezvisku.sk/1.1" xmlns="http://data.gov.sk/doc/eform/00151866.DohodaOMeneAPriezvisku.sk/1.1">
    <xs:element name="DohodaOMeneAPriezviskuDietata" type="DohodaOMeneAPriezviskuDietataCType" >
        <xs:annotation>
            <xs:documentation>DohodaOMeneAPriezviskuDietata</xs:documentation>
        </xs:annotation>
    </xs:element>
    <xs:complexType name="DohodaOMeneAPriezviskuDietataCType">
        <xs:annotation>
            <xs:documentation>DohodaOMeneAPriezviskuDietata</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DatumVytvorenia" type="xsdDate">
                <xs:annotation>
                    <xs:documentation>DatumVytvorenia</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PrihlasenaOsoba" type="PrihlasenaOsobaCType" >
                <xs:annotation>
                    <xs:documentation>PrihlasenaOsoba</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DietaVDohode" type="DietaVDohodeCType" >
                <xs:annotation>
                    <xs:documentation>DietaVDohode</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DruhyRodic" type="DruhyRodicCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>DruhyRodic</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZiadostORodnyList" type="ZiadostORodnyListCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>ZiadostORodnyList</xs:documentation>
                </xs:annotation>
            </xs:element>
			<xs:element name="RejectApplication" type="xsdBoolean">
                <xs:annotation>
                    <xs:documentation>Nadobuda hodnotu true v pripade, ak druhy rodic zamieta navrh dohody o mene a priezvisku dietata.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PrihlasenaOsobaCType">
        <xs:annotation>
            <xs:documentation>PrihlasenaOsoba</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Otec" type="xsdLogickaHodnota">
            </xs:element>
            <xs:element name="Matka" type="xsdLogickaHodnota">
            </xs:element>
            <xs:element name="Birth" type="BirthCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaritalStatus" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>D.3.4 Zlozeny datovy prvok pouzivajuci udaje podla zakladnych ciselnikov.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PersonName" type="PersonNameCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
                </xs:annotation>
            </xs:element>
          <xs:element name="TelephoneAddress" type="TelephoneAddressCType" minOccurs="0" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>D.1.4 Zložený dátový prvok pre telefonický kontakt.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="ElectronicAddress" type="ElectronicAddressCType" minOccurs="0" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>D.1.5 Zložený dátový prvok pre elektronický kontakt.</xs:documentation>
            </xs:annotation>
          </xs:element>
            <xs:element name="ID" type="IDCType" minOccurs="1" maxOccurs="2" >
                <xs:annotation>
                    <xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory. </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="BirthCType">
        <xs:annotation>
            <xs:documentation>D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DateOfBirth" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.5.1 Obsahuje datum narodenia fyzickej osoby. Hodnoty: Podla formatu Date. Pravidla pouzitia: Datum narodenia ma byt skorsi ako datum umrtia, ak su zname obidva datumy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="YearOfBirth" type="xs:gYear" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.5.3 Obsahuje rok narodenia fyzickej osoby. Hodnoty: V tvare RRRR. Priklady pouzitia: 1991, 2014. Pouziva sa najma ak nie je mozne urcit uplny datum umrtia.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="YearAndMonthOfBirth" type="xs:gYearMonth" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.5.4 Obsahuje mesiac narodenia fyzickej osoby. Podla formatu gYearMonth. Hodnoty: V tvare RRRR-MM. Pouziva sa najma ak nie je mozne urcit uplny datum narodenia</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PlaceOfBirth" type="PhysicalAddressCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.1.5.2 Uvadza sa miesto narodenia v sulade s informaciou zapisanou na matrike pri narodeni. Je to zlozeny datovy prvok vytvoreny podla datoveho prvku D.1.3 "Fyzicka adresa", obsahujuci udaje o mieste narodenia. Hodnoty: Podradene prvky sa vyplnaju v sulade s pouzitymi udajmi. Pravidla pouzitia: Poradie podradenych prvkov je suladne s podradenym prvkami datoveho prvku D.1.3 "Fyzicka adresa".</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PhysicalAddressCType">
        <xs:annotation>
            <xs:documentation>D.1.3 Zlozeny datovy prvok pre oznacenie adresy organizacnej jednotky, spravidla sidla.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AddressLine" type="AddressLineType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.1 Informacia, ktora obsahuje nestrukturovanu adresu spojujucu viacere alebo blizsie nerozlisene udaje (katastralne uzemie, nazov hospodarskej usadlosti a podobne).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="BuildingNumber" type="BuildingNumberType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.8 Obsahuje nazov budovy alebo cislo domu.Poznamky: Moze obsahovat aj neciselne znaky, preto je definovany ako retazec.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PropertyRegistrationNumber" type="PropertyRegistrationNumberType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.9 Obsahuje supisne cislo budovy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StreetName" type="StreetNameType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.7 Obsahuje nazov ulice. Ak obec nema nazov ulice, udava sa tu nazov obce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="BuildingIndex" type="BuildingIndexType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.13 Tento prvok je identifikatorom adresy v informacnom systeme Registra adries a Registra obyvatelov. Poznamky: Od datumu ucinnosti osobitneho zakona upravujuceho register adries sa tento prvok naplna hodnotou Identifikator adresy podla tohto zakona, nakolko od tohto datumu sa na tento ucel pouziva novy udaj identifikator adresy. Povodne sa pouzival udaj index domu.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AddressType" type="AddressTypeCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.17 Zlozeny datovy prvok klasifikujuci ucel pouzitia fyzickej adresy a prislusny casovy rozsah.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Country" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.2 Zlozeny datovy prvok pre zakladny ciselnik,
obsahujuci udaje o state. Hodnoty: Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL000086 Krajina OSN.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Region" type="CodelistDataElementCType" minOccurs="0" maxOccurs="unbounded" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.3 Zlozeny datovy prvok pre zakladny ciselnik, ktory sluzi pre uvedenie federativneho statu, provincie, kraja a/alebo slachtickeho clenenia uzemia. V Slovenskej republike sa pouziva pre uvedenie samospravneho kraja. Vo vseobecnosti moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce. Vojenske adresy sa ukladaju viacnasobne (hierarchicky od najvyssieho po najnizsi region) - 1. region = armadny / letecky / namorny postovy urad, 2. region (dvojznakove oznacenie casti sveta ako AE - Europa, AA - obe Ameriky a podobne. V slovenskom prostredi sa uroven priestorovej klasifikacie NUTS 2 nepouziva, ale tento prvok moze byt pouzity ako pre uroven NUTS 3, tak pre uroven NUTS 2. V podradenych prvkoch sa uvadza textova informacia podla pouziteho atributu zakladneho ciselnika CL 000023 Samospravny kraj.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="County" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.4 Zlozeny datovy prvok pre zakladny ciselnik obsahujuci udaje o okrese ako uzemnospravnom cleneni. V podradenych prvkoch sa uvadza textova informacia podla pouziteho atributu zakladneho ciselnika CL000024 Lokalna statisticka uzemna jednotka 1 - okres.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Municipality" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.5 Zlozeny datovy prvok pre zakladny ciselnik obsahujuci udaje o obci. Obcou je uzemnospravna jednotka charakterizovana suvislym domovym osidlenim a vlastnym nazvom. Obcou je aj mesto. V podradenych prvkoch sa uvadza textova informacia podla pouziteho atributu zakladneho ciselnika CL000025 Lokalna statisticka uzemna jednotka 2 - obec.&lt;/</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DeliveryAddress" type="DeliveryAddressCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>D.1.3.14 Zlozeny datovy prvok presnejsie urcujuci adresu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AddressTypeCType">
        <xs:annotation>
            <xs:documentation>D.1.3.17 Zlozeny datovy prvok klasifikujuci ucel pouzitia fyzickej adresy a prislusny casovy rozsah.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="AddressRecordDate" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.17.2 Datum, odkedy je prislusna konkretna adresa
v oficialnej evidencii. Pravidla pouzitia: Musi byt skorsi ako datum
ukoncenia evidencie adresy, ak je tento znamy. Poznamky: Uvadza sa vo vztahu k evidencii v relevantnej evidencii resp. registri, napriklad pri prihlaseni sa na pobyt.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AddressRecordDateTermination" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.3.17.3 Datum, kedy bola evidencia prislusnej konkretnej adresy v oficialnej evidencii ukoncena. Pravidla pouzitia: Musi byt neskorsi ako datum evidencie adresy, ak je tento znamy. Poznamky: Uvadza sa vo vztahu k evidencii v relevantnej evidencii resp. registri, napriklad pri prihlaseni sa na pobyt. Pri prechodnom pobyte moze znamenat aj predpokladane ukoncenie pobytu.
</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AddressClass" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.3.17.1 Zlozeny datovy prvok pre zakladny ciselnik urcujuci druh adresy. Hodnoty: Vyplna sa v sulade so zakladnym ciselnikom CL010139 Druh adresy. Poznamky: Podla uvedeneho je mozne urcit, ci sa adresa pouziva ako sidlo, miesto trvaleho pobytu, prevadzkaren a podobne.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CodelistDataElementCType">
        <xs:annotation>
            <xs:documentation>D.3.4 Zlozeny datovy prvok pouzivajuci udaje podla zakladnych ciselnikov.</xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="NonCodelistData" type="NonCodelistDataType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.3.4.1 Obsahuje volnu neciselnikovu hodnotu. Pravidla pouzitia: Pouziva sa ak hodnotu nie je mozne najst v ciselniku, pricom vtedy je povinny.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Codelist" type="CodelistCType" minOccurs="0" maxOccurs="1" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.5 Zlozeny datovy prvok, ktory obsahuje polozku zo zakladneho ciselnika.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="CodelistCType">
        <xs:annotation>
            <xs:documentation>D.5 Zlozeny datovy prvok, ktory obsahuje polozku zo zakladneho ciselnika.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CodelistCode" type="CodelistCodeType">
                <xs:annotation>
                    <xs:documentation>D.5.1 Jedinecny kod zakladneho ciselnika</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CodelistItem" type="CodelistItemCType" >
                <xs:annotation>
                    <xs:documentation>D.5.9 Zlozeny datovy prvok na popis datovej struktury polozky ciselnika. Pravidla pouzitia: Moze byt pouzity viackrat. Ciselnik musi obsahovat najmenej jednu polozku ciselnika.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CodelistItemCType">
        <xs:annotation>
            <xs:documentation>D.5.9 Zlozeny datovy prvok na popis datovej struktury polozky ciselnika. Pravidla pouzitia: Moze byt pouzity viackrat. Ciselnik musi obsahovat najmenej jednu polozku ciselnika.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ItemCode" type="ItemCodeType">
                <xs:annotation>
                    <xs:documentation>D.5.9.1 Jedinecny kod polozky</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ItemName" type="ItemNameType">
                <xs:annotation>
                    <xs:documentation>D.5.9.2 Uplny nazov plozky. Hodnoty: Nema predpisany obsah. Na umoznenie spracovania problematickych hodnot sa poskytuje polozka s nazvom "Ine" a podobne, pricom sa spravidla prislusnou obsluznou aplikaciou poskytuje moznost volne vyplnatelneho datoveho pola. </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DeliveryAddressCType">
        <xs:annotation>
            <xs:documentation>D.1.3.14 Zlozeny datovy prvok presnejsie urcujuci adresu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PostalCode" type="PostalCodeType">
                <xs:annotation>
                    <xs:documentation>D.1.3.14.1 Obsahuje kod, ktory ustanovili postove autority za
ucelom dorucovania posty.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Recipient" type="RecipientCType" >
                <xs:annotation>
                    <xs:documentation>D.1.3.14.3 Zlozeny datovy prvok pre identifikaciu prijemcu.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RecipientCType">
        <xs:annotation>
            <xs:documentation>D.1.3.14.3 Zlozeny datovy prvok pre identifikaciu prijemcu.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PersonName" type="PersonNameCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PersonNameCType">
        <xs:annotation>
            <xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="FormattedName" type="FormattedNameType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.1.1 Formatovane meno vratane predpony a pripony.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LegalName" type="LegalNameType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.1.2 Pouziva sa na pravne ucely v niektorych statoch. Pravidla pouzitia: Pre podmienky Slovenskej republiky sa nepouziva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="GivenName" type="GivenNameType" minOccurs="0" maxOccurs="unbounded" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.1.3 Obsahuje rodne meno, ktorym je nededena cast mena osoby. Zname aj ako prve meno osoby alebo v uzsom vyzname krstne meno osoby. Pravidla pouzitia: Moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PreferredGivenName" type="PreferredGivenNameType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.1.4 Meno, ktore osoba uprednostnuje pri svojom osloveni v pripade viacerych rodnych mien. Pravidla pouzitia: Toto meno je
spravidla oblubene meno, vybranez rodnych mien. Ak by to mala byt prezyvka, pouziva sa prvok Alternativne meno (D.1.1.2).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OtherName" type="OtherNameType" minOccurs="0" maxOccurs="1" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.1.1.5 Obsahuje stredne meno osoby alebo inicialy. Pravidla pouzitia: Pre podmienky Slovenskej republiky sa nepouziva.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FamilyName" type="FamilyNameCType" minOccurs="0" maxOccurs="unbounded" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.1.1.6 Obsahuje priezvisko. Moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="GivenFamilyName" type="GivenFamilyNameCType" minOccurs="0" maxOccurs="unbounded" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.1.1.7 Obsahuje rodne priezvisko. Moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Affix" type="AffixCType" minOccurs="0" maxOccurs="unbounded" nillable="true" >
                <xs:annotation>
                    <xs:documentation>D.1.1.1.8 Zlozeny datovy prvok pre zakladny ciselnik, ktory obsahuje ostatne casti mena osoby (predponu alebo priponu), tak ako ju definuju jednotlive typy atributov. Hodnoty: V pripade uvadzania slovenskych akademickych titulov sa v podradenych prvkoch pouzivaju zakladne ciselniky CL000062 Titul pred menom a CL000063 Titul za menom. Moze byt pouzity  viackrat (ani pouzitie rovnakeho typu nie je obmedzene), v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FamilyNameCType">
        <xs:annotation>
            <xs:documentation>D.1.1.1.6 Obsahuje priezvisko. Moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Hodnota" type="FamilyNameType">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="primary" type="PrimaryType" use="required">
            <xs:annotation>
                <xs:documentation>Hodnoty: primary="true" Znamena, ze tento vyskyt priezviska je primarny. Odporuca sa uvadzat ako prve v poradi pouzitych  priezvisk. primary="false" Znamena, ze tento vyskyt sa nepovazuje za primarny. Odporuca sa uvadzat az po primarnom vyskyte priezviska. Poradie priezvisk s atributom "false" je urcujuce. primary="undefined" Znamena, ze sa nepouzivaju viacere priezviska, pripadne v ich viacnasobnom pouziti s tymto atributom je urcujuce iba ich poradie pouzitia.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="prefix" type="PrefixType" use="optional">
            <xs:annotation>
                <xs:documentation>Moze obsahovat slachticky alebo ekvivalentny titul. Ak existuje v priezvisku, vzdy sa uvadza. Hodnoty: Priklady pouzitia: de (ako v "de Witt"), la (ako v "la Salle"); van (ako v "van der Voss"). RFO nevyuziva tento atribut.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="GivenFamilyNameCType">
        <xs:annotation>
            <xs:documentation>D.1.1.1.7 Obsahuje rodne priezvisko. Moze byt pouzity viackrat, v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Hodnota" type="GivenFamilyNameType">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="primary" type="PrimaryType" use="required">
            <xs:annotation>
                <xs:documentation>Hodnoty: primary="true" Znamena, ze tento vyskyt rodneho priezviska je primarny. Odporuca sa uvadzat ako prve v poradi pouzitych rodnych priezvisk. primary="false" Znamena, ze tento vyskyt sa nepovazuje za primarny. Odporuca sa uvadzat az po primarnom vyskyte rodneho priezviska. Poradie rodnych priezvisk s atributom "false" je urcujuce. primary="undefined" Znamena, ze sa nepouzivaju viacere rodne priezviska, pripadne v ich viacnasobnom pouziti s tymto atributom je urcujuce iba ich poradie pouzitia.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="prefix" type="PrefixType" use="optional">
            <xs:annotation>
                <xs:documentation>Moze obsahovat slachticky alebo ekvivalentny titul. Ak existuje v rodnom priezvisku, vzdy sa uvadza. Hodnoty: Priklady pouzitia: de (ako v "de Witt"), la (ako v "la Salle"); van (ako v "van der Voss"). RFO nevyuziva tento atribut.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="AffixCType">
        <xs:annotation>
            <xs:documentation>D.1.1.1.8 Zlozeny datovy prvok pre zakladny ciselnik, ktory obsahuje ostatne casti mena osoby (predponu alebo priponu), tak ako ju definuju jednotlive typy atributov. Hodnoty: V pripade uvadzania slovenskych akademickych titulov sa v podradenych prvkoch pouzivaju zakladne ciselniky CL000062 Titul pred menom a CL000063 Titul za menom. Moze byt pouzity  viackrat (ani pouzitie rovnakeho typu nie je obmedzene), v takom pripade je poradie pouzitia urcujuce.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="CodelistDataElementCType">
                <xs:sequence>
                </xs:sequence>
                <xs:attribute name="type" type="TypeOfAffixType" use="required">
                    <xs:annotation>
                        <xs:documentation>Definuje kontext predpony alebo pripony. Hodnoty: type=aristocraticTitle Uvadza sa, ak hodnota Affix obsahuje slachticky titul. Priklady pouzitia: Baron, Graf, Earl, Vojvoda a podobne. type=formOfAddress Uvadza sa, ak hodnota Affix obsahuje oslovenie. Priklady pouzitia: Pan, Pani., Hon., Dr., Major a podobne. type=generation Uvadza sa, ak hodnota Affix obsahuje generacny titul. Priklady pouzitia: Sr., Jr., III (treti) a podobne. type=qualification Uvadza sa, ak hodnota Affix obsahuje pismena, ktore sa pouzivaju na popis akademickeho titulu alebo ineho typu kvalifikacie, ktore osobe prinalezi. RFO podporuje iba type=qualification.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="position" type="PositionType" use="required">
                    <xs:annotation>
                        <xs:documentation>Urcuje poziciu ostatnej casti mena. Hodnoty: prefix - Predpona - ak sa titul alebo oslovenie uvadza pred menom osoby.  postfix - Pripona - ak sa titul alebo oslovenie uvadza za menom osoby.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
  <xs:complexType name="TelephoneAddressCType">
    <xs:annotation>
      <xs:documentation>D.1.4 Zlozeny datovy prvok pre telefonicky kontakt.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Number" type="NumberCType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>D.1.4.2 Zlozeny datovy prvok pre strukturovane telefonne cislo.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NumberCType">
    <xs:annotation>
      <xs:documentation>D.1.4.2 Zlozeny datovy prvok pre strukturovane telefonne cislo.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FormattedNumber" type="FormattedNumberType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>D.1.4.2.1 Obsahuje reprezentaciu telekomunikacneho ciselneho retazca.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ElectronicAddressCType">
    <xs:annotation>
      <xs:documentation>D.1.5 Zlozeny datovy prvok pre elektronicky kontakt.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="InternetAddress" type="InternetAddressType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>D.1.5.1 Uvadza sa kontakt pre rozne typy elektronickych adries v prostredi internetu.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IDCType">
        <xs:annotation>
            <xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory. </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="IdentifierValue" type="IdentifierValueType" nillable="true">
                <xs:annotation>
                    <xs:documentation>D.1.6.2 Obsahuje samotnu hodnotu pouziteho identifikatora.Pravidla pouzitia: Uvadza sa vo dvojici s Typom identifikatora. Je mozne viacnasobne pouzitie, pricom kazdy typ sa spravidla pouziva prave raz.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IdentifierType" type="CodelistDataElementCType" >
                <xs:annotation>
                    <xs:documentation>D.1.6.1 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o type pouziteho identifikatora. Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL004001 Identifikator. Pravidla pouzitia: Uvadza sa vo dvojici s Hodnotou identifikatora. Je mozne viacnasobne pouzitie, pricom kazdy typ je mozne pouzit prave raz.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DietaVDohodeCType">
        <xs:annotation>
            <xs:documentation>DietaVDohode</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CasovePoradie" type="xsdZnak" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>CasovePoradie</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ZapisPriezviskaBezPrechylovania" type="xsdLogickaHodnota" minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="Sex" type="CodelistDataElementCType" >
                <xs:annotation>
                    <xs:documentation>D.3.4 Zlozeny datovy prvok pouzivajuci udaje podla zakladnych ciselnikov.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PersonName" type="PersonNameCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Birth" type="BirthCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ID" type="IDCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory. </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DruhyRodicCType">
        <xs:annotation>
            <xs:documentation>DruhyRodic</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Otec" type="xsdLogickaHodnota">
            </xs:element>
            <xs:element name="Matka" type="xsdLogickaHodnota">
            </xs:element>
            <xs:element name="Notifikovany" type="xsdLogickaHodnota" minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="PersonName" type="PersonNameCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Birth" type="BirthCType" >
                <xs:annotation>
                    <xs:documentation>D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ID" type="IDCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory. </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ZiadostORodnyListCType">
        <xs:annotation>
            <xs:documentation>ZiadostORodnyList</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ZiadamOZaslanie" type="xsdLogickaHodnota">
                <xs:annotation>
                    <xs:documentation>ZiadamOZaslanie</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdresaDoruceniaRodnehoListu" type="PhysicalAddressCType" minOccurs="0" maxOccurs="1" >
                <xs:annotation>
                    <xs:documentation>D.1.3 Zlozeny datovy prvok pre oznacenie adresy organizacnej jednotky, spravidla sidla.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
  <xs:simpleType name="xsdDate">
        <xs:restriction base="xs:date">
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="xsdLogickaHodnota">
        <xs:restriction base="xs:boolean">
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AddressLineType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="2047"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="BuildingNumberType">
        <xs:restriction base="xs:string">
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PropertyRegistrationNumberType">
        <xs:restriction base="xs:int">
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="StreetNameType">
        <xs:restriction base="xs:string">
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="BuildingIndexType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="10"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NonCodelistDataType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="2047"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="CodelistCodeType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ItemCodeType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ItemNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="2047"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PostalCodeType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="10"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="FormattedNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="1023"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="LegalNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="1023"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="GivenNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PreferredGivenNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="OtherNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="FamilyNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PrimaryType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PrefixType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="GivenFamilyNameType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TypeOfAffixType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PositionType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="20"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IdentifierValueType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="50"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="xsdZnak">
        <xs:restriction base="xs:string">
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="xsdStr255">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
  <xs:simpleType name="FormattedNumberType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="20" />
      <xs:pattern value="(\+|%2b|00)[0-9 ]+" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="InternetAddressType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="255"/>
      <xs:pattern value="[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="xsdBoolean">
        <xs:restriction base="xs:boolean">
        </xs:restriction>
    </xs:simpleType>
</xs:schema>