<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://data.gov.sk/doc/eform/00151866.ElektronickyUmrtnyList.sk/1.1" xmlns:msg="http://data.gov.sk/doc/eform/00151866.ElektronickyUmrtnyList.sk/1.1" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#">
	<xs:element name="Death_Certificate">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="RegistryEntry" type="msg:RegistryEntryCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Údaje matričného úradu.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="PersonDeath" type="msg:PersonDataCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Udaje o osobe pre ktorú je vydávaný úmrtný list.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="RegistryEntryCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre rozne informacie týkajúce sa matričného úradu a úmrtneho listu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Identifier" type="msg:xsdNumberStr50" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Registratúrne číslo.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Publisher" type="msg:PublisherCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">V knihe úmrtí matričného úradu.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Creator" type="msg:CreatorCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Meno a priezvisko pracovníka matriky, ktorý vydal úmrtny list.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Issued" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Dátum vydania úmrtného listu.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Spatial" type="msg:PlaceCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Udaje o mieste vydania umrtneho listu.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Note" type="msg:xsdStr255" minOccurs="0" maxOccurs="20" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Doplňujúce záznamy ku zápisu úmrtia.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CreatorCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre informácie o pracovníkovi matriky, ktorý vydal rodný list.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PersonName" type="msg:PersonNameCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.1 Zlozeny datovy prvok pre rozne sucasti mena.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Role" type="msg:RoleType" minOccurs="0" maxOccurs="2">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Funkcia pracovnika matriky.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PublisherCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre informácie o zápise úmrtneho listu v knihe úmrtí.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RegistryOffice" type="msg:CodelistDataElementCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Matričný úrad zapisujúci úmrtie</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BundleNumber" type="msg:xsdNumberStr50">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Zväzok matričnej knihy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BundleYear" type="msg:xsdNumberStr50">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Ročník matričnej knihy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PageNumber" type="msg:xsdNumberStr50">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Strana matričnej knihy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SequenceNumber" type="msg:xsdNumberStr50">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Poradové číslo v rámci matričnej knihy.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PersonDataCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1 Zlozeny datovy prvok pre rozne informacie o osobe</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:sequence minOccurs="1">
				<xs:element name="PhysicalPerson" type="msg:PhysicalPersonCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">D.1.1 Zlozeny datovy prvok pre popis fyzickej osoby.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:element name="PermanentResidence" type="msg:PhysicalAddressCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3 Zložený dátový prvok pre určenie adresy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BirthNumber" type="msg:SlovakBirthNumberType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Rodné číslo.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PhysicalPersonCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PersonName" type="msg:PersonNameCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.1 Zlozeny datovy prvok pre rozne sucasti mena.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Birth" type="msg:BirthCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Death" type="msg:DeathCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Zlozeny datovy prvok obsahujuci udaje o umrti.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sex" type="msg:SexCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Pohlavie evidovane.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PersonNameCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="FormattedName" type="msg:FormattedNameType" minOccurs="0" maxOccurs="2" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.1.1 Formatovane meno vratane predpony a pripony.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GivenName" type="msg:GivenNameType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="FamilyName" type="msg:FamilyNameCType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:GivenFamilyNameCType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:AffixCType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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 xml:lang="sk">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="Value" type="msg:FamilyNameType" minOccurs="1" maxOccurs="2">
            </xs:element>
		</xs:sequence>
		<xs:attribute name="primary" type="msg:PrimaryType" use="required">
			<xs:annotation>
				<xs:documentation xml:lang="sk">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="msg:PrefixType" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="sk">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").</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="GivenFamilyNameCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">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="Value" type="msg:GivenFamilyNameType" minOccurs="1" maxOccurs="2">
            </xs:element>
		</xs:sequence>
		<xs:attribute name="primary" type="msg:PrimaryType" use="required">
			<xs:annotation>
				<xs:documentation xml:lang="sk">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="msg:PrefixType" use="optional">
			<xs:annotation>
				<xs:documentation xml:lang="sk">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").</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="AffixCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">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="msg:CodelistDataElementCType">
				<xs:attribute name="type" type="msg:TypeOfAffixType" use="required">
					<xs:annotation>
						<xs:documentation xml:lang="sk">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.</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="position" type="msg:PositionType" use="required">
					<xs:annotation>
						<xs:documentation xml:lang="sk">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="CodelistDataElementCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.3.4 Zlozeny datovy prvok pouzivajuci udaje podla zakladnych ciselnikov.</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="NonCodelistData" type="msg:NonCodelistDataType" minOccurs="0" maxOccurs="2" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:CodelistCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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 xml:lang="sk">D.5 Zlozeny datovy prvok, ktory obsahuje polozku zo zakladneho ciselnika.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CodelistCode" type="msg:CodelistCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.5.1 Jedinecny kod zakladneho ciselnika</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReferenceIdentifier" type="msg:CodelistReferenceIdentifierType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.5.9 Zlozeny datovy prvok, identifikator METAIS ciselnika.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CodelistItem" type="msg:CodelistItemCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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 xml:lang="sk">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="msg:ItemCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.5.9.1 Jedinecny kod polozky</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ReferenceIdentifier" type="msg:CodelistItemReferenceIdentifierType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.5.9.1 Identifikator polozky METAIS ciselnika.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ItemName" type="msg:ItemNameType" minOccurs="1" maxOccurs="2">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="BirthCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DateOfBirth" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="Age" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Vek osoby ak nepoznáme presný dátum narodenia.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="YearOfBirth" type="xs:gYear" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:PlaceCType" >
				<xs:annotation>
					<xs:documentation xml:lang="sk">Miesto narodenia.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeathCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok obsahujuci udaje o umrti.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DateOfDeath" type="xs:date">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.6.1 Datovy prvok pre prenos datumu umrtia fyzickej osoby, ak nastala jej smrt. Hodnoty: Podla formatu Date. Pravidla pouzitia: Datum nema byt skorsi ako datum umrtia osoby, ak su zname obidva datumy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DateOfDeathText" type="msg:DateOfDeathText" minOccurs="0" maxOccurs="2">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Obsahuje datum umrtia fyzickej osoby v textovej podobe.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PlaceOfDeath" type="msg:PlaceCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Miesto umrtia</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PlaceCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre oznacenie adresy organizacnej jednotky, spravidla sidla.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Municipality" type="msg:CodelistDataElementCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="County" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="Country" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:sequence>
	</xs:complexType>
	<xs:complexType name="PhysicalAddressCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.3 Zlozeny datovy prvok pre oznacenie adresy organizacnej jednotky, spravidla sidla.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="BuildingNumber" type="msg:BuildingNumberType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:PropertyRegistrationNumberType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3.9 Obsahuje supisne cislo budovy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StreetName" type="msg:StreetNameType" minOccurs="0" maxOccurs="2" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="PostOfficeBox" type="msg:POBOXType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Postovy priecinok.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostalCode" type="msg:PostalCodeType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Obsahuje kod, ktory ustanovili postove autority za ucelom dorucovania posty.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="District" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3.6 Zlozeny datovy prvok pre zakladny ciselnik obsahujuci casti obce. Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL010141 Cast obce.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BuildingIndex" type="msg:BuildingIndexType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>D.1.3.13 Tento prvok je identifikatorom adresy v informacnom systeme Registra adries a Registra obyvatelov.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FormattedAddress" type="msg:FormattedAddressType" minOccurs="0" maxOccurs="2">
				<xs:annotation>
					<xs:documentation>Pobyt mimo uzemia SR, nestrukturovana adresa.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SexCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Pohlavie evidovane.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Sex" type="msg:CodelistDataElementCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.4 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o pohlavi fyzickej osoby. Hodnoty: Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL003003 Pohlavie. Ak ide o ciselnikovu polozku, tak musi byt vyplnene: Sex/Codelist/CodelistCode=CL003003</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GivenNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="255"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="FamilyNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="255"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<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:complexType name="GivenFamilyNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="255"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<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:complexType name="NonCodelistDataType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="2047"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<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:complexType name="ItemNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="2047"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="POBOXType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="50"/>
		</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="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:complexType name="StreetNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:maxLength value="100"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="SlovakBirthNumberType">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{6}/\d{3,4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="xsdStr255">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="255"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="xsdNumberStr50">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="50"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodelistReferenceIdentifierType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodelistItemReferenceIdentifierType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="FormattedNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="1023"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="DateOfDeathText">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="1023"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="RoleType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="1023"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="BuildingIndexType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="FormattedAddressType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="1023"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="BaseStringWithLang">
		<xs:simpleContent>
			<xs:extension base="xs:string">
				<xs:attribute name="lang" type="xs:language" use="optional"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
</xs:schema>