<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ed="http://www.mf.gov.pl/schematy/SZPROT/Typy_eDecyzje/1.0.xsd" xmlns="http://www.mf.gov.pl/schematy/SZPROT/e-Decyzje/WDTEA01/1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mf.gov.pl/schematy/SZPROT/e-Decyzje/WDTEA01/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <!--=====Wniosek wydanie lub zmianę pozwolenia na korzystanie z procedury odprawy czasowej-->
  <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="WDTEA01">
    <xs:annotation>
      <xs:documentation source="rootName" xml:lang="pl">
        WDTEA01
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Wniosek o pozwolenie na korzystanie z procedury odprawy czasowej.
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny komunikatu z wnioskiem o pozwolenie na korzystanie z procedury odprawy czasowej.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Wniosek" type="ed:NaglowekEdecyzjePozType3">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dane ogólne wniosku (D.1/1, D.1/3, D.1/4, D.1/6, D.1/7).
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="WnioskodawcaPodmiot" type="ed:PodmiotWnioskodawcaCloType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Wnioskodawca (D.3/1; D.3/2).
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane Wnioskodawcy
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="PrzedstawicielPodmiot" type="ed:PodmiotPrzedstawicielCloType" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Przedstawiciel - podmiot  (D.3/3; D.3/4).
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane Przedstawiciela, który jest podmiotem gospodarczym.
            </xs:documentation>
            <xs:documentation source="rule"/>
          </xs:annotation>
        </xs:element>
        <xs:element name="PrzedstawicielOsoba" type="ed:OsobaFizycznaPrzedstawicielType" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Przedstawiciel - osoba fizyczna (D.3/3; D.3/4).
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane przedsta
            </xs:documentation>
            <xs:documentation source="rule"/>
          </xs:annotation>
        </xs:element>
        <xs:element name="OsobaOdpowiedzialnaZaWniosek" type="ed:OsobaFizycznaIdEdecyzjeType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Osoba do kontaktu odpowiedzialna za wniosek (D.3/6).
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="KsiegiRachunkowe" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Miejsce, w którym są prowadzone lub dostępne główne księgi rachunkowe na potrzeby celne i ich rodzaj (D.4/3; D.8/1).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MiejsceProwadzenia" type="ed:AdresType" minOccurs="0">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Miejsce, w którym prowadzone są główne księgi rachunkowe na potrzeby celne lub w którym są one dostępne (D.4/3).
                  </xs:documentation>
                  <xs:documentation source="rule">
                    R652
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="rodzaj" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Rodzaj głównych ksiąg rachunkowych na potrzeby celne (D.8/1)
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="EwidencjeCelne" minOccurs="0" maxOccurs="99">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Miejsce prowadzenia ewidencji oraz jej rodzaj (D.4/4; D.8/2).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MiejsceProwadzenia" type="ed:AdresType" minOccurs="0">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Miejsce prowadzenia ewidencji (D.4/4/).
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="rodzaj" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Rodzaj ewidencji (D.8/2) 
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="PierwszeMiejsceWykorzystania" type="ed:LokalizacjaMiejsceType" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Pierwsze miejsce wykorzystania (D.4/5).
            </xs:documentation>
            <xs:documentation source="rule">
              R653, R512
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="DataRozpoczeciaWaznosciPozwolenia" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Wnioskowana data rozpoczęcia ważności pozwolenia (D.4/6).
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="dataOd" type="xs:date" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Wnioskowana data początkowa
                </xs:documentation>
                <xs:documentation source="rule">
                  R659
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="opis" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Opis terminu rozpoczęcia
                </xs:documentation>
                <xs:documentation source="rule">
                  R659
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="MiejsceWykorzystania" type="ed:LokalizacjaMiejsceType" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Miejsce przetwarzania lub wykorzystania (D.4/9).
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Miejsce (miejsca) przetwarzania lub wykorzystania.
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="UCObjecia" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Urząd celny objęcia (D.4/10).
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Urząd celny(urzędy celne) w którym następuje objęcie towarów procedurą.
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="kod" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Kod urzędu celnego objęcia
                </xs:documentation>
                <xs:documentation source="list">
                  001
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:length value="8"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="nazwa" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Nazwa urzędu celnego 
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="255"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="UCZamkniecia" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Urząd celny zamknięcia (D.4/11)
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="kod" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Kod urzędu celnego zakończenia
                </xs:documentation>
                <xs:documentation source="list">
                  001
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:length value="8"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="nazwa" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Nazwa urzędu celnego 
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="255"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="UCKontrolny" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Kontrolny urząd celny (D.4/13).
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="kod" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Kod urzędu celnego kontrolnego
                </xs:documentation>
                <xs:documentation source="list">
                  001A
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:length value="8"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="nazwa" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Nazwa urzędu celnego kontrolnego
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="255"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="ZamkniecieProcedury" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Informacje dotyczące zamknięcia procedury celnej  (D.4/17)
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="termin" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Termin na zamknięcie procedury w miesiącach
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:integer">
                  <xs:totalDigits value="2"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="automatycznePrzedluzenieTerminu" type="xs:boolean" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Czy automatyczne przedłużenie terminu zamknięcia procedury (art. 174 ust. 2 rozporządzenia Delegowanego)?
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="opis" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Opis dodatkowy
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="TowarObejmowany" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Towary, które mają zostać objęte procedurą (D.5/1; D.5/2; D.5/3; D.5/4).
            </xs:documentation>
            <xs:documentation source="rule">
              R664, R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="ed:TowarObejmowanyZalacznikAType">
                <xs:sequence>
                  <xs:element name="Wartosc" maxOccurs="9">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Wartość i waluta towaru (D 5/4) 
                      </xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute name="kwota" use="required">
                        <xs:simpleType>
                          <xs:restriction base="xs:decimal">
                            <xs:totalDigits value="16"/>
                            <xs:fractionDigits value="2"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute name="waluta" use="required">
                        <xs:annotation>
                          <xs:documentation source="name" xml:lang="pl">
                            Waluta
                          </xs:documentation>
                          <xs:documentation source="list">
                            026
                          </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:maxLength value="3"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="ilosc" use="required">
                  <xs:annotation>
                    <xs:documentation source="name" xml:lang="pl">
                      Ilość (D 5/3)
                    </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:decimal">
                      <xs:totalDigits value="16"/>
                      <xs:fractionDigits value="6"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="jednostkaMiary" use="required">
                  <xs:annotation>
                    <xs:documentation source="name" xml:lang="pl">
                      Jednostka miary kod
                    </xs:documentation>
                    <xs:documentation source="list">
                      068
                    </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:length value="3"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="jednostkaMiaryNazwa" use="optional">
                  <xs:annotation>
                    <xs:documentation source="name" xml:lang="pl">
                      Jednostka miary (D 5/3)
                    </xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:maxLength value="512"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="TowarEkwiwalentny" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Towar ekwiwalentny (D.5/6).
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="kodTowaru" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Kod towaru
                </xs:documentation>
                <xs:documentation source="list">
                  028
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:length value="8"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="opis" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Opis towaru
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Należy podać jakość handlową oraz parametry techniczne. Jeżeli towary ekwiwalentne posiadają wyższy stopień przetworzenia lub są w lepszym stanie niż towary nieunijne (w przypadku napraw), należy podać szczegółowe informacje.
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="czyCloDodatkowe" type="xs:boolean" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Czy towary nieunijne podlegałyby cłu antydumpingowemu, cłu wyrównawczemu, cłu ochronnemu lub jakiemukolwiek cłu dodatkowemu wynikającemu z zawieszenia koncesji, gdyby zgłoszono je do dopuszczenia do obrotu?
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="WlascicielTowarow" minOccurs="0" maxOccurs="99">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Właściciel towarów (D.3/8)
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Adres" type="ed:AdresType">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Adres właściciela towarów.
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="nazwa" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Nazwa właściciela towarów
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="70"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="IdentyfikacjaTowarow" type="ed:IdentyfikacjaTowarowType" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Identyfikacja towarów (D.5/8).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="PlanowaneDzialania" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Szczegółowe informacje dotyczące planowanych działań (D.7/5).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="opis" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Opis
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Opis planowanych działań.
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="Zabezpieczenie" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Zabezpieczenie (D.4/12; D.8/6; D.8/7).
            </xs:documentation>
            <xs:documentation source="rule">
              R512, R906
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ZabezpieczeniePojedyncze" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Zabezpieczenie pojedyńcze
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="urzadCelnyZabezpieczeniaKod" use="required">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Kod
                      </xs:documentation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Kod urzędu celnego zabezpieczenia (D.4/12).
                      </xs:documentation>
                      <xs:documentation source="list">
                        001A
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:length value="8"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="urzadCelnyZabezpieczeniaNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Nazwa urzędu celnego zabezpieczenia (D.4/12).
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="256"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
              <xs:element name="ZabezpieczenieGeneralne" minOccurs="0">
                <xs:annotation>
                  <xs:documentation source="name" xml:lang="pl">
                    Zabezpieczenie generalne
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="NumerGRN" minOccurs="0" maxOccurs="9">
                      <xs:annotation>
                        <xs:documentation source="name" xml:lang="pl">
                          Numer GRN (D.8/6)
                        </xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:attribute name="nrGRN" use="optional">
                          <xs:annotation>
                            <xs:documentation source="name" xml:lang="pl">
                              Numer GRN (D.8/6)
                            </xs:documentation>
                            <xs:documentation source="rule">
                              R656
                            </xs:documentation>
                          </xs:annotation>
                          <xs:simpleType>
                            <xs:restriction base="xs:string">
                              <xs:maxLength value="24"/>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="zlozeniePrzedZgloszeniem" type="xs:boolean" use="required">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Zostanie złożone przed wydaniem pozwolenia
                      </xs:documentation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Informacja, czy zabezpieczenie zostanie złożone przed wydaniem pozwolenia
                      </xs:documentation>
                      <xs:documentation source="rule">
                        R977
                      </xs:documentation>
                    </xs:annotation>
                  </xs:attribute>
                  <xs:attribute name="kwota" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Kwota zabezpieczenia
                      </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:attribute name="waluta" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Waluta
                      </xs:documentation>
                      <xs:documentation source="list">
                        026
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="3"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="urzadCelnyZabezpieczeniaKod" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Kod
                      </xs:documentation>
                      <xs:documentation source="doc" xml:lang="pl">
                        Kod urzędu celnego zabezpieczenia (D.4/12).
                      </xs:documentation>
                      <xs:documentation source="list">
                        001A
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:length value="8"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                  <xs:attribute name="urzadCelnyZabezpieczeniaNazwa" use="optional">
                    <xs:annotation>
                      <xs:documentation source="name" xml:lang="pl">
                        Nazwa urzędu celnego zabezpieczenia (D.4/12).
                      </xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="256"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="wymaganeZabezpieczenieKod" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Kod określający wymagalność zabezpieczenia
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Kod określający wymagalność zabezpieczenia (D.8/6) :
                  0. Nie wymaga się zabezpieczenia 1. Wymaga się zabezpieczenia
                </xs:documentation>
                <xs:documentation source="rule">
                  R656, R657
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:length value="1"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="rodzajZabezpieczenia" type="xs:string" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Rodzaj zabezpieczenia
                </xs:documentation>
                <xs:documentation source="doc">
                  Lista wyboru o wartościach:
                  1. Zabezpieczenie pojedyńcze
                  2. Zabezpieczenie generalne
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="PrzeniesieniePrawIObowiazkow" minOccurs="0" maxOccurs="999">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Przeniesienie praw i obowiązków (D.8/8).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="nrEORIPodmiotuNaPrzeniesienie" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Numer EORI podmiotu, na którego przeniesienie 
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="35"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="przeniesieniePrawIObowiazkow" type="xs:boolean" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Czy wniosek o przeniesienie praw i obowiązków?
                </xs:documentation>
                <xs:documentation source="rule">
                  R658
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="opis" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Opis
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Szczegółowe informacje na temat osoby, na którą przenoszone są prawa i obowiązki oraz proponowane formalności (D.8/8).
                </xs:documentation>
                <xs:documentation source="rule">
                  R658
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="stosowanieINF" type="xs:boolean" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  INF
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="inneSrodkiInformacjiElektro" type="xs:boolean" use="optional">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Inne środki elektronicznej wymiany informacji  niż INF
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="ZgodaNaPublikacje" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Zgoda na publikację w wykazie posiadaczy pozwoleń (D.8/12).
            </xs:documentation>
            <xs:documentation source="rule">
              R512
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="zgodaNaPublikacje" type="xs:boolean" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Czy wyrażenie zgody na publikację w wykazie posiadaczy pozwoleń?
                </xs:documentation>
                <xs:documentation source="doc" xml:lang="pl">
                  Znacznik wyrażenia zgody na publikację w wykazie posiadaczy pozwoleń (D.8/12)
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="InformacjaDodatkowa" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dodatkowe informacje (D.8/5).
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="tekst" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Tekst informacji dodatkowej
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="512"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element name="Zalacznik" type="ed:ZalacznikType" minOccurs="0" maxOccurs="99">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Załączony dokument (D.2/4).
            </xs:documentation>
            <xs:documentation source="doc">
              Załączny dokument elektroniczny w postaci pliku lub numeru e-Dokumentu w podsystemie e-Dokumenty.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="SkladajacyWniosek" type="ed:SkladajacyWniosekType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Data i dane osoby składającej wniosek (D.1/2; D.4/2).
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element ref="ds:Signature" minOccurs="0">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Podpis elektroniczny osoby składającej wniosek.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
