<?xml version="1.0" encoding="Windows-1250"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			xmlns:rdc="http://www.stormware.cz/schema/version_2/documentresponse.xsd"
      xmlns:ftr="http://www.stormware.cz/schema/version_2/filter.xsd"
			xmlns:cen="http://www.stormware.cz/schema/version_2/centre.xsd"
			xmlns:lCen="http://www.stormware.cz/schema/version_2/list_centre.xsd"
			xmlns="http://www.stormware.cz/schema/version_2/list_centre.xsd"
			targetNamespace="http://www.stormware.cz/schema/version_2/list_centre.xsd"
			elementFormDefault="qualified"
>

<xsd:import namespace="http://www.stormware.cz/schema/version_2/documentresponse.xsd" schemaLocation="documentresponse.xsd"/>
<xsd:import namespace="http://www.stormware.cz/schema/version_2/filter.xsd" schemaLocation="filter.xsd"/>
<xsd:import namespace="http://www.stormware.cz/schema/version_2/centre.xsd" schemaLocation="centre.xsd"/>

<!-- ************************************************************************** -->
<!-- REQUEST -->
<xsd:element name="listCentreRequest" type="lCen:listRequestCentreType"/>

<!-- Střediska -->
<xsd:complexType name="listRequestCentreType">
	<xsd:sequence minOccurs="1" maxOccurs="255">
    <xsd:element name="limit" type="ftr:limitType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Omezení počtu exportovaných záznamů.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
		<xsd:element name="requestCentre" type="ftr:requestCentreType"/>
	</xsd:sequence>
	<xsd:attribute name="version" type="lCen:listRequestCentreVerType" use="required"/>
	<xsd:attribute name="centreVersion" type="cen:centreVersionType" use="required">
		<xsd:annotation>
			<xsd:documentation>Požadovaná verze centre dokumentu.</xsd:documentation>
		</xsd:annotation>
	</xsd:attribute>	
</xsd:complexType>

<xsd:simpleType name="listRequestCentreVerType">
	<xsd:annotation>
		<xsd:documentation>Verze, které jsou dostupné k tomuto dokladu. Podrobnosti k jednotlivým verzím najdete na www.stormware.cz/xml</xsd:documentation>
	</xsd:annotation>
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="2.0"/>		
	</xsd:restriction>
</xsd:simpleType>

<!-- ************************************************************************** -->
<!-- RESPONSE -->
<xsd:element name="listCentre" type="lCen:listCentreType"/>

<xsd:complexType name="listCentreType">
	<xsd:complexContent>
	    <xsd:extension base="rdc:listVersionType">
			<xsd:choice>
				<xsd:element name="centre" type="cen:centreType" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:choice>
		</xsd:extension>
	</xsd:complexContent>
</xsd:complexType>

</xsd:schema>
