<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Description: CRA T1 Web Services project
Type (Request or Response): Request
Version: 1-0-0
Date created:
Contact:
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:t1rq="http://www.cra-arc.gc.ca/xmlns/t1rq/efilerequest/1-0-0"
    xmlns:sdt="http://www.cra-arc.gc.ca/xmlns/sdt/2-2-0"
    xmlns:comm="http://www.cra-arc.gc.ca/xmlns/comm/2019/1-0-0"
    xmlns:t1135="http://www.cra-arc.gc.ca/xmlns/t1135/2019/1-0-0"
    xmlns:t1="http://www.cra-arc.gc.ca/xmlns/t1/2019/1-0-0"
    xmlns:tp="http://www.cra-arc.gc.ca/xmlns/tp/2019/1-0-0"
    xmlns:ef="http://www.cra-arc.gc.ca/xmlns/ef/2019/1-0-0"
    targetNamespace="http://www.cra-arc.gc.ca/xmlns/t1rq/efilerequest/1-0-0"
    elementFormDefault="qualified" attributeFormDefault="unqualified" version="t1rq/1-0-0">
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/sdt/2-2-0" schemaLocation="standarddatatypes.xsd"/>
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/comm/2019/1-0-0" schemaLocation="electronicfilingcommon.xsd"/>
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/tp/2019/1-0-0" schemaLocation="taxpayer.xsd"/>
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/t1/2019/1-0-0" schemaLocation="t1return.xsd"/>
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/ef/2019/1-0-0" schemaLocation="efilecommon.xsd"/>
    <xsd:import namespace="http://www.cra-arc.gc.ca/xmlns/t1135/2019/1-0-0" schemaLocation="ForeignIncomeVerificationStatement.xsd"/>

     <xsd:element name="EfileReturnRequest" type="t1rq:EfileReturnRequestType"/>
    <xsd:complexType name="EfileReturnRequestType">
        <xsd:sequence>
            <xsd:element ref="ef:TransmitterEfilerNumber"/>
            <xsd:element ref="ef:PasswordID"/>
            <xsd:element ref="tp:TaxYear"/>
            <xsd:element ref="ef:EfileData"/>
            <xsd:element ref="comm:TestCaseIdentifier" minOccurs="0"/>
            <xsd:element ref="comm:OriginatingIP"/>
            <xsd:element ref="t1rq:TaxReturnForm"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:element name="TaxReturnForm" type="t1rq:TaxReturnFormType">
        <xsd:annotation>
            <xsd:documentation xml:lang="en">This webservice request can be used for T1 return as well as T1135 tax form.</xsd:documentation>
            <xsd:documentation xml:lang="fr">… </xsd:documentation>
        </xsd:annotation>
    </xsd:element>
    <xsd:complexType name="TaxReturnFormType">
        <xsd:choice>
            <xsd:element ref="t1:T1Return"/>
            <xsd:element ref="t1135:ForeignIncomeVerificationStatement"/>
        </xsd:choice>
    </xsd:complexType>


</xsd:schema>
