<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2007 rel. 3 sp1 (http://www.altova.com) by Paweł Bronowski (Asseco Poland SA) -->
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by PB (Systemy Komputerowe Glowka SA) -->
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.mf.gov.pl/schematy/SWPL/W13/1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sw="http://www.mf.gov.pl/schematy/SWPL/Typy/1.0.xsd" targetNamespace="http://www.mf.gov.pl/schematy/SWPL/W13/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3">
	<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/SWPL/Typy/1.0.xsd" schemaLocation="http://seap-intranet-ws:8080/seap_schematy/xsd?id=1022510"/>
	<xs:element name="SWW13">
		<xs:annotation>
			<xs:documentation source="rootName" xml:lang="pl">Wniosek o dokonanie granicznej kontroli sanitarnej substancji pomagającej w przetworzeniu</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="naglowek" type="Naglowek">
					<xs:annotation>
						<xs:documentation>Dane podstawowe</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="zalacznik" type="sw:ZalacznikType" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="dodatkowePola" type="sw:DodatkowePolaType" minOccurs="0"/>
				<xs:element ref="ds:Signature" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="Naglowek">
		<xs:sequence>
			<xs:element name="importer" type="sw:PodmiotType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Importer</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="eksporter" type="sw:PodmiotType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Eksporter</xs:documentation>
					<xs:documentation source="rule">R60</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="zglaszajacy" type="sw:PodmiotType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Zgłaszający</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="spedytor" type="sw:PodmiotType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Spedytor</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="osobaOdpTow" type="sw:PodmiotType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba odpowiedzialna za towar</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="towar" type="sw:TowarType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Towar</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="transport" type="sw:TransportType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Transport</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="oddzialCelnyKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Przejście graniczne</xs:documentation>
					<xs:documentation source="list">001</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="partnerKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Jednostka inspekcji</xs:documentation>
					<xs:documentation source="doc" xml:lang="pl">Jednostka inspekcji, do której kierowany jest wniosek</xs:documentation>
					<xs:documentation source="list">1804</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="krajPrzywozuKod" type="sw:PozycjaSlownikaType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kraj przywozu</xs:documentation>
					<xs:documentation source="list">007</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="krajPrzeznaczeniaKod" type="sw:PozycjaSlownikaType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kraj przeznaczenia</xs:documentation>
					<xs:documentation source="list">007</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="proponowaneMiejsceKontroliKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Proponowane miejsce kontroli</xs:documentation>
					<xs:documentation source="list">1802</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="nrWlasny" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer własny</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Numer wniosku o dokonanie granicznej kontroli sanitarnej substancji pomagającej w przetworzeniu</xs:documentation>
				<xs:documentation source="rule">R1</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="rodzajProcedury" type="sw:Kierunek" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Rodzaj procedury</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="miejscowosc" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Miejscowość</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="35"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="data" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Data wniosku</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="proponowanaDataKontroli" type="xs:dateTime" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Proponowana data i godzina kontroli</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="opisMiejscaKontroli">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Opis innego miejsca kontroli</xs:documentation>
				<xs:documentation source="rule">R96</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="500"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="operator" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Operator</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Kod i nazwa operatora powiązanego z miejscem kontroli wg słownika 1802.</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="300"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrDokPrzewozowego" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer dokumentu przewozowego</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="70"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="nrZgloszeniaCelnego" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Numer zgłoszenia celnego</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="dataPrzekroczeniaGranicy" type="xs:date" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Przewidywany termin przekrocznia granicy</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="przeznaczenieWocSklad" type="sw:PrzeznaczenieWocSklad" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Towar przeznaczony do wolnego obszaru celnego lub składu wolnocłowego</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="przeznaczenieInnyKraj" type="sw:PrzeznaczenieInnyKraj" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Towar przeznaczony do innego niż Rzeczpospolita Polska państwa członkowskiego Unii Europejskiej/krajów trzecich</xs:documentation>
				<xs:documentation source="rule">R61</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="spelniaWymagania" type="xs:boolean" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Towar spełnia wymagania w zakresie wymagań zdrowotnych określonych  w ustawie z dnia 25 sierpnia 2006 r. o bezpieczeństwie  żywnoŚci i żywienia (Dz. U. Nr 171, poz. 1225)</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="organ" use="required">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Nazwa organu inspekcji</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="200"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
</xs:schema>
