<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mf.gov.pl/schematy/SZPROT/e-Decyzje/WDAZO01/1.0.xsd" xmlns:td="http://www.mf.gov.pl/schematy/SZPROT/Typy_eDecyzje/1.0.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.mf.gov.pl/schematy/SZPROT/e-Decyzje/WDAZO01/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <!--Wniosek o udzielenie, zmianę zezwolenia na nabywanie wyrobów akcyzowych jako zarejestrowany odbiorca-->
  <xs:import namespace="http://www.mf.gov.pl/schematy/SZPROT/Typy_eDecyzje/1.0.xsd" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=1022000"/>
  <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=10125"/>
  <xs:element name="WDAZO01">
    <xs:annotation>
      <xs:documentation source="rootName" xml:lang="pl">
        WDAZO01
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Komunikat zawiera dane wniosku  o udzielenie zezwolenia na nabywanie wyrobów akcyzowych, jako zarejestrowany odbiorca
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Wniosek" type="td:NaglowekWnioskuZezwolenieType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Wybór wniosku 
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane ogólne wniosku
            </xs:documentation>
            <xs:documentation source="rule">
              R502
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="WnioskodawcaPodmiot">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dane wnioskodawcy 
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane identyfikacyjne wnioskodawcy automatycznie pobrane z PDR
            </xs:documentation>
            <xs:documentation source="rule">
              R2
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="td:PodmiotZezwolenieAdresDoKorespondecjiType">
                <xs:attribute name="nrCEiDG" type="xs:boolean" use="optional">
                  <xs:annotation>
                    <xs:documentation source="name" xml:lang="pl">
                      Podmiot jest zarejestrowany w CEIDG
                    </xs:documentation>
                    <xs:documentation source="doc" xml:lang="pl">
                      Informacja, że podmiot jest zarejestrowany w CEIDG.
                    </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="PelnomocnikOsoba" type="td:PelnomocnikOsobaOPType" minOccurs="0" maxOccurs="9">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Pełnomocnik osoba fizyczna
            </xs:documentation>
            <xs:documentation source="rule">
              R2
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="DaneSzczegolowe">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dane szczegółowe wniosku
            </xs:documentation>
            <xs:documentation source="rule">
              R996, R999
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="WyrobTytoniowy" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Wyroby tytoniowe
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="wyrobTytoniowyKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób tytoniowy kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1570
                      </xs:documentation>
                      <xs:documentation source="rule">
                        R1001
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="5"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="wyrobTytoniowyNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób tytoniowy
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="512"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="szacIlosc" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Szacunkowa ilość wyrobów wyprowadzanych.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:decimal">
                        <xs:totalDigits value="16"/>
                        <xs:fractionDigits value="3"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Jedostka miary kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1665
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="2"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="nazwa" xml:lang="pl">
                        Jednostka miary
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="140"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
              <xs:element name="WyrobAlkoholowy" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Wyroby alkoholowe
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="wyrobAlkoholowyKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób alkoholowy kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1570
                      </xs:documentation>
                      <xs:documentation source="rule">
                        R1002
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="5"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="wyrobAlkoholowyNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób alkoholowy
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="512"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="szacIlosc" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Szacunkowa ilość wyrobów wyprowadzanych.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:decimal">
                        <xs:totalDigits value="16"/>
                        <xs:fractionDigits value="3"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Jedostka miary kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1664
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="2"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="nazwa" xml:lang="pl">
                        Jednostka miary
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="140"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
              <xs:element name="WyrobEnergetyczny" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Wyroby energetyczne
                  </xs:documentation>
                  <xs:documentation source="list">
                    1666
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="wyrobEnergetycznyKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób eneretyczny  kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1570
                      </xs:documentation>
                      <xs:documentation source="rule">
                        R1003
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="5"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="wyrobEnergetycznyNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wyrób energetyczny
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="512"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="szacIlosc" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Szacunkowa ilość wyrobów wyprowadzanych.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:decimal">
                        <xs:totalDigits value="16"/>
                        <xs:fractionDigits value="3"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Jedostka miary kod
                      </xs:documentation>
                      <xs:documentation source="list">
                        1666
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="2"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="jedMiaryNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="nazwa" xml:lang="pl">
                        Jednostka miary
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="140"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
              <xs:element name="AdresWyrobowAkcyzowych" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Lokalizacja miejsca odbioru wyrobów akcyzowych
                  </xs:documentation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Zezwolenie jest na jedno miejsce
                  </xs:documentation>
                  <xs:documentation source="rule">
                    R907
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:complexContent>
                    <xs:extension base="td:AdresBezDanychKomunikRequiredType">
                      <xs:attribute name="telefon" use="optional">
                        <xs:annotation>
                          <xs:documentation source="name" xml:lang="pl">
                            Telefon podstawowy
                          </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:maxLength value="50"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute name="fax" use="optional">
                        <xs:annotation>
                          <xs:documentation source="name" xml:lang="pl">
                            Fax
                          </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:maxLength value="50"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute name="email" use="optional">
                        <xs:annotation>
                          <xs:documentation source="name" xml:lang="pl">
                            Podstawowy adres email
                          </xs:documentation>
                          <xs:documentation source="rule">
                            R10
                          </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:maxLength value="50"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:extension>
                  </xs:complexContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="ZabezpieczeniaAkcyzowe" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Zabezpiecznie akcyzowe
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="formaZabezpieczeniaAkcyzowego" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Forma zabezpieczenia akcyzowego
                      </xs:documentation>
                      <xs:documentation source="list">
                        1572
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="adresHipoteki" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Adres nieruchomości z hipoteki
                      </xs:documentation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Pole aktywne gdy wybrano hipotekę z listy
                      </xs:documentation>
                      <xs:documentation source="rule"/>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="1000"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="numerKsiegiWieczystej" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Numer księgi wieczystej
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="35"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="skladNieruchomosci" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Skład nieruchomości
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="300"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="powierzchniaNieruchomosci" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Powierzchnia nieruchomości
                      </xs:documentation>
                      <xs:documentation source="rule">
                        R933
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="10"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="terminObowiazywania" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Termin obowiązywania
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Wybór z  listy proponowanego terminu obowiązywania zezwolenia :
                  nieoznaczony lub oznaczony.
                </xs:documentation>
                <xs:documentation source="list">
                  1564
                </xs:documentation>
                <xs:documentation source="rule">
                  R814
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="256"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="wazneOd" type="xs:date" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Ważne od:
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="wazneDo" type="xs:date" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Ważne do:
                </xs:documentation>
                <xs:documentation source="rule">
                  R814
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="infoOLiczbieZezw" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Informacja o liczbie posiadanych zezwoleń
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="3"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="rodzajZabezpieczeniaAkcyzowego" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Rodzaj zabezpieczenia akcyzowego
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Wybór z  listy wartości
                  :
                  1.Generalne
                  2.Ryczałtowe
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="1"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="wysokoscZabezpieczenia" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Wysokość zabezpiecznia
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:decimal">
                  <xs:totalDigits value="16"/>
                  <xs:fractionDigits value="2"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="Oswiadczenia" type="td:OswiadczenieType" minOccurs="0" maxOccurs="9">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Oświadczenia
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Osiadczenia jak w formularzach e-Klienta. Ggdy zaznaczono zabezpieczenie w formie hipoteki to rozszerzony zakres oświadczeń. 
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="InformacjaDodatkowa" type="td:InformacjaDodatkowaType" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dodatkowe informacje 
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Zalacznik" type="td:ZalacznikType" minOccurs="0" maxOccurs="99">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Załącznik
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Obowiązkowe deklarowane załączniki 
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="SkladajacyWniosek" type="td:SkladajacyWniosekType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Osoba składająca wniosek
            </xs:documentation>
            <xs:documentation source="doc">
              Dane osoby wnioskującej (podpisującej wniosek).
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="EMCS" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="doc" xml:lang="pl">
              Komunikacja EMCS
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Reprezentanci" minOccurs="0" maxOccurs="999">
                <xs:annotation>
                  <xs:documentation source="doc" xml:lang="pl">
                    Reprezentanci.
                  </xs:documentation>
                  <xs:documentation source="list">
                    4000V1
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="imie" use="required">
                    <xs:annotation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Imię. Imię.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:minLength value="0"/>
                        <xs:maxLength value="60"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="nazwisko" use="required">
                    <xs:annotation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Nazwisko. Nazwisko.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:minLength value="0"/>
                        <xs:maxLength value="90"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="idsiscROF" use="required">
                    <xs:annotation>
                      <xs:documentation source="doc" xml:lang="pl">
                        IdSISC_ROF. Identyfikator SISC reprezentanta będącego osobą fizyczną.
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:minLength value="0"/>
                        <xs:maxLength value="17"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="domyslnySposobKomunikacjiEmail" type="xs:boolean" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Domyślny sposób komunikacji E-mail
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="domyslnySposobKomunikacjiWebSer" type="xs:boolean" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Domyślny sposób komunikacji Webservice
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="podstawowyAdresEmail" use="optional">
              <xs:annotation>
                <xs:documentation source="doc" xml:lang="pl">
                  Podstawowy adres poczty elektronicznej (e-mail).
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:minLength value="0"/>
                  <xs:maxLength value="50"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="adresHTTPSUslugiWebservicePodm" use="optional">
              <xs:annotation>
                <xs:documentation source="doc" xml:lang="pl">
                  Adres HTTPS usługi webservice udostępnianej przez podmiot.
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:minLength value="0"/>
                  <xs:maxLength value="300"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="odciskPalcaCertyfikHTTPSUslugi" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Odcisk palca z certyfikatu HTTPS usługi.
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:minLength value="0"/>
                  <xs:maxLength value="70"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="login" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Login:
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:minLength value="0"/>
                  <xs:maxLength value="20"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="haslo" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Hasło:
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:minLength value="0"/>
                  <xs:maxLength value="20"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element ref="ds:Signature" minOccurs="0"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>