<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio - FREE Community Edition 7.0.2.746 (http://www.liquid-technologies.com)-->
<schema xmlns:se="http://www.volby.cz/senat/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.volby.cz/senat/" xmlns="http://www.w3.org/2001/XMLSchema">
	<element name="VYSLEDKY">
		<annotation>
			<documentation>Výsledky voleb do Senátu Parlamentu ČR</documentation>
		</annotation>
		<complexType>
			<choice>
				<element ref="se:CHYBA" />
				<sequence>
					<element maxOccurs="unbounded" ref="se:OBVOD">
						<annotation>
							<documentation>Výsledky za senátní obvod</documentation>
						</annotation>
					</element>
					<element ref="se:CELKEM">
						<annotation>
							<documentation>Celkové výsledky za ČR</documentation>
						</annotation>
					</element>
				</sequence>
			</choice>
			<attribute name="DATUM_CAS_GENEROVANI" type="dateTime" use="required" />
		</complexType>
	</element>
	<element name="CHYBA">
		<annotation>
			<documentation>Informace o chybě při získávání výsledků</documentation>
		</annotation>
		<simpleType>
			<restriction base="string">
				<maxLength value="100" />
			</restriction>
		</simpleType>
	</element>
	<element name="OBVOD">
		<annotation>
			<documentation>Informace o senátním obvodu</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element maxOccurs="unbounded" ref="se:KANDIDAT" />
				<element maxOccurs="2" ref="se:UCAST" />
			</sequence>
			<attribute name="CISLO" use="required">
				<annotation>
					<documentation>Číslo senátního obvodu</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<minInclusive value="1" />
						<maxInclusive value="81" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="NAZEV" use="required">
				<annotation>
					<documentation>Název senátního obvodu</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="20" />
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="CELKEM">
		<annotation>
			<documentation>Celkové výsledky</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element maxOccurs="2" ref="se:UCAST" />
			</sequence>
		</complexType>
	</element>
	<element name="KANDIDAT">
		<annotation>
			<documentation>Informace o kandidátovi</documentation>
		</annotation>
		<complexType>
			<attribute name="PORADOVE_CISLO" use="required">
				<annotation>
					<documentation>Vylosované číslo kandidáta v rámci obvodu</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<minInclusive value="1" />
						<maxInclusive value="22" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="JMENO" use="required">
				<annotation>
					<documentation>Jméno, příp. i další jména</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="40" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PRIJMENI" use="required">
				<annotation>
					<documentation>Příjmení</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="30" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="TITULPRED" use="required">
				<annotation>
					<documentation>Tituly před jménem</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="25" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="TITULZA" use="required">
				<annotation>
					<documentation>Tituly za příjmením</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="25" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_1KOLO" use="required">
				<annotation>
					<documentation>Počet hlasů v 1. kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="7" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_PROC_1KOLO" use="required">
				<annotation>
					<documentation>Procento hlasů v 1. kole uříznuté na 2 desetinná místae</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ZVOLEN_1KOLO" use="optional">
				<annotation>
					<documentation>Stav po prvním kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<pattern value="ZVOLEN" />
						<pattern value="NEZVOLEN" />
						<pattern value="2.KOLO" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_2KOLO" use="optional">
				<annotation>
					<documentation>Počet hlasů ve 2. kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="7" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_PROC_2KOLO" use="optional">
				<annotation>
					<documentation>Procento hlasů ve 2. kole uříznuté na 2 desetinná místa</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ZVOLEN_2KOLO" use="optional">
				<annotation>
					<documentation>Stav po druhém kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<pattern value="ZVOLEN" />
						<pattern value="NEZVOLEN" />
						<pattern value="NEZVOLEN_SHODA_HLASU" />
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
	<element name="UCAST">
		<annotation>
			<documentation>Volební účast</documentation>
		</annotation>
		<complexType>
			<attribute name="KOLO" use="required">
				<annotation>
					<documentation>Číslo kola voleb (1 nebo 2)</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<pattern value="1" />
						<pattern value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="OKRSKY_CELKEM" use="required">
				<annotation>
					<documentation>Počet volebních okrsků celkem</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="OKRSKY_ZPRAC" use="required">
				<annotation>
					<documentation>Počet volebních okrsků se zpracovanými výsledky voleb</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="OKRSKY_ZPRAC_PROC" use="required">
				<annotation>
					<documentation>Procento volebních okrsků se zpracovanými výsledky voleb</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ZAPSANI_VOLICI" use="required">
				<annotation>
					<documentation>Počet osob, zapsaných do výpisu ze stálého a zvláštního seznamu</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="VYDANE_OBALKY" use="required">
				<annotation>
					<documentation>Počet voličů, kterým byly vydány úřední obálky</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="UCAST_PROC" use="required">
				<annotation>
					<documentation>Volební účast v %</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="VOLICSKE_PRUKAZY" use="required">
				<annotation>
					<documentation>Počet voličů, kteří hlasovali na voličský průkaz</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="ODEVZDANE_OBALKY" use="required">
				<annotation>
					<documentation>Počet odevzdaných úředních obálek</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PLATNE_HLASY" use="required">
				<annotation>
					<documentation>Počet platných hlasů ve volebním okrsku celkem</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="8" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PLATNE_HLASY_PROC" use="required">
				<annotation>
					<documentation>Počet platných hlasů ve volebním okrsku v %</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
</schema>