<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.mf.gov.pl/schematy/SZPROT/e-Decyzje/ZWWN01/1.0.xsd" xmlns:ed="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/ZWWN01/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!--=====Zgłoszenie wycofania wniosku-->
	<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="ZWWN01">
		<xs:annotation>
			<xs:documentation source="rootName" xml:lang="pl">
        ZWWN01
      </xs:documentation>
			<xs:documentation source="rootDoc" xml:lang="pl">
        Zgłoszenie wycofania wniosku
      </xs:documentation>
			<xs:documentation source="doc" xml:lang="pl">
        Element główny komunikatu z prośbą o wycofanie wniosku.
      </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Wniosek">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Dane ogólne wniosku 
            </xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:complexContent>
							<xs:extension base="ed:NaglowekWnioskuType"/>
						</xs:complexContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="WnioskodawcaPodmiot" type="ed:PodmiotPelnyIDSISCType" minOccurs="0">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Wnioskodawca
            </xs:documentation>
						<xs:documentation source="doc" xml:lang="pl">
              Dane Wnioskodawcy - podmiotu gospodarczego
            </xs:documentation>
						<xs:documentation source="rule">
              R700, R910
            </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="WnioskodawcaOsoba" type="ed:OsobaFizycznaZAdresemType" minOccurs="0">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Wnioskodawca
            </xs:documentation>
						<xs:documentation source="doc" xml:lang="pl">
              Dane Wnioskodawcy - osoby fizycznej
            </xs:documentation>
						<xs:documentation source="rule">
              R700, R911
            </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="PrzedstawicielPodmiot" type="ed:PelnomocnikPodmiotType" minOccurs="0" maxOccurs="9">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Przedstawiciel - podmiot
            </xs:documentation>
						<xs:documentation source="doc" xml:lang="pl">
              Dane Przedstawiciel, który jest podmiotem gospodarczym.
            </xs:documentation>
						<xs:documentation source="rule">
              R510
            </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="PrzedstawicielOsoba" type="ed:PelnomocnikOsobaType" minOccurs="0" maxOccurs="9">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Przedstawiciel - osoba
            </xs:documentation>
						<xs:documentation source="doc" xml:lang="pl">
              Dane Przedstawiciela - osoby fizycznej
            </xs:documentation>
						<xs:documentation source="rule">
              R510
            </xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="WycofanieWniosku">
					<xs:annotation>
						<xs:documentation source="name" xml:lang="pl">
              Informacje o wycofywanym wniosku
            </xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="nrSprawy" use="required">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">
                  Numer sprawy
                </xs:documentation>
								<xs:documentation source="doc" xml:lang="pl">
                  Numer sprawy, w ramach której rozpatrywany jest wycofywany wniosek.
                </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="35"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="nrWniosku" use="optional">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">
                  Nr własny wycofywanego wniosku
                </xs:documentation>
								<xs:documentation source="doc" xml:lang="pl">
                  Numer własny, jednoznacznie identyfikujący wycofywany wniosek w systemie.
                </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="35"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="uzasadnienie" use="required">
							<xs:annotation>
								<xs:documentation source="name" xml:lang="pl">
                  Uzasadnienie
                </xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="4096"/>
								</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" maxOccurs="99">
					<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>