<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="urn:cz:gov:cuzk:iskn:content:geo:request:3.1" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" 
	xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 
	xmlns:bt="urn:cz:gov:cuzk:iskn:types:base:3.1" 
	xmlns:ct="urn:cz:gov:cuzk:iskn:types:common:3.1" 
	targetNamespace="urn:cz:gov:cuzk:iskn:content:geo:request:3.1" 
	elementFormDefault="qualified" version="3.1.0">

	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../xmldsig_core_schema.xsd"/>
	<xs:import namespace="urn:cz:gov:cuzk:iskn:types:base:3.1" schemaLocation="../baseTypes_v3_1.xsd"/>
	<xs:import namespace="urn:cz:gov:cuzk:iskn:types:common:3.1" schemaLocation="../commonTypes_v3_1.xsd"/>

	<xs:group name="FOParametryGroup">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Informace o účastníkovi, který je fyzickou osobou.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="jmeno" type="bt:JmenoType">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Jméno účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="prijmeni" type="bt:PrijmeniType">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Příjmení účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="rodnePrijmeni" type="bt:PrijmeniType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Rodné příjmení účastníka.</xs:documentation>
				</xs:annotation>						
			</xs:element>
			<xs:element name="rc" type="bt:RcType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Rodné číslo účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="datumNarozeni" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Datum narození účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="titulPredJmenem" type="bt:TitulPredJmenemType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Titul před jménem účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="titulZaJmenem" type="bt:TitulZaJmenemType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Titul za jménem účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="doklad" type="DokladENXType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Doklad účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>

	<xs:group name="POParametryGroup">
		<xs:sequence>
			<xs:annotation>
				<xs:documentation xml:lang="cs">Informace o účastníkovi, který je právnickou osobou.</xs:documentation>
			</xs:annotation>
			<xs:element name="obchodniJmeno" type="bt:NazevFirmyType">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Název účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ico" type="bt:IcoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">IČ účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="doplnekIco" type="bt:DoplnekIcoType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Doplněk IČ účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dic" type="bt:DicType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">DIČ účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="jednajiciOsoba" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Jméno osoby, která zastupuje účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>

	<xs:group name="UcastnikOstatniGroup">
		<xs:sequence>
			<xs:element name="notifikacniKontakty" type="NotifikacniKontaktyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kontakty pro bezplatnou oznamovací službu.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="idDS" type="bt:IdDatoveSchrankyType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Identifikátor datové schránky.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="adresy" type="AdresaENXSeznamType">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Seznam adres účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="bankovniSpojeni" type="ct:BankovniSpojeniType" minOccurs="0">
			</xs:element>
		</xs:sequence>
	</xs:group>

	<xs:complexType name="DoplnkoveUdajeListinZMPZENXType">
		<xs:sequence>
			<xs:element name="katuzeKod" type="bt:KodKatastralnihoUzemiType"/>
			<xs:element name="cisloZPMZ" type="bt:CisloZPMZType"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="PredmetRizeniSeznamType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Seznam předmětů řízení.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="predmet" type="PredmetRizeniType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="PredmetRizeniType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Předmět řízení.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="kod" type="bt:KodPredmetuRizeniType"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="PoznamkaSeznamType">
	  <xs:annotation>
		   <xs:documentation xml:lang="cs">Seznam poznámek.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="poznamka" type="bt:TextType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="PracovisteType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Pracoviště.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="kod" type="bt:KodPracovisteType"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="AdresaENXSeznamType">
	  <xs:annotation>
		   <xs:documentation xml:lang="cs">Seznam adres.</xs:documentation>
		</xs:annotation>  
		<xs:sequence>
			<xs:element name="adresa" type="AdresaENXType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="AdresaENXType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Adresa účastníka.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="adresaTyp" type="TypAdresyENXType"/>
			<xs:element name="statNazev" type="bt:NazevStatuType" minOccurs="0"/>
			<xs:element name="okresNazev" type="bt:NazevOkresuType" minOccurs="0"/>
			<xs:element name="obecNazev" type="bt:NazevObceType" minOccurs="0"/>
			<xs:element name="castObceNazev" type="bt:NazevCastiObceType" minOccurs="0"/>
			<xs:element name="mestskaCastNazev" type="bt:NazevMestskeCastiType" minOccurs="0"/>
			<xs:element name="mestskyObvodNazev" type="bt:NazevMestskehoObvoduType" minOccurs="0"/>
			<xs:element name="ulice" type="bt:NazevUliceType" minOccurs="0"/>
			<xs:element name="cpCe" type="bt:CpCeType" minOccurs="0"/>
			<xs:element name="cisloDomovni" type="bt:CisloEvidencniType" minOccurs="0"/>
			<xs:element name="psc" type="PSCENXType" minOccurs="0"/>
			<xs:element name="cisloOrientacni" type="CisloOrientacniENXType" minOccurs="0"/>
			<xs:element name="telefon" type="bt:FaxTelefonType" minOccurs="0"/>
			<xs:element name="email" type="bt:EmailType" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="DokladENXType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Doklad pro OFO.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="dokladuTyp" type="TypDokladuENXType"/>
			<xs:element name="dokladCislo" type="bt:CisloDokladuType"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="UdajeKPlatbeType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Údaje k platbě.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="zpusobUhrady" type="bt:ZpusobUhradyType"/>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="NotifikacniKontaktyType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Kontakty pro bezplatnou oznamovací službu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="telefon" type="bt:FaxTelefonType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kontaktní telefon účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="email" type="bt:EmailType" minOccurs="0">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kontaktní email účastníka.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>

	<xs:simpleType name="ExtIdentifikaceType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
			<xs:maxLength value="100"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="TypAdresyENXType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Typ adresy.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="bt:TypAdresyType">
			<xs:enumeration value="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">adresa organizace</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="2">
				<xs:annotation>
					<xs:documentation xml:lang="cs">adresa provozní jednotky</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="3">
				<xs:annotation>
					<xs:documentation xml:lang="cs">adresa pracoviště</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="4">
				<xs:annotation>
					<xs:documentation xml:lang="cs">trvalý pobyt, bydliště v cizině</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="9">
				<xs:annotation>
					<xs:documentation xml:lang="cs">doručovací adresa</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="TypDokladuENXType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Typ dokladu.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="bt:TypDokladuType">
			<xs:enumeration value="P">
				<xs:annotation>
					<xs:documentation xml:lang="cs">pas</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="ID">
				<xs:annotation>
					<xs:documentation xml:lang="cs">občanský průkaz</xs:documentation>				
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="IR">
				<xs:annotation>
					<xs:documentation xml:lang="cs">povolení k pobytu</xs:documentation>				
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="VS">
				<xs:annotation>
					<xs:documentation xml:lang="cs">vízový štítek</xs:documentation>				
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="PS">
				<xs:annotation>
					<xs:documentation xml:lang="cs">pobytový štítek</xs:documentation>				
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>	
	</xs:simpleType>

	<xs:simpleType name="PSCENXType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="CisloOrientacniENXType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:group name="ZpusobUhradySpravnihoPoplatkuGroup">
	  <xs:annotation>
		   <xs:documentation xml:lang="cs">Způsob úhrady správního poplatku.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="zpusobUhrady" type="ZpusobUhradyPoplatkuType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="inkaso" type="ct:BankovniSpojeniType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Bankovní spojení pro inkaso.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="zduvodneniOsvobozeni" type="ZduvodneniOsvobozeniType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Zdůvodnění osvobození od správního poplatku.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:group>

	<xs:simpleType name="ZpusobUhradyPoplatkuType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="H">
				<xs:annotation>
					<xs:documentation xml:lang="cs">v hotovosti</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="I">
				<xs:annotation>
					<xs:documentation xml:lang="cs">inkaso</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="K">
				<xs:annotation>
					<xs:documentation xml:lang="cs">kolková známka</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="O">
				<xs:annotation>
					<xs:documentation xml:lang="cs">osvobození od správního poplatku</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="U">
				<xs:annotation>
					<xs:documentation xml:lang="cs">převod z účtu</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="ZduvodneniOsvobozeniType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1000"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:group name="ZpusobPrevzetiGroup">
	  <xs:annotation>
		   <xs:documentation xml:lang="cs">Způsob převzetí.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="zpusobPrevzeti" type="ZpusobPrevzetiType" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:group>

	<xs:simpleType name="ZpusobPrevzetiType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="OSOBNE">
				<xs:annotation>
					<xs:documentation xml:lang="cs">osobní převzetí</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="DS">
				<xs:annotation>
					<xs:documentation xml:lang="cs">datová schránka</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="EMAIL">
				<xs:annotation>
					<xs:documentation xml:lang="cs">e-mail</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>

</xs:schema>
