<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2020 (x64) (http://www.altova.com) by Paweł Bronowski (SKG S.A.) -->
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by PB (Systemy Komputerowe Glowka SA) -->
<xs:schema xmlns="http://www.mf.gov.pl/schematy/SWPL/W05/1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sw="http://www.mf.gov.pl/schematy/SWPL/Typy/1.0.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.mf.gov.pl/schematy/SWPL/W05/1.0.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
	<xs:import namespace="http://www.mf.gov.pl/schematy/SWPL/Typy/1.0.xsd" schemaLocation="Typy_1.0.xsd"/>
	<xs:element name="SWW05">
		<xs:annotation>
			<xs:documentation source="rootName" xml:lang="pl">Zgłoszenie do kontroli - IJHARS</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="zglaszajacy" type="sw:PodmiotIjharsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Zgłaszający</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="wprowadzajacyDoObrotu" type="sw:PodmiotIjharsType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Wprowadzający do obrotu</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="towar" type="sw:TowarType" maxOccurs="50">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Towar</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="osobaUpowazniona" type="sw:OsobaType" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba upoważniona</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="wnioskodawca" type="sw:OsobaTelWType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Osoba zgłaszająca</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="oddzialCelnyKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Oddział celny odprawy</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="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:element name="krajPochodzeniaKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kraj pochodzenia</xs:documentation>
					<xs:documentation source="list">007</xs:documentation>
					<xs:documentation source="incl">SWW01, SWW03, SWW04, SWW05, SWW06, SWW07, SWW08, SWW10, SWW12, SWW13, SWW17, SWR01, SWR06, SWR11, SWR13, SWR15, SWR17, SWR18, SWR19, SWR24</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="krajWysylkiKod" type="sw:PozycjaSlownikaType">
				<xs:annotation>
					<xs:documentation source="name" xml:lang="pl">Kraj wysyłki</xs:documentation>
					<xs:documentation source="list">007</xs:documentation>
					<xs:documentation source="incl">SWW05, SWR13 </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 zgłoszenia do kontroli.</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="rodzajStd" type="xs:boolean" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Zgłoszenie do kontroli jakości handlowej artykułów rolno-spożywczych przywożonych z zagranicy</xs:documentation>
				<xs:documentation source="rule">R86</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="rodzajEko" type="xs:boolean" use="optional">
			<xs:annotation>
				<xs:documentation source="name" xml:lang="pl">Zgł. do kontroli dopuszczenia do swobodnego obrotu na teryt. WE przesyłki produktów rolnictwa ekologicznego przywożonych z kraju trzeciego</xs:documentation>
				<xs:documentation source="rule">R86</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:documentation source="doc" xml:lang="pl">Miejscowość utworzenia zgłoszenia do kontroli.</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</xs:documentation>
				<xs:documentation source="doc" xml:lang="pl">Data utworzenia zgłoszenia.</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="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>
