<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:cz:isvs:isui:schemas:CuzkExtTypy:v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:cz:isvs:isui:schemas:CuzkExtTypy:v1" xmlns:cux="urn:cz:isvs:isui:schemas:CuzkExtTypy:v1" xmlns:eex="urn:cz:isvs:isui:schemas:EditaceExtTypy:v1" xmlns:reg="urn:cz:isvs:reg:schemas:RegTypy:v1" xmlns:osx="urn:cz:isvs:isui:schemas:ObecStuExtTypy:v1" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:base="urn:cz:isvs:ruian:schemas:BaseTypy:v1" xmlns:com="urn:cz:isvs:ruian:schemas:CommonTypy:v1" xmlns:icom="urn:cz:isvs:isui:schemas:IsuiCommon:v1" elementFormDefault="qualified" version="2.0.0">
	<xs:annotation>
		<xs:documentation xml:lang="cs">Aplikační schéma pro kontrolu a zplatnění návrhu změny v rámci agendy CUZK.</xs:documentation>
	</xs:annotation>
	<xs:import namespace="urn:cz:isvs:ruian:schemas:CommonTypy:v1" schemaLocation="../../../../ruian/xsd/typy/CommonTypy.xsd"/>
	<xs:import namespace="urn:cz:isvs:ruian:schemas:BaseTypy:v1" schemaLocation="../../../../ruian/xsd/typy/BaseTypy.xsd"/>
	<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="../../../../common/gml/3.2.1/gml.xsd"/>
	<xs:import namespace="urn:cz:isvs:isui:schemas:ObecStuExtTypy:v1" schemaLocation="../obecStu/ObecStuExtTypy.xsd"/>
	<xs:import namespace="urn:cz:isvs:reg:schemas:RegTypy:v1" schemaLocation="../../../../RegTypy.xsd"/>
	<xs:import namespace="urn:cz:isvs:isui:schemas:EditaceExtTypy:v1" schemaLocation="../spolecne/EditaceExtTypy.xsd"/>
	<xs:import namespace="urn:cz:isvs:isui:schemas:IsuiCommon:v1" schemaLocation="../../common/IsuiCommon.xsd"/>
	<xs:element name="ZkontrolujNzCuzkRequest" type="cux:ZmenPrvkyCuzkRequestType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Požadavek na kontrolu návrhu změny v rámci agendy CUZK.  </xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ZplatniNzCuzkRequest" type="cux:ZmenPrvkyCuzkRequestType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Požadavek na zplatnění návrhu změny v rámci agendy CUZK. </xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="ZmenPrvkyCuzkRequestType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Požadavek na návrh změny v rámci agendy CUZK.  </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ZadostInfo" type="reg:ZadostInfoType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="Dotaz" type="EditaceCuzkType" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EditaceCuzkType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Editace z agendy CUZK.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="HlavickaNZ" type="eex:HlavickaNzType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="PodkladyNZ" type="eex:PodkladNzSeznamType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="Prvky" type="PrvekListEditaceCuzkType" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrvekListEditaceCuzkType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Seznam editovaných prvků z agendy CUZK.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Prvek" type="PrvekEditaceCuzkType" minOccurs="1" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PrvekEditaceCuzkType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Editace prvku z agendy CUZK.</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="VytvoreniUlice" type="osx:UliceVytvoreniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="VytvoreniStavebniObjekt" type="StavebniObjektVytvoreniNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="VytvoreniAdresniMisto" type="osx:AdresniMistoVytvoreniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="VytvoreniDetailTEA" type="DetailTEAVytvoreniNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZmenaUlice" type="osx:UliceZmenaExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZmenaStavebniObjekt" type="StavebniObjektZmenaNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZmenaAdresniMisto" type="osx:AdresniMistoZmenaExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZmenaDetailTEA" type="DetailTEAZmenaNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZruseniUlice" type="osx:UliceZruseniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZruseniStavebniObjekt" type="osx:StavebniObjektZruseniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZruseniAdresniMisto" type="osx:AdresniMistoZruseniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZruseniDetailTEA" type="osx:DetailTEAZruseniExtNZType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="ZmenaPsc" type="AdresniMistoZmenaPscExtNZType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Změna PSČ adresního místa</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	
	<xs:complexType name="StavebniObjektVytvoreniNZType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Vytvoření stavebního objektu</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureType">
				<xs:sequence>
					<xs:element name="Kod" type="base:Kod9Type" minOccurs="0" maxOccurs="1">
						<xs:annotation>
							<xs:documentation xml:lang="cs">Kód stavebního objektu; hodnota je platná pouze v rámci zasílaných dat návrhu změny</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TypStavebnihoObjektuKod" type="com:TypSTOKodType" minOccurs="1" maxOccurs="1"/>
					<xs:element name="CastObceKod" type="base:Kod6Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="CislaDomovni" type="com:CisloDomovniSeznamType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="MomcKod" type="base:Kod6Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="IdentifikacniParcelaId" type="base:Id18Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="Dokonceni" type="base:DatumCasType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVyuzitiKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVyuzitiUpresneniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZastavenaPlocha" type="com:ZastavenaPlochaType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PodlahovaPlocha" type="com:PodlahovaPlochaType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ObestavenyProstor" type="com:ObestavenyProstorType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PocetPodlazi" type="com:PocetPodlaziType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PocetBytu" type="com:PocetBytuType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DispoziceBytu" type="icom:DispoziceBytuType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="JeVytahKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DruhKonstrukceKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVytapeniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVytapeniSekundarniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniVodovodKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniKanalizaceKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniPlynKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PenbKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="IcoInvestora" type="com:IcoInvestoraType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="InvesticniNaklady" type="com:InvesticniNakladyType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DefinicniBod" type="gml:PointPropertyType" minOccurs="0" maxOccurs="1" nillable="true"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="StavebniObjektZmenaNZType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Změna stavebního objektu.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="gml:AbstractFeatureType">
				<xs:sequence>
					<xs:element name="Kod" type="base:Kod9Type" minOccurs="1" maxOccurs="1">
						<xs:annotation>
							<xs:documentation xml:lang="cs">Kód stavebního objektu.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="GlobalniIdNavrhuZmeny" type="com:IdNavrhuZmenyType" minOccurs="1" maxOccurs="1"/>
					<xs:element name="TypStavebnihoObjektuKod" type="com:TypSTOKodType" minOccurs="0" maxOccurs="1"/>
					<xs:element name="CastObceKod" type="eex:Kod6ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="CislaDomovni" type="osx:CisloDomovniSeznamZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="MomcKod" type="base:Kod6Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="IdentifikacniParcelaId" type="base:Id18Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="Dokonceni" type="base:DatumCasType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVyuzitiKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVyuzitiUpresneniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZastavenaPlocha" type="osx:ZastavenaPlochaZmenaExType" minOccurs="0" maxOccurs="1" nillable="true">
						<xs:annotation>
							<xs:documentation xml:lang="cs">Změna zastavěné plochy.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PodlahovaPlocha" type="osx:PodlahovaPlochaZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ObestavenyProstor" type="osx:ObestavenyProstorZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PocetPodlazi" type="osx:PocetPodlaziZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PocetBytu" type="osx:PocetBytuZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DispoziceBytu" type="osx:DispoziceBytuZmenaExType" minOccurs="0" maxOccurs="1"/>
					<xs:element name="JeVytahKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DruhKonstrukceKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVytapeniKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="ZpusobVytapeniSekundarniKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniVodovodKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniKanalizaceKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PripojeniPlynKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="PenbKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="IcoInvestora" type="osx:IcoInvestoraZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="InvesticniNaklady" type="osx:InvesticniNakladyZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
					<xs:element name="DefinicniBod" type="gml:PointPropertyType" minOccurs="0" maxOccurs="1" nillable="true"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="AdresniMistoZmenaPscExtNZType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Změna PSČ adresního místa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Kod" type="base:Kod9Type" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kód adresního místa</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GlobalniIdNavrhuZmeny" type="com:IdNavrhuZmenyType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Id návrhu změny měněné verze územního prvku</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Psc" type="com:PscType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Nové PSČ adresního místa</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DetailTEAVytvoreniNZType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Vytvoření detailních tecnickoekonomických atributů (TEA) vchodu stavebního objektu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="StavebniObjektKod" type="base:Kod9Type" minOccurs="1" maxOccurs="1"/>
			<xs:element name="PocetPodlazi" type="com:PocetPodlaziType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PocetBytu" type="com:PocetBytuType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="DruhKonstrukceKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="ZpusobVytapeniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="ZpusobVytapeniSekundarniKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniVodovodKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniKanalizaceKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniPlynKod" type="base:Kod4Type" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="AdresniMistoKod" type="base:Kod9SeznamType" minOccurs="0" maxOccurs="1" nillable="true"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DetailTEAZmenaNZType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Změna detailních tecnickoekonomických atributů (TEA) vchodu stavebního objektu.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Kod" type="base:Kod8Type" minOccurs="1" maxOccurs="1"/>
			<xs:element name="GlobalniIdNavrhuZmeny" type="com:IdNavrhuZmenyType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="StavebniObjektKod" type="base:Kod9Type" minOccurs="1" maxOccurs="1"/>
			<xs:element name="PocetPodlazi" type="osx:PocetPodlaziZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PocetBytu" type="osx:PocetBytuZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="DruhKonstrukceKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="ZpusobVytapeniKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="ZpusobVytapeniSekundarniKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniVodovodKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniKanalizaceKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="PripojeniPlynKod" type="eex:Kod4ZmenaExType" minOccurs="0" maxOccurs="1" nillable="true"/>
			<xs:element name="AdresniMistoKod" type="base:Kod9SeznamType" minOccurs="0" maxOccurs="1" nillable="true"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
