﻿<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://data.gov.sk/doc/eform/00151866.ZiadostOVymenuTec.sk/1.1" targetNamespace="http://data.gov.sk/doc/eform/00151866.ZiadostOVymenuTec.sk/1.1" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="ZiadostOVymenuTec">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Vozidlo">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="EvidencneCislo" type="TECType"/>
							<xs:element name="VIN" type="VINType" nillable="true" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Ziadatel" type="PersonDataCType"/>
				<xs:element name="VydanieTabuliek" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Uvadza sa iba ak sa pozaduje vymena evidencneho cisla vozidla</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="StrataAleboOdcudzenie" minOccurs="0">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Strata" type="xs:boolean"/>
										<xs:element name="Odcudzenie" type="xs:boolean"/>
										<xs:element name="Predna" type="xs:boolean"/>
										<xs:element name="Zadna" type="xs:boolean"/>
										<xs:element name="ZadnaPlastova" type="xs:boolean"/>
										<xs:element name="NaNosicBicyklov" type="xs:boolean"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="SposobPridelenia" type="RetazecType"  nillable="true" minOccurs="0"/>
							<xs:element name="EvidencneCislo" type="TECType" nillable="true" minOccurs="0"/>
							<xs:element name="KodTabuliek" type="KodTECType" nillable="true" minOccurs="0"/>
							<xs:element name="PonechanieTecVDrzbe" type="xs:boolean" nillable="true" minOccurs="0"/>
							<xs:element name="NaNosic" type="xs:boolean" nillable="true" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="VydanieZasielky"  minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Expresne" type="xs:boolean" nillable="true" minOccurs="0"/>
							<xs:element name="AdresaDorucenia" type="PhysicalAddressCType"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="PersonDataCType">
		<xs:annotation>
			<xs:documentation>D.1 Zlozeny datovy prvok pre rozne informacie o osobe</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PhysicalPerson" type="PhysicalPersonCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>D.1.1 Zlozeny datovy prvok pre popis fyzickej osoby.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CorporateBody" type="CorporateBodyCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>D.1.2 Zlozeny datovy prvok pre popis pravnickej osoby alebo subjektu, ktory nie je pravnickou osobou ani fyzickou osobou v zmysle pravneho poriadku Slovenskej republiky.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PhysicalAddress" type="PhysicalAddressCType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>D.1.3 Zložený dátový prvok pre určenie adresy.</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:sequence>
	</xs:complexType>
	<xs:complexType name="PhysicalPersonCType">
		<xs:annotation>
			<xs:documentation>D.1.1 Zlozeny datovy prvok pre rozne informacie o osobe.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID" type="IDCType" minOccurs="0" maxOccurs="unbounded" nillable="true" >
				<xs:annotation>
					<xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PersonName" type="PersonNameCType" minOccurs="0" maxOccurs="1" nillable="true" >
				<xs:annotation>
					<xs:documentation>D.1.1.1 Zlozeny datovy prvok pre rozne sucasti mena.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sex" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
				<xs:annotation>
					<xs:documentation>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:annotation>
			</xs:element>
			<xs:element name="Birth" type="BirthCType" minOccurs="0" maxOccurs="1" nillable="true" >
				<xs:annotation>
					<xs:documentation>D.1.1.5 Zlozeny datovy prvok obsahujuci udaje o narodeni.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Citizenship" type="CodelistDataElementCType" minOccurs="0" maxOccurs="1" nillable="true" >
				<xs:annotation>
					<xs:documentation>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: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="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:element name="IdentifierValue" type="IdentifierValueType">
				<xs:annotation>
					<xs:documentation>D.1.6.2 Obsahuje samotnu hodnotu pouziteho identifikatora.Pravidla pouzitia: Uvadza sa vo dvojici s Typom identifikatora. Moze byt pouzity viackrat, pricom pre kazdy typ identifikatora sa moze pouzit prave raz.</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">
				<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">
				<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. Priklady pouzitia: Slobodny, Zenaty, Iny stav, Spolocnost s rucenim obmedzenym, Riadiaci vybor exekutivneho organu. Pravidla pouzitia: Kazda jazykova verzia sa k prislusnemu datumu ucinnosti pouziva iba raz, pricom atribut "language" sluzi na urcenie jazyka, v ktorom je polozka vytvorena.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PersonNameCType">
		<xs:annotation>
			<xs:documentation>D.1.1.1 Zlozeny datovy prvok pre rozne sucasti mena.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<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="FamilyName" type="FamilyNameSCType" 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="GivenFamilyNameSCType" 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="FamilyNameSCType">
		<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:simpleContent>
			<xs:extension base="FamilyNameType" >
				<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").</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="GivenFamilyNameSCType">
		<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:simpleContent>
			<xs:extension base="GivenFamilyNameType" >
				<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").</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</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: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.</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="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:sequence>
	</xs:complexType>
	<xs:complexType name="CorporateBodyCType">
		<xs:annotation>
			<xs:documentation>D.1.2 Zlozeny datovy prvok pre popis pravnickej osoby alebo subjektu, ktory nie je pravnickou osobou ani fyzickou osobou v zmysle pravneho poriadku Slovenskej republiky.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID" type="IDWithHistoryCType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>D.1.6 Zlozeny datovy prvok pre rozne identifikatory. Datovy prvok s historiou.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CorporateBodyFullName" type="CorporateBodyFullNameSCType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>D.1.2.1 Uvadza sa plny nazov pravnickej osoby. Pravidla pouzitia: Uvadza sa vratane typovych oznaceni organizacie ako "a.s.". Datovy prvok s historiou.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CorporateBodyFullNameSCType">
		<xs:annotation>
			<xs:documentation>D.1.2.1 Uvadza sa plny nazov pravnickej osoby. Pravdidla pouzitia: Uvadza sa vratane typovych oznaceni organizacie ako "a.s.". Datovy prvok s historiou.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="CorporateBodyFullNameType">
				<xs:attributeGroup ref="HistoryAttributes"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="IDWithHistoryCType">
		<xs:annotation>
			<xs:documentation>D.1.6 Zlozeny datovy prvok s historiou pre rozne identifikatory. </xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="IDCType">
				<xs:attributeGroup ref="HistoryAttributes"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="PhysicalAddressCType">
		<xs:annotation>
			<xs:documentation>D.1.3 Zlozeny datovy prvok pre urcenie adresy.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AddressLine" type="AddressLineType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>D.1.3.1 Formatovana informacia, ktora urcuje urcitu adresu (katastralne uzemie, nazov hospodarskej usadlosti a podobne).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Country" type="CodelistDataElementCType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>D.1.3.2 Zlozeny datovy prvok pre zakladny ciselnik obsahujuci udaje o state. Podradene prvky sa vyplnaju v sulade so zakladnym ciselnikom CL000086 Krajina OSN.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Municipality" type="CodelistDataElementCType" minOccurs="0">
				<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.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="StreetName" type="StreetNameType" minOccurs="0">
				<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="DeliveryAddress" type="DeliveryAddressCType" minOccurs="0">
				<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="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" minOccurs="0">
				<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" minOccurs="0">
				<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:simpleType name="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:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AddressLineType">
		<xs:annotation>
			<xs:documentation>D.1.3.1 Formatovana informacia, ktora urcuje urcitu adresu (katastralne uzemie, nazov hospodarskej usadlosti a podobne).</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="2047"/>
		</xs:restriction>
	</xs:simpleType>


	<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="CorporateBodyFullName" type="CorporateBodyFullNameSCType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>D.1.2.1 Uvadza sa plny nazov pravnickej osoby. Pravdidla pouzitia: Uvadza sa vratane typovych oznaceni organizacie ako "a.s.". Datovy prvok s historiou.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</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:simpleType name="IdentifierValueType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="2047"/>
		</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="GivenNameType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="255"/>
		</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="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="FamilyNameType">
		<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="InternetAddressType">
		<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="CorporateBodyFullNameType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1023"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StreetNameType">
		<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:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="100"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TECType">
		<xs:restriction base="xs:string">
			<xs:minLength value="7"/>
			<xs:maxLength value="7"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="VINType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="KodTECType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RetazecType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:attributeGroup name="HistoryAttributes">
		<xs:annotation>
			<xs:documentation>D.3.1 Osobitny datovy typ pre datove prvky so sledovanim historickych zmien ich obsahu. Pravidla pouzitia: Tento datovy prvok sa nepouzije bez atributu "Current" a "EffectiveFrom" a ak ma datovy prvok ukoncenu platnost, tak ani bez atributu "EffectiveTo". Moze byt pouzity viackrat.</xs:documentation>
		</xs:annotation>
		<xs:attribute name="Current" type="xs:boolean" use="required">
			<xs:annotation>
				<xs:documentation>Obsahuje oznacenie, ci je  prislusny datovy prvok historicky posledny aktualny.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="EffectiveFrom" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation>Datum, od ktoreho datovy prvok nadobudol ucinnost, to znamena odkedy je relevantne pouzitelny.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="EffectiveTo" type="xs:date">
			<xs:annotation>
				<xs:documentation>Datum, kedy bola ucinnost datoveho prvku ukoncena, to znamena dokedy je este relevantne pouzitelny.</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:attributeGroup>
</xs:schema>