<schema attributeFormDefault="unqualified" elementFormDefault="qualified"
        targetNamespace="http://xmlns.gemsystem.cz/DataZamestnavateleB2B"
        xmlns:tns="http://xmlns.gemsystem.cz/DataZamestnavateleB2B"
        xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="PuAdresaUser">
        <sequence>
            <element name="ulice" type="string" minOccurs="0"/>
            <element name="obec" type="string" minOccurs="0"/>
            <element name="psc" type="string" minOccurs="0"/>
            <element name="stat" type="tns:PuKodNazevUser" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuKodNazevUser">
        <sequence>
            <element name="kod" type="string"/>
            <element name="nazev" type="string"/>
        </sequence>
    </complexType>
    <complexType name="PuKodZkratkaUser">
        <sequence>
            <element name="kod" type="string"/>
            <element name="nazev" type="string"/>
            <element name="zkratka" type="string"/>
        </sequence>
    </complexType>
    <complexType name="PuKontoUser">
        <sequence>
            <element name="cisloUctu" type="decimal"/>
            <element name="kodBanky" type="string"/>
            <element name="SS" type="string" minOccurs="0"/>
            <element name="KS" type="string" minOccurs="0"/>
            <element name="VS" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuSubjektUser">
        <sequence>
            <element name="cislo" type="string"/>
            <element name="nazev" type="string"/>
            <element name="adresa" type="tns:PuAdresaUser" minOccurs="0"/>
            <element name="telefon" type="string" minOccurs="0"/>
            <element name="mail" type="string" minOccurs="0"/>
            <element name="fax" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="dataZamestnavatele">
        <sequence>
            <element name="idZpravy" type="string"/>
            <element name="idSubjektu" type="string"/>
            <element name="typSubjektu" type="string"/>
            <element name="cisloZamestnavatele" type="string"/>
            <element name="up" type="string" minOccurs="0"/>
            <element name="nazevZamestnavatele" type="string" minOccurs="0"/>
            <element name="datumPlatnosti" type="date" minOccurs="0"/>
            <element name="typVystupu" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="dataZamestnavateleResponse">
        <sequence>
            <element name="korelace" type="string"/>
            <element name="seznamZamestnavatelu" type="tns:PuZamestnavatelList"
                     minOccurs="0"/>
            <element name="stavVyrizeniPozadavku"
                     type="tns:stavVyrizeniPozadavkuTyp"/>
        </sequence>
    </complexType>
    <complexType name="PuZamestnavatelList">
        <sequence>
            <element name="zamestnavatel" type="tns:PuZamestnavatelDataUser"
                     minOccurs="0" maxOccurs="unbounded"/>
        </sequence>
    </complexType>
    <complexType name="PuZamestnavatelDataUser">
        <sequence>
            <element name="udajeZamestnavatele" type="tns:PuSubjektUser"/>
            <element name="materskeUp" type="tns:PuKodNazevUser"/>
            <element name="obchodniNazev" type="string" minOccurs="0"/>
            <element name="datumPrihlaseni" type="date" minOccurs="0"/>
            <element name="datumOdhlaseni" type="date" minOccurs="0"/>
            <element name="vypocetPrumeruKeDni" type="date" minOccurs="0"/>
            <element name="prumernaMesicniUhrada" type="decimal" minOccurs="0"/>
            <element name="prumernyPocetZamestnancu" type="decimal"
                     minOccurs="0"/>
            <element name="pravniForma" type="tns:PuKodNazevUser"
                     minOccurs="0"/>
            <element name="udajeFyzickeOsoby" type="tns:PuSubjektUser"
                     minOccurs="0"/>
            <element name="pravniSubjektivita" type="tns:PuKodNazevUser"
                     minOccurs="0"/>
            <element name="odvetvi" type="tns:PuKodNazevUser" minOccurs="0"/>
            <element name="denVyplatyMezd" type="string" minOccurs="0"/>
            <element name="bankovniSpojeni" type="tns:PuKontoUser"
                     minOccurs="0"/>
            <element name="iban" type="string" minOccurs="0"/>
            <element name="bic" type="string" minOccurs="0"/>
            <element name="noveCisloZamestnavatele" type="string"
                     minOccurs="0"/>
            <element name="noveMaterskeUp" type="tns:PuKodNazevUser"
                     minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="osobniDataPojistence">
        <sequence>
            <element name="pojistenec" type="tns:PuPojistenecRequestUser"/>
            <element name="maxPocet" type="decimal" minOccurs="0"/>
            <element name="datumPlatnosti" type="date" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecRequestUser">
        <sequence>
            <element name="cisloPojistence" type="string" minOccurs="0"/>
            <element name="priznak" type="string" minOccurs="0"/>
            <element name="jmeno" type="string" minOccurs="0"/>
            <element name="prijmeni" type="string" minOccurs="0"/>
            <element name="rodnePrijmeni" type="string" minOccurs="0"/>
            <element name="datumNarozeni" type="date" minOccurs="0"/>
            <element name="pohlavi" type="string" minOccurs="0"/>
            <element name="materskeUp" type="string" minOccurs="0"/>
            <element name="ulice" type="string" minOccurs="0"/>
            <element name="obec" type="string" minOccurs="0"/>
            <element name="psc" type="string" minOccurs="0"/>
            <element name="cisloDomu" type="string" minOccurs="0"/>
            <element name="kodStatu" type="string" minOccurs="0"/>
            <element name="cisloPrukazu" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecUser">
        <sequence>
            <element name="cisloPojistence" type="string"/>
            <element name="priznak" type="string"/>
            <element name="jmeno" type="string"/>
            <element name="prijmeni" type="string"/>
            <element name="rodnePrijmeni" type="string" minOccurs="0"/>
            <element name="datumNarozeni" type="date"/>
            <element name="pohlavi" type="string"/>
        </sequence>
    </complexType>
    <complexType name="osobniDataPojistenceResponse">
        <sequence>
            <element name="result" type="tns:PuPojistenecResponseUser"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecResponseUser">
        <sequence>
            <element name="seznamPojistencu" type="tns:PuPojistenecList"
                     minOccurs="0"/>
            <element name="stavVyrizeniPozadavku" type="decimal"/>
            <element name="textChyby" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecList">
        <sequence>
            <element name="array" type="tns:PuPojistenecDataUser" minOccurs="0"
                     maxOccurs="unbounded"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecDataUser">
        <sequence>
            <element name="pojistenec" type="tns:PuPojistenecUser"/>
            <element name="materskeUp" type="tns:PuKodNazevUser"/>
            <element name="noveMaterskeUp" type="tns:PuKodNazevUser"
                     minOccurs="0"/>
            <element name="typAdresy" type="string" minOccurs="0"/>
            <element name="aktualniAdresa" type="tns:PuAdresaUser"
                     minOccurs="0"/>
            <element name="adresaA" type="tns:PuAdresaUser" minOccurs="0"/>
            <element name="adresaB" type="tns:PuAdresaUser" minOccurs="0"/>
            <element name="adresaE" type="tns:PuAdresaUser" minOccurs="0"/>
            <element name="statniKategorie" type="tns:PuKodZkratkaUser"
                     minOccurs="0"/>
            <element name="kategorieSamoplatce" type="tns:PuKodZkratkaUser"
                     minOccurs="0"/>
            <element name="pocetZamestnani" type="decimal" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="identifikacePojistence">
        <sequence>
            <element name="pojistenec" type="tns:PuPojistenecRequestUser"/>
            <element name="maxPocet" type="decimal" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="identifikacePojistenceResponse">
        <sequence>
            <element name="result" type="tns:PuPojistenecIdResponseUser"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecIdResponseUser">
        <sequence>
            <element name="seznamPojistencu" type="tns:PuPojistenecIdList"
                     minOccurs="0"/>
            <element name="stavVyrizeniPozadavku" type="decimal"/>
            <element name="textChyby" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuPojistenecIdList">
        <sequence>
            <element name="array" type="tns:PuPojistenecUser" minOccurs="0"
                     maxOccurs="unbounded"/>
        </sequence>
    </complexType>
    <complexType name="stavPojisteni">
        <sequence>
            <element name="seznamPojistencu" type="tns:PuStavPojisteniRecUser"
                     maxOccurs="unbounded"/>
            <element name="datumPlatnosti" type="date" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuStavPojisteniRecUser">
        <sequence>
            <element name="cisloPojistence" type="string"/>
            <element name="priznak" type="string" minOccurs="0"/>
            <element name="prijmeni" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="stavPojisteniResponse">
        <sequence>
            <element name="result" type="tns:PuStavPojisteniResponseUser"/>
        </sequence>
    </complexType>
    <complexType name="PuStavPojisteniResponseUser">
        <sequence>
            <element name="stavyPojisteni" type="tns:PuStavPojisteniList"
                     minOccurs="0"/>
            <element name="stavVyrizeniPozadavku" type="decimal"/>
            <element name="textChyby" type="string" minOccurs="0"/>
        </sequence>
    </complexType>
    <complexType name="PuStavPojisteniList">
        <sequence>
            <element name="array" type="tns:PuStavPojisteniDataUser"
                     minOccurs="0" maxOccurs="unbounded"/>
        </sequence>
    </complexType>
    <complexType name="PuStavPojisteniDataUser">
        <sequence>
            <element name="cisloPojistence" type="string" minOccurs="0"/>
            <element name="priznak" type="string" minOccurs="0"/>
            <element name="stav" type="string"/>
            <element name="zdravotniPojistovna" type="tns:PuKodZkratkaUser"
                     minOccurs="0"/>
        </sequence>
    </complexType>
    <element name="DataZamestnavateleB2BPozadavek"
             type="tns:dataZamestnavatele"/>
    <element name="DataZamestnavateleB2BOdpoved"
             type="tns:dataZamestnavateleResponse"/>
    <simpleType name="stavVyrizeniPozadavkuTyp">
        <restriction base="NMTOKEN">
            <enumeration value="1">
                <annotation>
                    <documentation>Probehlo prijeti pozadavku</documentation>
                </annotation>
            </enumeration>
            <enumeration value="-1">
                <annotation>
                    <documentation>Chybne vstupni parametry sluzby</documentation>
                </annotation>
            </enumeration>
            <enumeration value="-2">
                <annotation>
                    <documentation>Soubor obsahoval chybna data</documentation>
                </annotation>
            </enumeration>
            <enumeration value="-3">
                <annotation>
                    <documentation>Role nemá oprávnění odesílat data</documentation>
                </annotation>
            </enumeration>
            <enumeration value="-9">
                <annotation>
                    <documentation>Sluzba prijala pozadavek, ktery bude
                                   zpracovan pozdeji</documentation>
                </annotation>
            </enumeration>
        </restriction>
    </simpleType>
</schema>
