<?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.ZiadostOUzatvorenieManzelstva.sk/1.0" xmlns:msg="http://data.gov.sk/doc/eform/00151866.ZiadostOUzatvorenieManzelstva.sk/1.0" 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="ZiadostOUzatvorenieManzelstva">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="CreatedDate" type="xs:date">
					<xs:annotation>
						<xs:documentation xml:lang="sk">DatumVytvorenia</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Applicant" type="msg:PersonDataCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Udaje fyzickej osoby ziadatela.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="GroomBride" type="msg:PersonDataCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Udaje fyzickej osoby snubenca/snubenice.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MarriageCeremonyType" type="msg:xsdStr255">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Cirkevny sobas, Civilny sobas.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="MunicipalityOfCeremony" type="msg:CodelistDataElementCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Obec miesta sobasa. 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="CivilCeremony" type="msg:CivilCeremonyCType" minOccurs="0" maxOccurs="1">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie civilneho sobasa.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SurnamesAfterMarriage" type="msg:SurnamesAfterMarriageCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie muzskeho a zenskeho tvaru spolocneho priezviska manzelov.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="SurnamesOfChildren" type="msg:SurnamesOfChildrenCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie muzskeho a zenskeho tvaru spolocneho priezviska deti.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="CommonChildren" type="msg:CommonChildrenCType"  minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie spolocnych deti snúbencov.</xs:documentation>
					</xs:annotation>
				</xs:element>	
				<xs:element name="BridesChildrenWithoutFather" type="msg:BridesChildrenWithoutFatherCType"  minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie deti nevesty ktorych otec nie je znamy.</xs:documentation>
					</xs:annotation>
				</xs:element>				
				<xs:element name="ReceiveMarriageCertificate" type="msg:ReceiveMarriageCertificateCType">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Prevzatie sobasneho listu</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="RejectApplicationProposal" type="xs:boolean"  minOccurs="0" maxOccurs="1">
					<xs:annotation>
						<xs:documentation xml:lang="sk">Nadobuda hodnotu true v pripade, ak druhy zo snubencov zamieta navrh ziadosti o uzatvorenie manzelstva.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<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" minOccurs="0" maxOccurs="1">
					<xs:annotation>
						<xs:documentation xml:lang="sk">D.1.1 Zlozeny datovy prvok pre popis fyzickej osoby.</xs:documentation>
						<xs:appinfo>
							<owl:ObjectProperty ID="PhysicalPerson">
								<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/physicalPerson"/>
							</owl:ObjectProperty>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
			<xs:element name="PhysicalAddress" type="msg:PhysicalAddressCType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3 Zložený dátový prvok pre určenie adresy.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="PhysicalAddress">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/physicalAddress"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="TelephoneAddress" type="msg:TelephoneAddressCType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.4 Zložený dátový prvok pre telefonický kontakt.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ElectronicAddress" type="msg:ElectronicAddressCType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.5 Zložený dátový prvok pre elektronický kontakt.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ID" type="msg:IDCType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.6 Zložený dátový prvok pre rôzne identifikátory.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Father" type="msg:PhysicalPersonCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Meno a priezvisko otca</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Mother" type="msg:PhysicalPersonCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Meno a priezvisko matky</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NumericalOrderOfMarriage" type="xs:int" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Kolke manzelstvo uzatvarate?</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Education" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Najvyssie dosiahnute vzdelanie</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Attachment" type="msg:AttachmentCType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Zložený dátový prvok pre prilohy ziadosti.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AttachmentCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prvok obsahujuci udaje o prilohach ziadosti</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Name" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Nazov prilohy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Description" type="msg:xsdStr255" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Popis prilohy.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IDDMS" type="msg:xsdStr255" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">ID DMS.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CivilCeremonyCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prvok obsahujuci udaje o civilnom sobasi</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CeremonyPlace" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Vyplna sa ak sobas sa uskutocni v sobasnej miestnosti obce. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CeremonyDate" type="msg:CeremonyDateCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Termin sobasa. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CeremonyDateCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prvok obsahujuci udaje o termine sobasa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Start" type="xs:dateTime">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Datum a cas zaciatku sobasa. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="End" type="xs:dateTime" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Datum a cas ukoncenia sobasa. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CeremonyDateFromBookingSystem" type="xs:boolean">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Termin sobasa je z rezervacneho systemu. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="BridesChildrenWithoutFatherCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie deti nevesty ktorych otec nie je znamy</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Kid" type="msg:PhysicalPersonCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Dieta v dohode. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AgreementOnTheSurname" type="xs:boolean">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Dohoda o priezvisku  dietata. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
