<?xml version="1.0"?>
<xs:schema xmlns="http://www.mf.gov.pl/xsd/ais/ZCX10.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/ZCX10.xsd" elementFormDefault="unqualified" attributeFormDefault="unqualified">
	<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="ZCX10" type="ZCX10CT"/>
	<xs:complexType name="CustomsOfficeOfDeclarationCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:CustomsOfficeOfDeclarationReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarationCT">
		<xs:sequence>
			<xs:element name="mrn">
				<xs:simpleType>
					<xs:restriction base="st:MasterReferenceNumberST">
						<xs:length value="18"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CustomsOfficeOfDeclaration" type="CustomsOfficeOfDeclarationCT" minOccurs="0"/>
			<xs:element name="SupervisingCustomsOffice" type="SupervisingCustomsOfficeCT" minOccurs="0"/>
			<xs:element name="GoodsShipments" type="GoodsShipmentCT" maxOccurs="9999"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsShipmentCT">
		<xs:sequence>
			<xs:element name="goodsShipmentNumber" type="st:GoodsShipmentNumberST" minOccurs="0"/>
			<xs:element name="GoodsItem" type="GovernmentAgencyGoodsItemCT" maxOccurs="9999"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GovernmentAgencyGoodsItemCT">
		<xs:sequence>
			<xs:element name="goodsItemNumber" type="st:GoodsItemNumberST"/>
			<xs:element name="quotaOrderNumber" type="st:QuotaOrderNumberST"/>
			<xs:element name="quotaStatus" type="st:QuotaRequestQuotaStatusST"/>
			<xs:element name="isCriticalState" type="st:QuotaDefinitionIsCriticalStateST"/>
			<xs:element name="QuotaRequest" type="QuotaRequestCT" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QuotaAllocationResultCT">
		<xs:sequence>
			<xs:element name="allocatedPercentage" type="st:QuotaAllocationResultAllocatedQuotaPercentageST"/>
			<xs:element name="allocatedAmount" type="st:QuotaAllocationResultAllocatedQuotaAmountST"/>
			<xs:element name="allocatedUnitCode" type="st:QuotaAllocationResultAllocatedQuotaUnitCodeST"/>
			<xs:element name="allocatedDescription" type="st:QuotaAllocationResultAllocatedQuotaDescriptionST" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="QuotaRequestCT">
		<xs:sequence>
			<xs:element name="quotaRequestStatus" type="st:QuotaRequestStatusST"/>
			<xs:element name="itemAmountInvoiced" type="st:ItemAmountInvoicedST" minOccurs="0"/>
			<xs:element name="netMass" type="st:NetMassST" minOccurs="0"/>
			<xs:element name="supplementaryUnits" type="st:SupplementaryUnitsST" minOccurs="0"/>
			<xs:element name="monetaryUnitCode" type="st:QuotaDefinitionMonetaryUnitCodeST" minOccurs="0"/>
			<xs:element name="measurementUnitCode" type="st:QuotaDefinitionMeasurementUnitCodeST" minOccurs="0"/>
			<xs:element name="measurementUnitQualifierCode" type="st:QuotaDefinitionMeasurementUnitQualifierCodeST" minOccurs="0"/>
			<xs:element name="text" type="st:QuotaRequestTextST" minOccurs="0"/>
			<xs:element name="QuotaAllocationResult" type="QuotaAllocationResultCT" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SupervisingCustomsOfficeCT">
		<xs:sequence>
			<xs:element name="referenceNumber" type="st:SupervisingCustomsOfficeReferenceNumberST"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ZCX10CT">
		<xs:sequence>
			<xs:element name="preparationDateAndTime" type="st:MessagePreparationDateAndTimeST"/>
			<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:schema>
