<?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:pe="http://www.volby.cz/prezident/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.volby.cz/prezident/" xmlns="http://www.w3.org/2001/XMLSchema">
  <element name="VYSLEDKY_ZAHRANICI">
    <annotation>
      <documentation>Výsledek volby prezidenta ČR - výsledky za zahraničí</documentation>
    </annotation>
    <complexType>
      <choice>
        <element ref="pe:CHYBA">
          <annotation>
            <documentation>Informace o chybě při získávání výsledků</documentation>
          </annotation>
        </element>
        <element ref="pe:ZAHRANICI" />
      </choice>
      <attribute name="DATUM_CAS_GENEROVANI" type="dateTime" use="required" />
      <attribute name="KOLO" use="optional">
        <simpleType>
          <restriction base="int">
            <enumeration value="1" />
            <enumeration value="2" />
          </restriction>
        </simpleType>
      </attribute>
    </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="HODN_KAND">
    <annotation>
      <documentation>Hlasy pro kandidáta</documentation>
    </annotation>
    <complexType>
      <attribute name="PORADOVE_CISLO" use="required">
        <simpleType>
          <restriction base="decimal">
            <minInclusive value="1" />
            <maxInclusive value="20" />
          </restriction>
        </simpleType>
      </attribute>
      <attribute name="HLASY" use="required">
        <simpleType>
          <restriction base="decimal">
            <totalDigits value="7" />
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="UCAST">
    <annotation>
      <documentation>Volební účast</documentation>
    </annotation>
    <complexType>
      <attribute name="KOLO" use="required">
        <simpleType>
          <restriction base="decimal">
            <pattern value="1" />
            <pattern value="2" />
          </restriction>
        </simpleType>
      </attribute>
      <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 vyšší územní úroveň (kontinent, stát) celkem</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element maxOccurs="unbounded" ref="pe:HODN_KAND" />
        <element ref="pe:UCAST" />
      </sequence>
    </complexType>
  </element>
  <element name="ZAHRANICI">
    <annotation>
      <documentation>Informace o výsledku volby v zahraničí</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element maxOccurs="unbounded" ref="pe:KONTINENT">
          <annotation>
            <documentation>Informace o výsledku voleb za jednotlivé kontinenty (bez ČR)</documentation>
          </annotation>
        </element>
        <element ref="pe:CELKEM">
          <annotation>
            <documentation>Údaje za vyšší územní úroveň (kontinent, stát) celkem </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
  <element name="KONTINENT">
    <annotation>
      <documentation>Informace o výsledku volby za jednotlivé kontinenty (bez ČR)</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element minOccurs="0" maxOccurs="unbounded" ref="pe:STAT">
          <annotation>
            <documentation>Informace o výsledku voleb za jednotlivé státy (bez ČR)</documentation>
          </annotation>
        </element>
        <element ref="pe:CELKEM">
          <annotation>
            <documentation>Údaje za vyšší územní úroveň (kontinent, stát) celkem </documentation>
          </annotation>
        </element>
      </sequence>
      <attribute name="ZKRATKA" type="string" use="required" />
      <attribute name="NAZEV" type="string" use="required" />
    </complexType>
  </element>
  <element name="STAT">
    <annotation>
      <documentation>Informace o výsledku volby za jednotlivé státy (bez ČR)</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element minOccurs="0" maxOccurs="unbounded" ref="pe:HODN_KAND" />
        <element ref="pe:UCAST" />
      </sequence>
      <attribute name="ZKRATKA" type="string" use="required" />
      <attribute name="NAZEV" type="string" use="required" />
    </complexType>
  </element>
</schema>