<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mf.gov.pl/schematy/SZPROT/e-Klient/WRR0003/1.0.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:sz="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mf.gov.pl/schematy/SZPROT/e-Klient/WRR0003/1.0.xsd">
  <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=10125"/>
  <xs:import namespace="http://www.mf.gov.pl/schematy/SZPROT/Typy/1.0.xsd" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=1021325"/>
  <xs:element name="WRR0003">
    <xs:annotation>
      <xs:documentation source="rootName" xml:lang="pl">
        WRR0003
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Wniosek o dezaktywację osoby fizycznej w SISC.
      </xs:documentation>
      <xs:documentation source="rootDoc" xml:lang="pl">
        Komunikat jest przekazywany przez osobę fizyczną do SZPROT PLUS.
      </xs:documentation>
      <xs:documentation source="doc" xml:lang="pl">
        Element główny.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Naglowek" type="sz:NaglowekType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Dane podstawowe
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="OsobaFizyczna">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Osoba fizyczna
            </xs:documentation>
            <xs:documentation source="doc" xml:lang="pl">
              Dane identyfikacyjne osoby fizycznej.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="sz:OsobaFizycznaIdentyfikacjaType">
                <xs:attribute name="zuzywajacyWyrAkc" type="xs:boolean" use="optional">
                  <xs:annotation>
                    <xs:documentation source="name" xml:lang="pl">
                      Czy osoba zużywa wyroby akcyzowe?
                    </xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" name="Akcyza">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Zaprzestanie zużywania wyrobów akcyzowych
            </xs:documentation>
            <xs:documentation source="rule">
              R128
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="dataZaprzestaniaAkc" type="xs:date" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Data zaprzestania zużywania wyrobów akcyzowych
                </xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="przyczynaZaprzestaniaAkcWyjasnienie" use="required">
              <xs:annotation>
                <xs:documentation source="name" xml:lang="pl">
                  Wyjaśnienie przyczyny zaprzestania zużywania wyrobów akcyzowych
                </xs:documentation>
              </xs:annotation>
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:maxLength value="350"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="99" minOccurs="0" name="Oswiadczenie" type="sz:OswiadczenieType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Oświadczenie
            </xs:documentation>
            <xs:documentation source="rule">
              R67
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="InfDodatkowe" type="sz:InfDodatkoweType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Informacje dodatkowe
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="Wnioskodawca" type="sz:WnioskodawcaType">
          <xs:annotation>
            <xs:documentation source="name" xml:lang="pl">
              Wnioskodawca
            </xs:documentation>
            <xs:documentation source="rule">
              R26
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="ds:Signature"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>