<?xml version="1.0"?>
<xs:schema xmlns="http://www.mf.gov.pl/xsd/ais/cci/CC456.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/CC456.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="CC456" type="CC456CT"/>
	<xs:complexType name="CC456CT">
		<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 name="Error" type="ErrorCT" minOccurs="0" maxOccurs="999"/>
			<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="Rejection" type="RejectionCT"/>
			<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="ErrorCT">
		<xs:sequence>
			<xs:element name="sequenceNumber" type="st:SequenceNumberST"/>
			<xs:element name="pointer" type="st:ErrorPointerST"/>
			<xs:element name="code" type="st:ErrorCodeST"/>
			<xs:element name="reason" type="st:ErrorReasonST"/>
			<xs:element name="originalAttribute" type="st:ErrorOriginalAttributeST" minOccurs="0"/>
			<xs:element name="description" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="st:ErrorDescriptionST">
						<xs:maxLength value="512"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RejectionCT">
		<xs:sequence>
			<xs:element name="businessRejectionType">
				<xs:annotation>
					<xs:documentation source="list">CL185</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="st:RejectionBusinessRejectionTypeST">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rejectionDateAndTime" type="st:RejectionDateAndTimeST"/>
			<xs:element name="rejectionCode">
				<xs:annotation>
					<xs:documentation source="list">CL456</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="st:RejectionCodeST">
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="rejectionReason" type="st:RejectionReasonST" minOccurs="0"/>
		</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>
