<?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">
        <simpleType>
          <restriction base="string">
            <maxLength value="40" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PRIJMENI" use="required">
        <simpleType>
          <restriction base="string">
            <maxLength value="40" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="TITULPRED" use="required">
        <simpleType>
          <restriction base="string">
            <maxLength value="25" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="TITULZA" use="required">
        <simpleType>
          <restriction base="string">
            <maxLength value="25" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="ROK_ZVOLENI" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="4" />
            <minInclusive value="1996" />
            <maxInclusive value="2100" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="VSTRANA" use="required">
        <annotation>
          <documentation source="Kód volební strany dle číselníku CVS - stav v době zvolení (uvedeno na hlasovacím lístku)" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="4" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PSTRANA" use="required">
        <annotation>
          <documentation source="Kód politické příslušnosti dle číselníku CPP - stav v době zvolení (uvedeno na hlasovacím lístku)" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="4" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="NSTRANA" use="required">
        <annotation>
          <documentation source="Kód navrhující strany dle číselníku CNS - stav v době zvolení (uvedeno na hlasovacím lístku)" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="4" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="POVOLANI" use="required">
        <annotation>
          <documentation source="Povolání kandidáta  - stav v době zvolení (uvedeno na hlasovacím lístku)" />
        </annotation>
        <simpleType>
          <restriction base="string">
            <maxLength value="200" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="BYDLISTE" use="required">
        <annotation>
          <documentation source="Bydliště kandidáta  - stav v době zvolení (uvedeno na hlasovacím lístku)" />
        </annotation>
        <simpleType>
          <restriction base="string">
            <maxLength value="40" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY_1KOLO" use="required">
        <annotation>
          <documentation source="Počet hlasů, které kandidát získal v prvním kole" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="7" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY_PROC_1KOLO" use="required">
        <annotation>
          <documentation source="Procento hlasů, které získal kandidát v prvním kole" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY_2KOLO" use="optional">
        <annotation>
          <documentation source="Počet hlasů, které kandidát získal v druhém kole" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="7" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY_PROC_2KOLO" use="optional">
        <annotation>
          <documentation source="Procento hlasů, které získal kandidát v druhém kole" />
        </annotation>
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
</schema>