<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio - FREE Community Edition 7.0.3.780 (http://www.liquid-technologies.com)-->
<schema xmlns:kz="http://www.volby.cz/kz/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.volby.cz/kz/" xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="VYSLEDKY_KRAJMESTA">
    <annotation>
      <documentation>Výsledky voleb do zastupitestev krajů - územní celky - krajské zastupitelstvo a krajská města</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element maxOccurs="13" ref="kz:KRZAST">
          <annotation>
            <documentation>Informace o výsledcích za krajské zastupitelstvo</documentation>
          </annotation>
        </element>
      </sequence>
      <attribute name="DATUM_CAS_GENEROVANI" type="dateTime" use="required" />
    </complexType>
  </element>
  <element name="HLASY_STRANA">
    <annotation>
      <documentation>Výsledky za kandidátní listinu</documentation>
    </annotation>
    <complexType>
      <attribute name="KSTRANA" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="9" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PROC_HLASU" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="UCAST">
    <annotation>
      <documentation>Volební účast</documentation>
    </annotation>
    <complexType>
      <attribute name="OKRSKY_CELKEM" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="OKRSKY_ZPRAC" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="OKRSKY_ZPRAC_PROC" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="ZAPSANI_VOLICI" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="8" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="VYDANE_OBALKY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="8" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="UCAST_PROC" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="ODEVZDANE_OBALKY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="8" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PLATNE_HLASY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="8" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="PLATNE_HLASY_PROC" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="5" />
            <fractionDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="CELKEM">
    <annotation>
      <documentation>Údaje za krajské zastupitelstvo celkem </documentation>
    </annotation>
    <complexType>
      <sequence>
        <element ref="kz:UCAST" />
        <element maxOccurs="unbounded" ref="kz:HLASY_STRANA" />
      </sequence>
    </complexType>
  </element>
  <element name="KRZAST">
    <annotation>
      <documentation>Krajské zastupitelstvo</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element minOccurs="0" ref="kz:OBEC" />
        <element ref="kz:CELKEM">
          <annotation>
            <documentation>Údaje za krajské zastupitelstvo celkem </documentation>
          </annotation>
        </element>
      </sequence>
      <attribute name="CIS_KRZAST" use="required">
        <simpleType>
          <restriction base="decimal">
            <minInclusive value="1" />
            <maxInclusive value="13" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="NAZ_KRZAST" use="required">
        <simpleType>
          <restriction base="string">
            <maxLength value="20" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="POCMANDATU" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="2" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="OBEC">
    <annotation>
      <documentation>Informace o výsledcích za krajské město</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element ref="kz:UCAST" />
        <element maxOccurs="unbounded" ref="kz:HLASY_STRANA" />
      </sequence>
      <attribute name="CIS_OBEC" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="6" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="NAZ_OBEC" use="required">
        <simpleType>
          <restriction base="string">
            <maxLength value="40" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
</schema>