684

ID684
Data2011-10-19
Symbol2011/10/19/684
InstytucjaMinisterstwo Infrastruktury
NazwaWniosek o wydanie prawa jazdy
Czy Aktualny0

Ustawy (1)

  • URI://Dziennik_Ustaw/2009/9/46
  • Rozporządzenie Ministra Infrastruktury z dnia 29 grudnia 2008 r. zmieniające rozporządzenie w sprawie wydawania uprawnień do kierowania pojazdami

    Pliki

    Schemat

    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wnio="http://crd.gov.pl/wzor/2011/10/19/684/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:os="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/03/06/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://crd.gov.pl/wzor/2011/10/19/684/" version="1.0">
      <xs:import schemaLocation="http://www.w3.org/2001/xml.xsd" namespace="http://www.w3.org/XML/1998/namespace"/>
      <xs:import schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" namespace="http://www.w3.org/2000/09/xmldsig#"/>
      <xs:import schemaLocation="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/osoba.xsd" namespace="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/"/>
      <xs:import schemaLocation="http://crd.gov.pl/xml/schematy/adres/2009/03/06/adres.xsd" namespace="http://crd.gov.pl/xml/schematy/adres/2009/03/06/"/>
      <xs:import schemaLocation="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/struktura.xsd" namespace="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/"/>
    
    
      <!-- wniosek: complex types-->
      <xs:complexType name="wniosek_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
    
          <!-- kodUrzedu, idWniosku i idInteresanta to elementy nie występujące w oficjalnej wersji Wniosku.
               Zostały dodane na użytek oprogramowania interfejsowego aby umożliwić komunikację ze Skrzynką Podawczą. -->
          <xs:element minOccurs="1" maxOccurs="1" name="kodUrzedu" type="adr:TERCTyp"/>
          <xs:element minOccurs="1" maxOccurs="1" name="idWniosku" type="wnio:idWniosku_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="idInteresanta" type="wnio:idInteresanta_t"/>
    
          <xs:element minOccurs="0" maxOccurs="1" name="naglowek" type="wnio:naglowek_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="danePersonalne" type="wnio:danePersonalne_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="wydanyDokument" type="wnio:wydanyDokument_t"/>
          <xs:choice minOccurs="1" maxOccurs="1">
            <xs:element name="prawoJazdyPozwolenie" type="wnio:prawoJazdyPozwolenie_t"/>
            <xs:element name="potwierdzenieKwalifikacji" type="wnio:potwierdzenieKwalifikacji_t"/>
            <xs:element name="wydanieWtornika" type="wnio:wydanieWtornika_t"/>
          </xs:choice>
          <xs:element minOccurs="1" maxOccurs="1" name="sposobPrzekazania" type="wnio:sposobPrzekazania_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="oswiadczenie" type="wnio:oswiadczenie_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="decyzja" type="wnio:decyzja_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="danePersonalne_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:choice minOccurs="1" maxOccurs="1">
            <xs:element name="pesel" type="os:PESELTyp"/>
            <xs:element name="dataUrodzenia" type="xs:date"/>
          </xs:choice>
          <xs:element minOccurs="1" maxOccurs="1" name="nazwisko1" type="wnio:nazwisko_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="nazwisko2" type="wnio:nazwisko_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="imiona" type="wnio:imiona_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="miejsceUrodzenia" type="wnio:miejsceUrodzenia_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="obywatelstwo" type="wnio:obywatelstwo_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="kodPocztowy" type="wnio:kodPocztowy_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="miejscowosc" type="wnio:miejscowosc_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="ulica" type="wnio:ulica_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="numerBudynku" type="adr:BudynekTyp"/>
          <xs:element minOccurs="0" maxOccurs="1" name="numerLokalu" type="wnio:numerLokalu_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="telefon" type="wnio:telefon_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="e-mail" type="adr:EmailTyp"/>
        </xs:sequence>
      </xs:complexType>
    
      <!-- Definicje typów dziedziczących po typach zdefiniowanych w CRD, 
          dla ktorych konieczne bylo wprowadzenie dodatkowych ograniczen na dlugosc. -->
      <xs:simpleType name="kodPocztowy_t">
        <xs:restriction base="adr:KodPocztowyTyp">
          <xs:pattern value="([0-9]{2}-[0-9]{3})|([0-9]{5})"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="miejscowosc_t">
        <xs:restriction base="adr:MiejscowoscTyp">
          <xs:maxLength value="24"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="ulica_t">
        <xs:restriction base="adr:NazwaUlicyTyp">
          <xs:maxLength value="30"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="numerLokalu_t">
        <xs:restriction base="adr:LokalTyp">
          <xs:maxLength value="8"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="telefon_t">
        <xs:restriction base="adr:TelefonTyp">
          <xs:maxLength value="20"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="miejsceUrodzenia_t">
        <xs:restriction base="os:MiejsceUrodzeniaTyp">
          <xs:maxLength value="24"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="nazwisko_t">
        <xs:restriction base="os:CzlonNazwiskaTyp">
          <xs:maxLength value="28"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="imiona_t">
        <xs:restriction base="os:ImieTyp">
          <xs:maxLength value="24"/>
        </xs:restriction>
      </xs:simpleType>
      <!--koniec typów dziedziczących po typach zdefiniowanych w CRD -->
    
    
      <xs:complexType name="wydanyDokument_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="0" maxOccurs="1" name="wydanePj" type="wnio:wydanyDokumentPJ_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="wydanePt" type="wnio:wydanyDokumentPT_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="sposobPrzekazania_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element name="odbior">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="osobisty">
                  <xs:annotation>
                    <xs:documentation>Odbiorę osobiście</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="poczta">
                  <xs:annotation>
                    <xs:documentation>Proszę przesłać za pośrednictwem poczty</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="powiadomienie">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="sms">
                  <xs:annotation>
                    <xs:documentation>Proszę o przesłanie informacji o możliwości odbioru dokumentu w urzędzie za pośrednictwem smsa.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="e-mail">
                  <xs:annotation>
                    <xs:documentation>Proszę o przesłanie informacji o możliwości odbioru dokumentu w urzędzie za pośrednictwem e-maila</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="oswiadczenie_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element name="zgodnosc" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>Dane podane we wniosku są zgodne ze stanem faktycznym</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="brakUzaleznien" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Nie stwierdzono u mnie aktywnej formy uzależnienia od alkoholu
                lub podobnie działającego środka.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="brakZakazu" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Nie został orzeczony w stosunku do mnie prawomocnym wyrokiem sądu
                zakaz prowadzenia pojazdów.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="nieZatrzymane" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Nie mam zatrzymanego prawa jazdy / pozwolenia
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="nieCofniete" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Nie mam cofniętego uprawnienia do kierowania pojazdami
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="utrata" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Utraciłem prawo jazdy / pozwolenie
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="pobytRP" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Posiadam miejsce zamieszkania zgodnie z art.90 ust. 1 pkt 5 ustawy Prawo o ruchu drogowym
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="przewoz" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Wykonuję przewóz drogowy różnymi pojazdami,dla których jest wymagane posiadanie prawa jazdy co najmniej jednej spośród kategorii C1, C1+E, C lub C+E oraz D1,D1+E, D lub D+E,
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="zgoda" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
                Wyrażam zgodę na przetwarzanie moich danych osobowych dla potrzeb niezbędnych do realizacji procesu produkcji i wydawania prawa jazdy
                (zgodnie z ustawą z dnia 29 sierpnia 1997r. o ochronie danych osobowych Dz. U. z 2002 r. Nr 101, poz. 926, z późn. zm.)
              </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="naglowek_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="daneOrganu">
            <xs:complexType>
              <xs:sequence minOccurs="1" maxOccurs="1">
                <xs:element minOccurs="1" maxOccurs="1" name="nazwaOrg" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Nazwa organu wydającego</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="ulOrg" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Ulica organu wydającego</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="nrBudOrg" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Numer budynku organu wydającego</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="kodOrg" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Kod pocztowy organu wydającego</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="miejscOrg" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Miejscowość organu wydającego</xs:documentation>
                  </xs:annotation>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="miejWn" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Miejscowość złożenia wniosku</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="dataWn" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Data złożenia wniosku</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="ramka">
            <xs:complexType>
              <xs:sequence minOccurs="1" maxOccurs="1">
                <xs:element minOccurs="1" maxOccurs="1" name="kodTer" fixed="">
                  <xs:annotation>
                    <xs:documentation>Kod terytorialny wojewody warszawskiego lub starostwa</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:maxLength value="7"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="dataPrzyj" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Data przyjęcia wniosku</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="nrWRej" fixed="">
                  <xs:annotation>
                    <xs:documentation>Numer w rejestrze</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:maxLength value="8"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="nrKartyKier" fixed="">
                  <xs:annotation>
                    <xs:documentation>Numer karty kierowcy</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:maxLength value="7"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="prawoJazdyPozwolenie_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="sprawa" type="wnio:sprawa_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="kategorie" type="wnio:kategorie_t"/>
          <xs:group minOccurs="1" maxOccurs="1" ref="wnio:wspolneZalaczniki"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPj" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPt" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczenieLek" type="wnio:orzeczenieLek_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczeniePsych" type="wnio:orzeczeniePsych_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="wniosekMsz" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanZagPj" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanWojDok" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="tlumaczenie" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPobyt" type="wnio:zalacznik_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="wydanieWtornika_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="sprawa" type="wnio:sprawaWtornik_t"/>
          <xs:element minOccurs="1" maxOccurs="3" name="powodWymiany" type="wnio:powodWymiany_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="zmianaDanych" type="wnio:zmianaDanych_t"/>
          <xs:group minOccurs="1" maxOccurs="1" ref="wnio:wspolneZalaczniki"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPj" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPt" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczenieLek" type="wnio:orzeczenieLek_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczeniePsych" type="wnio:orzeczeniePsych_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:complexType name="potwierdzenieKwalifikacji_t">
        <xs:annotation>
          <xs:documentation>Wniosek o potwierdzenie kwalifikacji zawodowej</xs:documentation>
        </xs:annotation>
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:group minOccurs="1" maxOccurs="1" ref="wnio:wspolneZalaczniki"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanSwiad" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="skanPj" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczenieLek" type="wnio:orzeczenieLek_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="orzeczeniePsych" type="wnio:orzeczeniePsych_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:group name="wspolneZalaczniki">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="1" name="fotografia" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="1" name="podpis" type="wnio:zalacznik_t"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="dowodWplaty" type="wnio:dowodWplaty_t"/>
          <xs:element minOccurs="0" maxOccurs="3" name="inny" type="wnio:innyZalacznik_t"/>
        </xs:sequence>
      </xs:group>
    
      <xs:complexType name="innyZalacznik_t">
        <xs:complexContent mixed="false">
          <xs:extension base="wnio:zalacznik_t">
            <xs:sequence minOccurs="1" maxOccurs="1">
              <xs:element minOccurs="0" maxOccurs="1" name="opis" type="xs:string"/>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="orzeczenie_t">
        <xs:complexContent mixed="false">
          <xs:extension base="wnio:zalacznik_t">
            <xs:sequence minOccurs="1" maxOccurs="1">
              <xs:element minOccurs="0" maxOccurs="1" name="numer">
                <xs:simpleType>
                  <xs:annotation>
                    <xs:documentation>Numer orzeczenia lekarskiego</xs:documentation>
                  </xs:annotation>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element minOccurs="0" maxOccurs="1" name="dataWydania" type="xs:date"/>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="orzeczenieLek_t">
        <xs:complexContent mixed="false">
          <xs:extension base="wnio:orzeczenie_t">
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="orzeczeniePsych_t">
        <xs:complexContent mixed="false">
          <xs:extension base="wnio:orzeczenie_t"/>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="dowodWplaty_t">
        <xs:complexContent mixed="false">
          <xs:extension base="wnio:zalacznik_t">
            <xs:sequence minOccurs="1" maxOccurs="1">
              <xs:element minOccurs="0" maxOccurs="1" name="kwota">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:pattern value="[0-9]+\.[0-9]{2}"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
    
      <xs:complexType name="kategorie_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="14" name="kategoria" type="wnio:kategoria_t"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="wydanyDokumentPJ_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="kategorie" type="wnio:kategorie_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="numerPj" type="wnio:numerPj_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerDruku_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="dataWydania" type="xs:date"/>
          <xs:element minOccurs="1" maxOccurs="1" name="organWydajacy" type="wnio:organWydajacy_t"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="wydanyDokumentPT_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="numerPt" type="wnio:numerPj_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerDruku_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="dataWydania" type="xs:date"/>
          <xs:element minOccurs="1" maxOccurs="1" name="organWydajacy" type="wnio:organWydajacy_t"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="zmianaDanych_t">
        <xs:sequence minOccurs="1" maxOccurs="2">
          <xs:element name="z" type="wnio:daneOsobowe_t"/>
          <xs:element name="na" type="wnio:daneOsobowe_t"/>
        </xs:sequence>
      </xs:complexType>
    
      <!-- wniosek: simple types -->
      <xs:simpleType name="daneOsobowe_t">
        <xs:restriction base="xs:string">
          <xs:maxLength value="300"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="sprawa_t">
        <xs:restriction base="xs:string">
          <xs:enumeration value="wydaniePJ">
            <xs:annotation>
              <xs:documentation>Wydanie prawa jazdy</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wydaniePT">
            <xs:annotation>
              <xs:documentation>Wydanie pozwolenia tramwajowego</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="zwrotPj">
            <xs:annotation>
              <xs:documentation>Zwrot zatrzymanego prawa jazdy</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="zwrotPt">
            <xs:annotation>
              <xs:documentation>Zwrot zatrzymanego pozwolenia tramwajowego</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="przywrocenieCofnietego">
            <xs:annotation>
              <xs:documentation>Przywrócenie cofniętego uprawnienia</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wymianaDok">
            <xs:annotation>
              <xs:documentation>Wymiana dokumentu na podstawie art. 150 ustawy</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wymianaDokumentuWojskowego">
            <xs:annotation>
              <xs:documentation>Wymiana wojskowego dokumentu stwierdzającego uprawnienie do kierowania pojazdem</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wydanieMpj">
            <xs:annotation>
              <xs:documentation>Wydanie międzynarodowego prawa jazdy</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wymianaZagranicznegoPj">
            <xs:annotation>
              <xs:documentation>Wymiana prawa jazdy wydanego za granicą bez sprawdzania kwalifikacji</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wydaniePjZaGranice">
            <xs:annotation>
              <xs:documentation>
                Wydanie prawa jazdy przed upływem okresu orzeczonej kary zakazu prowadzenia pojazdów, za pośrednictwem
                jednostki, która je wydała za granicą (dotyczy osób zamieszkałych poza granicami RP)
              </xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
    
      </xs:simpleType>
      <xs:simpleType name="sprawaWtornik_t">
        <xs:restriction base="xs:string">
          <xs:enumeration value="wtornikPj">
            <xs:annotation>
              <xs:documentation>Wydanie wtórnika prawa jazdy</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="wtornikPt">
            <xs:annotation>
              <xs:documentation>Wydanie wtórnika pozwolenia tramwajowego</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="powodWymiany_t">
        <xs:restriction base="xs:string">
          <xs:enumeration value="utrata"/>
          <xs:enumeration value="zniszczenie">
            <xs:annotation>
              <xs:documentation>Zniszczenie dokumentu w stopniu powodującym jego nieczytelność</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="zmianaDanych"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="numerPj_t">
        <xs:restriction base="xs:string">
          <xs:maxLength value="16"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="numerDruku_t">
        <xs:restriction base="xs:string">
          <xs:maxLength value="8"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType name="organWydajacy_t">
        <xs:restriction base="xs:string">
          <xs:maxLength value="300"/>
        </xs:restriction>
      </xs:simpleType>
    
      <xs:simpleType name="obywatelstwo_t">
        <xs:annotation>
          <xs:documentation>
            Wpisać znak wyróżniający kraj (dla osób z obywatelstwem polskim wpisać PL)
          </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
          <xs:pattern value="[A-Z]{2,3}"/>
          <!-- miejsce na wpisanie obywatelstwa na formularzu: 3 znaki. -->
        </xs:restriction>
      </xs:simpleType>
      
      <xs:simpleType name="kategoria_t">
        <xs:restriction base="xs:string">
          <xs:enumeration value="A1"/>
          <xs:enumeration value="A"/>
          <xs:enumeration value="B1"/>
          <xs:enumeration value="B"/>
          <xs:enumeration value="C1"/>
          <xs:enumeration value="C"/>
          <xs:enumeration value="D1"/>
          <xs:enumeration value="D"/>
          <xs:enumeration value="B+E"/>
          <xs:enumeration value="C1+E"/>
          <xs:enumeration value="C+E"/>
          <xs:enumeration value="D1+E"/>
          <xs:enumeration value="D+E"/>
          <xs:enumeration value="T"/>
        </xs:restriction>
      </xs:simpleType>
    
      <xs:complexType name="prawoKat_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:choice minOccurs="1" maxOccurs="1">
            <xs:element minOccurs="1" maxOccurs="1" name="kategoria" type="wnio:kategoria_t"/>
            <xs:element minOccurs="1" maxOccurs="1" name="kodOgolny" type="xs:string" fixed="Kod Ogólny"/>
          </xs:choice>
          <xs:element minOccurs="1" maxOccurs="1" name="dataUzysk" type="xs:date">
            <xs:annotation>
              <xs:documentation>Data uzyskania</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="dataWaz" type="xs:date">
            <xs:annotation>
              <xs:documentation>Data ważności</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="ograniczenia" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="odebranie_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerPj_t"/>
          <xs:element minOccurs="1" maxOccurs="1" name="dataWyd" type="xs:date">
            <xs:annotation>
              <xs:documentation>Data wydania</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="dataOdeb" type="xs:date">
            <xs:annotation>
              <xs:documentation>Data odebrania/zwrotu</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="dataUni" type="xs:date">
            <xs:annotation>
              <xs:documentation>Data unieważnienia</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="odebraneUpr_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="0" maxOccurs="1" name="odebraniePJ" type="wnio:odebranie_t">
            <xs:annotation>
              <xs:documentation>Prawo jazdy</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="odebraniePT" type="wnio:odebranie_t">
            <xs:annotation>
              <xs:documentation>Pozwolenie</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="odebranieMPJ" type="wnio:odebranie_t">
            <xs:annotation>
              <xs:documentation>Miedzynarodowe prawo jazdy</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType name="decyzja_t">
        <xs:annotation>
          <xs:documentation>Decyzja</xs:documentation>
        </xs:annotation>
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="0" maxOccurs="1" name="prawoDo" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Prawo jazdy ważne do dnia</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="prawoNumerPj" type="wnio:numerPj_t" fixed=""/>
          <xs:element minOccurs="0" maxOccurs="1" name="pozwolenieDo" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Pozwolenie ważne do dnia</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="pozwolenieNumer" type="wnio:numerPj_t" fixed=""/>
          <xs:element minOccurs="0" maxOccurs="1" name="miedzyPrawoDo" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Międzynarodowe prawo jazdy ważne do dnia</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="miedzyPrawoNumerPj" type="wnio:numerPj_t" fixed=""/>
          <xs:element minOccurs="0" maxOccurs="15" name="prawoKat">
            <xs:complexType>
              <xs:sequence minOccurs="1" maxOccurs="1">
                <xs:choice minOccurs="1" maxOccurs="1">
                  <xs:element minOccurs="1" maxOccurs="1" name="kategoria" type="xs:string" fixed=""/>
                  <xs:element minOccurs="1" maxOccurs="1" name="kodOgolny" type="xs:string" fixed=""/>
                </xs:choice>
                <xs:element minOccurs="1" maxOccurs="1" name="dataUzysk" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Data uzyskania</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="1" maxOccurs="1" name="dataWaz" type="xs:string" fixed="">
                  <xs:annotation>
                    <xs:documentation>Data ważności</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="1" name="ograniczenia" type="xs:string" fixed=""/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="KatNaPierwStr" minOccurs="0" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>Kategorie na pierwszej stronie prawa jazdy</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence minOccurs="1" maxOccurs="1">
                <xs:element name="kat" minOccurs="1" maxOccurs="5" type="xs:string" fixed=""/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="podpisOrgWydajacego" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Podpis organu wydającego</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="odebraneUpr">
            <xs:complexType>
              <xs:sequence minOccurs="1" maxOccurs="1">
                <xs:element minOccurs="0" maxOccurs="1" name="odebraniePJ">
                  <xs:annotation>
                    <xs:documentation>Prawo jazdy</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence minOccurs="1" maxOccurs="1">
                      <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerPj_t" fixed=""/>
                      <xs:element minOccurs="1" maxOccurs="1" name="dataWyd" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data wydania</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataOdeb" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data odebrania/zwrotu</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataUni" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data unieważnienia</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="1" name="odebraniePT">
                  <xs:annotation>
                    <xs:documentation>Pozwolenie</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence minOccurs="1" maxOccurs="1">
                      <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerPj_t" fixed=""/>
                      <xs:element minOccurs="1" maxOccurs="1" name="dataWyd" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data wydania</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataOdeb" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data odebrania/zwrotu</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataUni" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data unieważnienia</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element minOccurs="0" maxOccurs="1" name="odebranieMPJ">
                  <xs:annotation>
                    <xs:documentation>Miedzynarodowe prawo jazdy</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:sequence minOccurs="1" maxOccurs="1">
                      <xs:element minOccurs="1" maxOccurs="1" name="numerDruku" type="wnio:numerPj_t" fixed=""/>
                      <xs:element minOccurs="1" maxOccurs="1" name="dataWyd" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data wydania</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataOdeb" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data odebrania/zwrotu</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element minOccurs="0" maxOccurs="1" name="dataUni" type="xs:string" fixed="">
                        <xs:annotation>
                          <xs:documentation>Data unieważnienia</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="podpisOsOdb" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Podpis osoby odbierającej</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" name="podpisOrgUniew" type="xs:string" fixed="">
            <xs:annotation>
              <xs:documentation>Podpis organu unieważniającego</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    
    
      <xs:complexType name="zalacznik_t">
        <xs:sequence minOccurs="1" maxOccurs="1">
          <xs:element minOccurs="1" maxOccurs="1" name="numerZalacznika" type="xs:unsignedShort">
            <xs:annotation>
              <xs:documentation>
                Numer jednoznacznie identyfikujący załącznik w ramach wniosku.
                W przypadku wysyłania poprawionej wersji załącznika należy zastosować ten sam numer, który miała wersja oryginalna.
                W przypadku anulowania załącznika i następnie próby wysłania poprawionej wersji tego samego załącznika, należy nadać mu nowy numer
                (nie kolidujący z numerami innych załączników, zarówno w bieżącej wersji wniosku jak i we wcześniejszych wersjach).
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="numerStrony" type="xs:unsignedShort">
            <xs:annotation>
              <xs:documentation>
                Numer strony załącznika. W przypadku załączników posiadających więcej niż jedną stronę, każda strona
                musi być wysłana jako osobny załącznik danego typu, z tym samym numerem załącznika i kolejnymi numerami strony.
                Para (numer załącznika, numer strony) musi byc unikalna w ramach wniosku.
              </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="1" maxOccurs="1" name="md5" type="xs:base64Binary"/>
        </xs:sequence>
      </xs:complexType>
    
      <xs:simpleType name="idInteresanta_t">
        <xs:annotation>
          <xs:documentation>
            Jednoznaczny w ramach urzędu identyfikator interesanta, nadawany przez Skrzynkę Podawczą
          </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:int"/>
      </xs:simpleType>
    
      <xs:simpleType name="idWniosku_t">
        <xs:annotation>
          <xs:documentation>
            Jednoznaczny w ramach urzędu identyfikator sprawy, nadawany przez Skrzynkę Podawczą
          </xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:int"/>
      </xs:simpleType>
    
      <!-- podpisany wniosek: complex type-->
      <xs:complexType name="podpisanyWniosek_t">
        <xs:sequence>
          <xs:element minOccurs="1" maxOccurs="1" name="wniosek" type="wnio:wniosek_t">
            <xs:annotation>
              <xs:documentation>Wniosek</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" maxOccurs="1" ref="ds:Signature"/>
        </xs:sequence>
      </xs:complexType>
    
      <!-- root element: podpisanyWniosek -->
      <xs:element name="podpisanyWniosek" type="wnio:podpisanyWniosek_t"/>
    </xs:schema>