<?xml version="1.0"?>
<xs:schema xmlns="http://www.mf.gov.pl/xsd/ais/cci/CC462.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:st="http://www.mf.gov.pl/xsd/ais/cdm/cdmSTypes.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.mf.gov.pl/xsd/ais/cci/CC462.xsd" elementFormDefault="unqualified" attributeFormDefault="unqualified" version="3">
	<xs:import namespace="http://www.mf.gov.pl/xsd/ais/cdm/cdmSTypes.xsd" schemaLocation="cdmSTypes.xsd"/>
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
	<xs:element name="CC462" type="CC462CT"/>
	<xs:complexType name="AuthorisationCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST"/>
			<xs:element name="type" type="st:AuthorisationTypeST" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="list">CL605</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="referenceNumber" type="st:AuthorisationReferenceNumberST"/>
			<xs:element name="holderOfAuthorisation" type="st:AuthorisationHolderOfAuthorisationST" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CC462CT">
		<xs:sequence>
			<xs:element name="messageIdentification" type="st:MessageMessageIdentificationST"/>
			<xs:element name="Request" type="RequestCT"/>
			<xs:element ref="ds:Signature" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CommodityCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST"/>
			<xs:element name="descriptionOfGoods" type="st:DescriptionOfGoodsST" minOccurs="0"/>
			<xs:element name="harmonisedSystemSubheadingCode" type="st:CommodityCodeHarmonisedSystemSubheadingCodeST"/>
			<xs:element name="combinedNomenclatureCode" type="st:CommodityCodeCombinedNomenclatureST" minOccurs="0"/>
			<xs:element name="taricCode" type="st:CommodityCodeTARICCodeST" minOccurs="0"/>
			<xs:element name="cusCode" type="st:CUSCodeST" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CriteriaCT">
		<xs:sequence>
			<xs:element name="PresentationNotificationPeriod" type="PresentationNotificationPeriodCT" minOccurs="0"/>
			<xs:element name="Authorisation" type="AuthorisationCT" maxOccurs="9"/>
			<xs:element name="CustomsOfficeOfPresentation" type="CustomsOfficeOfPresentationCT"/>
			<xs:element name="Commodity" type="CommodityCT" minOccurs="0" maxOccurs="999"/>
			<xs:element name="LocationOfGoods" type="LocationOfGoodsCT" minOccurs="0" maxOccurs="999"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomsOfficeOfDeclarationCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:CustomsOfficeOfDeclarationReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomsOfficeOfPresentationCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:CustomsOfficeOfPresentationReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarantCT">
		<xs:sequence>
			<xs:element name="identificationNumber" type="st:PersonIdentificationNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsAddressCT">
		<xs:sequence>
			<xs:element name="streetAndNumber" type="st:AddressStreetAndNumberST"/>
			<xs:element name="postcode" type="st:AddressPostcodeST" minOccurs="0"/>
			<xs:element name="city" type="st:AddressCityST"/>
			<xs:element name="country" type="st:AddressCountryST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST" default="1"/>
			<xs:element name="typeOfLocation" type="st:LocationOfGoodsTypeOfLocationST"/>
			<xs:element name="qualifierOfIdentification" type="st:LocationOfGoodsQualifierOfIdentificationST"/>
			<xs:element name="unLocode" type="st:LocationOfGoodsUnLocodeST" minOccurs="0"/>
			<xs:element name="authorisationNumber" type="st:LocationOfGoodsAuthorisationNumberST" minOccurs="0"/>
			<xs:element name="additionalIdentifier" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="st:LocationOfGoodsAdditionalIdentifier8ST">
						<xs:maxLength value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CustomsOffice" type="LocationOfGoodsCustomsOfficeCT" minOccurs="0"/>
			<xs:element name="GNSS" type="LocationOfGoodsGNSSCT" minOccurs="0"/>
			<xs:element name="EconomicOperator" type="LocationOfGoodsEconomicOperatorCT" minOccurs="0"/>
			<xs:element name="Address" type="LocationOfGoodsAddressCT" minOccurs="0"/>
			<xs:element name="PostcodeAddress" type="LocationOfGoodsPostcodeAddressCT" minOccurs="0"/>
			<xs:element name="PresentationNotificationPeriod" type="PresentationNotificationPeriodCT" minOccurs="0"/>
			<xs:element name="Commodity" type="CommodityCT" minOccurs="0" maxOccurs="999"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsCustomsOfficeCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:LocationOfGoodsCustomsOfficeReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsEconomicOperatorAddressCT">
		<xs:sequence>
			<xs:element name="lastModified" type="st:LastModifiedST" minOccurs="0"/>
			<xs:element name="streetAndNumber" type="st:AddressStreetAndNumberST"/>
			<xs:element name="postcode" type="st:AddressPostcodeST"/>
			<xs:element name="city" type="st:AddressCityST"/>
			<xs:element name="country" type="st:AddressCountryST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsEconomicOperatorCT">
		<xs:sequence>
			<xs:element name="identificationNumber" type="st:LocationOfGoodsEconomicOperatorIdentificationNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsGNSSCT">
		<xs:sequence>
			<xs:element name="latitude" type="st:LocationOfGoodsGNSSLatitudeST"/>
			<xs:element name="longitude" type="st:LocationOfGoodsGNSSLongitudeST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LocationOfGoodsPostcodeAddressCT">
		<xs:sequence>
			<xs:element name="postcode" type="st:LocationOfGoodsPostcodeAddressPostcodeST"/>
			<xs:element name="houseNumber" type="st:LocationOfGoodsPostcodeAddressHouseNumberST" minOccurs="0"/>
			<xs:element name="country" type="st:LocationOfGoodsPostcodeAddressCountryST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PresentationNotificationPeriodCT">
		<xs:sequence>
			<xs:element name="startDate" type="xs:date"/>
			<xs:element name="endDate" type="xs:date"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepresentativeCT">
		<xs:sequence>
			<xs:element name="identificationNumber" type="st:PersonIdentificationNumberST"/>
			<xs:element name="status" type="st:RepresentativeStatusST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RequestCT">
		<xs:sequence>
			<xs:element name="dateOfRequest" type="xs:date"/>
			<xs:element name="Criteria" type="CriteriaCT"/>
			<xs:element name="Declarant" type="DeclarantCT"/>
			<xs:element name="Representative" type="RepresentativeCT" minOccurs="0"/>
			<xs:element name="CustomsOfficeOfDeclaration" type="CustomsOfficeOfDeclarationCT"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
