<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.00">
    <!--=========================================-->
    <!--===== ID71:I_IMP_CLAR_REQ -->
    <!--===== ICS Domain Definition -->
    <!--===== DDNIA v13.00 -->
    <!--=========================================-->
    <!--===== Includes =====-->
    <xs:include schemaLocation="simple_types_ics.xsd"/>
    <xs:include schemaLocation="simple_types.xsd"/>
    <xs:include schemaLocation="complex_types.xsd"/>
    <xs:include schemaLocation="tcl_ics.xsd"/>
    <xs:include schemaLocation="tcl.xsd"/>
    <xs:include schemaLocation="doc.xsd"/>
    <!--===== Root Element =====-->
    <xs:element name="ID71A" type="ID71A"/>
    <!--===== Root Element Content =====-->
    <xs:complexType name="ID71A">
        <xs:sequence>
            <xs:group ref="MESSAGE"/>
            <xs:element name="IMPDEC" type="IMPDEC">
                <xs:annotation>
                    <xs:documentation>
                        <description value="IMPORT DECLARATION"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLARES" type="CLARES">
                <xs:annotation>
                    <xs:documentation>
                        <description value="CLARIFICATION RESPONSE"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CONAUT" type="CONAUT">
                <xs:annotation>
                    <xs:documentation>
                        <description value="CONTROL AUTHORITY"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!--===== MESSAGE Content =====-->
    <xs:group name="MESSAGE">
        <xs:sequence>
            <xs:element name="MesSenMES3" type="Alphanumeric_Max35">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Message sender"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MesRecMES6" type="Alphanumeric_Max35">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Message recipient"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DatOfPreMES9" type="DatePrepType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Date of preparation"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TimOfPreMES10" type="TimeType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Time of preparation"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriMES15" type="Alpha_1" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Priority"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TesIndMES18" type="Flag" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Test indicator"/>
                        <codeList name="Flag"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MesIdeMES19" type="Alphanumeric_Max14">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Message identification"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MesTypMES20" type="MessageTypes">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Message type"/>
                        <codeList name="MessageTypes"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CorIdeMES25" type="Alphanumeric_Max14" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Correlation identifier"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:group>
    <!--===== IMPORT DECLARATION =====-->
    <xs:complexType name="IMPDEC">
        <xs:annotation>
            <xs:documentation>
                <description value="IMPORT DECLARATION" />
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="LocRefNum1" type="LocRefNumType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Local Reference Number"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MovRefNum1" type="DeclRefNumType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Movement Reference Number"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReqIde1" type="ReqIdeType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Request Identification"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!--===== CLARIFICATION RESPONSE =====-->
    <xs:complexType name="CLARES">
        <xs:annotation>
            <xs:documentation>
                <description value="CLARIFICATION RESPONSE"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SubDocInd1" type="Flag">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Submit Document Indicator"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ClaResCom1" type="ClaResComType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Clarification Response Comments"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="REQDOC" type="REQDOC" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Reference Documents"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!--===== REFERENCE DOCUMENT =====-->
    <xs:complexType name="REQDOC">
        <xs:annotation>
            <xs:documentation>
                <description value="REFERENCE DOCUMENT"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReqDocCod1" type="RefDocIdType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Reference Document Code"/>
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!--===== CONTROL AUTHORITY =====-->
    <xs:complexType name="CONAUT">
        <xs:annotation>
            <xs:documentation>
                <description value="CONTROL AUTHORITY"/>
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ConAutCod1" type="CORefNumType">
                <xs:annotation>
                    <xs:documentation>
                        <description value="Control Authority Code" />
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:schema>