<?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_CELK">
		<annotation>
			<documentation>Aktuální celkové složení Senátu Parlamentu ČR </documentation>
		</annotation>
		<complexType>
			<choice>
				<sequence>
					<element maxOccurs="unbounded" ref="se:OBVOD">
						<annotation>
							<documentation>Senátní obvod mající senátora</documentation>
						</annotation>
					</element>
				</sequence>
			</choice>
			<attribute name="DATUM_CAS_GENEROVANI" type="dateTime" use="required" />
		</complexType>
	</element>
	<element name="OBVOD">
		<annotation>
			<documentation>Informace o senátním obvodu</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="se:SENATOR">
					<annotation>
						<documentation>Informace o Senátorovi</documentation>
					</annotation>
				</element>
			</sequence>
			<attribute name="CISLO" use="required">
				<annotation>
					<documentation>Číslo senátního obvodu (1-81)</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="SENATOR">
		<annotation>
			<documentation>Informace o senátorovi</documentation>
		</annotation>
		<complexType>
			<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="40" />
					</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="ROK_ZVOLENI" use="required">
				<annotation>
					<documentation>Rok, ve kterém byl Senátor zvolen</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="4" />
						<minInclusive value="1996" />
						<maxInclusive value="2100" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="VSTRANA" use="required">
				<annotation>
					<documentation>Kód volební strany dle číselníku CVS - stav v době zvolení (uvedeno na hlasovacím lístku)</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="4" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="PSTRANA" use="required">
				<annotation>
					<documentation>Kód politické příslušnosti dle číselníku CPP - stav v době zvolení (uvedeno na hlasovacím lístku)</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="4" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="NSTRANA" use="required">
				<annotation>
					<documentation>Kód navrhující strany dle číselníku CNS - stav v době zvolení (uvedeno na hlasovacím lístku)</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="4" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="POVOLANI" use="required">
				<annotation>
					<documentation>Povolání kandidáta	- stav v době zvolení (uvedeno na hlasovacím lístku)</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="200" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="BYDLISTE" use="required">
				<annotation>
					<documentation>Bydliště kandidáta	- stav v době zvolení (uvedeno na hlasovacím lístku)</documentation>
				</annotation>
				<simpleType>
					<restriction base="string">
						<maxLength value="40" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_1KOLO" use="required">
				<annotation>
					<documentation>Počet hlasů, které kandidát získal v prvním kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="7" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_PROC_1KOLO" use="required">
				<annotation>
					<documentation>Procento hlasů, které získal kandidát v prvním kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_2KOLO" use="optional">
				<annotation>
					<documentation>Počet hlasů, které kandidát získal v druhém kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="7" />
					</restriction>
				</simpleType>
			</attribute>
			<attribute name="HLASY_PROC_2KOLO" use="optional">
				<annotation>
					<documentation>Procento hlasů, které získal kandidát v druhém kole</documentation>
				</annotation>
				<simpleType>
					<restriction base="decimal">
						<totalDigits value="5" />
						<fractionDigits value="2" />
					</restriction>
				</simpleType>
			</attribute>
		</complexType>
	</element>
</schema>