<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:cz:isvs:isui:schemas:CtiHraniceZsj:v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:cz:isvs:isui:schemas:CtiHraniceZsj:v1" xmlns:ctiHZj="urn:cz:isvs:isui:schemas:CtiHraniceZsj:v1" xmlns:reg="urn:cz:isvs:reg:schemas:RegTypy:v1" xmlns:base="urn:cz:isvs:ruian:schemas:BaseTypy:v1" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:com="urn:cz:isvs:ruian:schemas:CommonTypy:v1" elementFormDefault="qualified" version="1.0.0">
	<xs:annotation>
		<xs:documentation xml:lang="cs">Typy pro načtení hranic Zsj</xs:documentation>
	</xs:annotation>
	<xs:import namespace="urn:cz:isvs:ruian:schemas:CommonTypy:v1" schemaLocation="../../../ruian/xsd/typy/CommonTypy.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:ruian:schemas:BaseTypy:v1" schemaLocation="../../../ruian/xsd/typy/BaseTypy.xsd"/>
	<xs:import namespace="urn:cz:isvs:reg:schemas:RegTypy:v1" schemaLocation="../../../RegTypy.xsd"/>
	<xs:complexType name="CtiHraniceZsjRequestType">
		<xs:sequence>
			<xs:element name="ZadostInfo" type="reg:ZadostInfoType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="Dotaz" type="CtiHraniceZsjDotazType" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CtiHraniceZsjResponseType">
		<xs:sequence>
			<xs:element name="OdpovedInfo" type="reg:OdpovedInfoType" minOccurs="1" maxOccurs="1"/>
			<xs:element name="HraniceMeziZsjSeznam" type="HraniceMeziZsjSeznamType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Seznam hranic mezi Zsj</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="CtiHraniceZsjRequest" type="ctiHZj:CtiHraniceZsjRequestType"/>
	<xs:element name="CtiHraniceZsjResponse" type="ctiHZj:CtiHraniceZsjResponseType"/>
	<xs:complexType name="CtiHraniceZsjDotazType">
		<xs:sequence>
			<xs:element name="KatastralniUzemiKod" type="base:Kod6Type" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kód katastrálního území</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HraniceMeziZsjSeznamType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Seznam hranic mezi ZSJ</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="HraniceMeziZsj" type="HraniceMeziZsjType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Hranice mezi dvěma ZSJ</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="HraniceMeziZsjType">
		<xs:annotation>
			<xs:documentation xml:lang="cs">Hranice mezi dvěma ZSJ</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Id" type="base:Id18Type" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Id hrany</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ZsjKod1" type="base:Kod6Type" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kód Zsj na jedné straně hranice</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ZsjKod2" type="base:Kod6Type" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Kód Zsj na druhé straně hranice</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Geometrie" type="gml:CurvePropertyType" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Geometrie hrany</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Nespravny" type="com:NespravnyType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Data jsou označena jako nesprávná</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="NavrhZmenyId" type="base:Id18Type" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Identifikace změny v ISUI</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PlatiOd" type="base:DatumCasType" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Od kdy hrana platí</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HraniceKuId" type="base:Id18Type" minOccurs="0" maxOccurs="1">
				<xs:annotation>
					<xs:documentation xml:lang="cs">Id hranice katastrálního území, pokud je s hranou ZSJ shodná</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
