<?xml version="1.0"?>
<xs:schema xmlns="http://www.mf.gov.pl/xsd/ais/cci/CC410.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/CC410.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="CC410" type="CC410CT"/>
	<xs:complexType name="CC410CT">
		<xs:sequence>
			<xs:element name="messageIdentification" type="st:MessageMessageIdentificationST"/>
			<xs:element name="correlationIdentifier" type="st:MessageCorrelationIdentifierST" minOccurs="0"/>
			<xs:element name="Declaration" type="DeclarationCT"/>
			<xs:element ref="ds:Signature" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomsOfficeOfDeclarationCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:CustomsOfficeOfDeclarationReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarantAddressCT">
		<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="DeclarantContactPersonCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST" default="1"/>
			<xs:element name="name" type="st:ContactPersonNameST"/>
			<xs:element name="phoneNumber" type="st:ContactPersonPhoneNumberST"/>
			<xs:element name="eMailAddress" type="st:ContactPersonEmailAddressST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarantCT">
		<xs:sequence>
			<xs:element name="name" type="st:PersonNameST" minOccurs="0"/>
			<xs:element name="identificationNumber" type="st:PersonIdentificationNumberST"/>
			<xs:element name="Address" type="DeclarantAddressCT" minOccurs="0"/>
			<xs:element name="ContactPerson" type="DeclarantContactPersonCT" minOccurs="0" maxOccurs="9"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarationCT">
		<xs:sequence>
			<xs:element name="lrn" type="st:LRNST" minOccurs="0"/>
			<xs:element name="mrn" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="st:MasterReferenceNumberST">
						<xs:length value="18"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Invalidation" type="InvalidationCT"/>
			<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:complexType name="InvalidationCT">
		<xs:sequence>
			<xs:element name="invalidationRequestDateAndTime" type="st:InvalidationRequestDateAndTimeST"/>
			<xs:element name="invalidationDecisionDateAndTime" type="st:InvalidationDecisionDateAndTimeST"/>
			<xs:element name="invalidationInitiatedByCustoms" type="st:InvalidationInitiatedByCustomsST"/>
			<xs:element name="invalidationJustification" type="st:InvalidationJustificationST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepresentativeContactPersonCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST"/>
			<xs:element name="name" type="st:ContactPersonNameST"/>
			<xs:element name="phoneNumber" type="st:ContactPersonPhoneNumberST"/>
			<xs:element name="eMailAddress" type="st:ContactPersonEmailAddressST"/>
		</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:element name="ContactPerson" type="RepresentativeContactPersonCT" minOccurs="0" maxOccurs="9"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