<xs:complexType name="CommonChildrenCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Zlozeny datovy prvok pre urcenie deti nevesty ktorych otec nie je znamy</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Kid" type="msg:PhysicalPersonCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Dieta v dohode. </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="AcknowledgementOfPaternity" type="xs:boolean">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Uznane otcovstvo spolocneho dietata. </xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SurnamesAfterMarriageCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prvok obsahujuci udaje o muzskom a zenskom tvare spolocneho priezviska</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MasculineForm" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Muzsky tvar priezviska snubencov.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FeminineForm" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Zensky tvar priezviska snubencov.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
<xs:complexType name="SurnamesOfChildrenCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prvok obsahujuci udaje o muzskom a zenskom tvare spolocneho priezviska deti</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MasculineForm" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Muzsky tvar priezviska deti.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FeminineForm" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Zensky tvar priezviska deti.</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:appinfo>
			<owl:Class ID="PhysicalPersonCType">
				<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/PhysicalPerson"/>
			</owl:Class>
			</xs:appinfo>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID" type="msg:IDCType" minOccurs="0" maxOccurs="unbounded" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.6 Zlozeny datovy prvok pre rozne identifikatory.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonName" type="msg:PersonNameCType" minOccurs="0" maxOccurs="1" nillable="true">
				<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="MaritalStatus" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.3 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o rodinnom stave osoby. Hodnoty Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL004002 Rodinny stav. Vyplna sa adekvatny tvar podla pohlavia. Stav"registrovane partnerstvo"sa uvadza iba tam, kde to umoznuje ucel pouzitia v zmysle platnej legislativy, inak sa v tomto pripade uvadza stav"nezistene".] </xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="MaritalStatus">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/maritalStatus"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sex" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.4 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o pohlavi osoby. Hodnoty: Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL003003 Pohlavie.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="Sex">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/sex"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="Birth">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/birth"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Citizenship" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.7 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o statnej prislusnosti. Hodnoty: Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL000086 Krajina OSN.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="Citizenship">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/citizenship"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Nationality" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.12 Zlozeny datovy prvok pre zakladny ciselnik, obsahujuci udaje o narodnosti. Hodnoty: Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL010131 Narodnost.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="Nationality">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/nationality"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.1.1 Formatovane meno vratane predpony a pripony.</xs:documentation>
					<xs:appinfo>
						<owl:DataProperty ID="FormattedName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/formattedName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="LegalName" type="msg:LegalNameType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1.1.2 Pouziva sa na pravne ucely v niektorych statoch. Pravidla pouzitia: Pre podmienky Slovenskej republiky sa nepouziva.</xs:documentation>
					<xs:appinfo>
						<owl:DataProperty ID="LegalName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/legalName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:DataProperty ID="GivenName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/givenName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="PreferredGivenName" type="msg:PreferredGivenNameType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:DataProperty ID="PreferredGivenName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/prefferedGivenName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="OtherName" type="msg:OtherNameType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Vsetky dalsie nadobudnute priezviska. </xs:documentation>
					<xs:appinfo>
						<owl:DataProperty ID="OtherName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/otherName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="FamilyName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/familyName"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="GivenFamilyName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/givenFamilyName"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="Affix">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/nameAffix"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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">
            </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"). RFO nevyuziva tento atribut.</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">
            </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"). RFO nevyuziva tento atribut.</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:appinfo>
				<owl:Class ID="AffixCType">
					<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/NameAffix"/>
				</owl:Class>
			</xs:appinfo>
		</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. RFO podporuje iba type=qualification.</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="1" 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">
				<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:appinfo>
				<owl:Class ID="BirthCType">
					<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/Birth"/>
				</owl:Class>
			</xs:appinfo>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DateOfBirth" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
				<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:appinfo>
						<owl:DataProperty ID="DateOfBirth">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/dateOfBirth"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="YearOfBirth" type="xs:gYear" minOccurs="0" maxOccurs="1" nillable="true">
				<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:appinfo>
						<owl:DataProperty ID="YearOfBirth">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/yearOfBirth"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="YearAndMonthOfBirth" type="xs:gYearMonth" minOccurs="0" maxOccurs="1" nillable="true">
				<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:appinfo>
						<owl:DataProperty ID="YearAndMonthOfBirth">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/yearAndMonthOfBirth"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="PlaceOfBirth" type="msg:PhysicalAddressCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:ObjectProperty ID="PlaceOfBirth">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/physical-person/placeOfBirth"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
				<owl:Class ID="PhysicalAddressCType">
					<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/PhysicalAddress"/>
				</owl:Class>
			</xs:appinfo>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="FormattedAddress" type="msg:FormattedAddressType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:DataProperty ID="FormattedAddress">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/formattedAddress"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="OrientationNumber" type="msg:OrientationNumberType" 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:appinfo>
						<owl:DataProperty ID="OrientationNumber">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/orientationNumber"/>
						</owl:DataProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:DataProperty ID="PropertyRegistrationNumber">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/propertyRegistrationNumber"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="StreetName" type="msg:StreetNameType" minOccurs="0" maxOccurs="1" 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:appinfo>
						<owl:DataProperty ID="StreetName">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/streetName"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="BuildingIndex" type="msg:BuildingIndexType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="Address" type="msg:AddressCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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="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:appinfo>
						<owl:ObjectProperty ID="Country">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/unCountry"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="Region">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/nuts3"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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:appinfo>
						<owl:ObjectProperty ID="County">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/lau1"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</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.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="Municipality">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/lau2"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostalAddress" type="msg:PostalAddressCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3.14 Zlozeny datovy prvok presnejsie urcujuci adresu.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="PostalAddress">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/postalAddress"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">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="AddressRecordCreated" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:DataProperty ID="AddressRecordCreated">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/addressRecordCreated"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressRecordTermination" type="xs:date" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:DataProperty ID="AddressRecordTermination">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/addressRecordTerminated"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="AddressType" type="msg:CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:ObjectProperty ID="AddressType">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/addressType"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PostalAddressCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.3.14 Zlozeny datovy prvok presnejsie urcujuci adresu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PostalCode" type="msg:PostalCodeType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3.14.1 Obsahuje kod, ktory ustanovili postove autority za ucelom dorucovania posty.</xs:documentation>
					<xs:appinfo>
						<owl:DataProperty ID="PostalCode">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/location/postCode"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="Recipient" type="msg:RecipientCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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 xml:lang="sk">D.1.3.14.3 Zlozeny datovy prvok pre identifikaciu prijemcu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PersonName" type="msg:PersonNameCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="IDCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.6 Zlozeny datovy prvok pre rozne identifikatory. </xs:documentation>
			<xs:appinfo>
				<owl:Class ID="IDCType">
					<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/identifier/Identifier"/>
				</owl:Class>
			</xs:appinfo>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="IdentifierValue" type="msg:IdentifierValueType" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:DataProperty ID="IdentifierValue">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/identifier/identifier"/>
						</owl:DataProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="IdentifierType" type="msg:CodelistDataElementCType">
				<xs:annotation>
					<xs:documentation xml:lang="sk">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:appinfo>
						<owl:ObjectProperty ID="IdentifierType">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/identifier/type"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ReceiveMarriageCertificateCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">Prevzatie sobasneho listu</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ReceiveType" type="msg:xsdStr255">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Sposob prevzatia sobasneho listu(Osobne na obrade,Osobne na matricnom urade,Dorucenie postou)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RegistryOffice" type="msg:xsdStr255" minOccurs="0" maxOccurs="1" nillable="true">
				<xs:annotation>
					<xs:documentation xml:lang="sk">Vyplna sa ak sposob prevzatia je  Osobne na matricnom urade</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Headquarters" type="msg:PhysicalAddressCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.3 Zlozeny datovy prvok pre oznacenie adresy organizacnej jednotky, spravidla sidla.</xs:documentation>
					<xs:appinfo>
						<owl:ObjectProperty ID="Headquarters">
							<skos:closeMatch rdf:resource="https://data.gov.sk/def/ontology/legal-subject/headquarters"/>
						</owl:ObjectProperty>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TelephoneAddressCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.4 Zložený dátový prvok pre telefonický kontakt.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TelephoneType" type="msg:CodelistDataElementCType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.4.1 Zložený dátový prvok pre základný číselník, obsahujúci údaje o type alebo kategórii telekomunikačného zariadenia.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Number" type="msg:NumberCType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.4.2 Zložený dátový prvok pre štruktúrované telefónne číslo.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NumberCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.4.2 Zložený dátový prvok pre štruktúrované telefónne číslo.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="FormattedNumber" type="msg:FormattedNumberType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.4.2.1 Obsahuje reprezentáciu telekomunikačného číselného reťazca.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ElectronicAddressCType">
		<xs:annotation>
			<xs:documentation xml:lang="sk">D.1.5 Zložený dátový prvok pre elektronický kontakt.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="InternetAddress" type="msg:InternetAddressType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="sk">D.1.5.1 Uvádza sa kontakt pre rôzne typy elektronických adries v prostredí internetu.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<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="LegalNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="1023"/>
			</xs:restriction>
		</xs:simpleContent>
	</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="PreferredGivenNameType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="255"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="OtherNameType">
		<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:complexType name="FormattedAddressType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="2047"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<xs:simpleType name="OrientationNumberType">
		<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="BuildingIndexType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</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:complexType name="IdentifierValueType">
		<xs:simpleContent>
			<xs:restriction base="msg:BaseStringWithLang">
				<xs:minLength value="1"/>
				<xs:maxLength value="50"/>
			</xs:restriction>
		</xs:simpleContent>
	</xs:complexType>
	<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="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: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="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>