<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">

	<xsd:annotation>
		<xsd:documentation>
			<Description>IRS e-file Income Tax Schema - Multiple Treaty Rates for Income Schedule</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

	<xsd:include schemaLocation="../../../Common/efileTypes.xsd"/>

	<!-- ============================================================= -->
	<!-- ========= Multiple Treaty Rates for Income Schedule ========= -->
	<!-- ============================================================= -->

	<xsd:element name="MultipleTreatyRatesForIncmSch">
		<xsd:annotation>
			<xsd:documentation>Multiple Treaty Rates for Income Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="MultipleTreatyRatesForIncomeSchType">
					<xsd:attributeGroup ref="DocumentAttributes">
						<xsd:annotation>
							<xsd:documentation>Common return document attributes</xsd:documentation>
						</xsd:annotation>
					</xsd:attributeGroup>
					<xsd:attribute name="documentName" type="xsd:string" fixed="MultipleTreatyRatesForIncomeSchedule">
						<xsd:annotation>
							<xsd:documentation>IRS internal use only. To avoid error in the return, do not include the attribute name or value.</xsd:documentation>
						</xsd:annotation>
					</xsd:attribute>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name="MultipleTreatyRatesForIncomeSchType">
		<xsd:annotation>
			<xsd:documentation>Content model for multiple treaty rates for income schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!-- Multiple Treaty Rates for Income -->
			<xsd:element name="MultipleTreatyRatesForIncmInfo" type="MultipleTreatyRatesForIncomeInfoType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Multiple treaty rates for income</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="MultipleTreatyRatesForIncomeInfoType">
		<xsd:annotation>
			<xsd:documentation>Content model for multiple treaty rates for income info</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!-- Election Statement -->
			<xsd:element name="ElectionStatement" type="ShortExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Election statement</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amount of Income - Choice of US or Foreign Amount -->
			<xsd:choice minOccurs="0">
				<xsd:element name="AmountOfIncomeUS" type="USAmountType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>US amount of income</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="AmountOfIncomeForeign" type="ForeignAmountType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign amount of income</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Tax Rate -->
			<xsd:element name="TaxRate" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax rate</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amount Of Tax Liability - Choice of US or Foreign Tax -->
			<xsd:choice minOccurs="0">
				<xsd:element name="AmountOfTaxUS" type="USAmountType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Amount of US tax liability</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="AmountOfTaxForeign" type="ForeignAmountType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Amount of Foreign tax liability</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Withholding Amount - Choice of US or Foreign Amount -->
			<xsd:choice minOccurs="0">
				<xsd:element name="WithholdingAmountUS" type="USAmountType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>US withholding amount</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="WithholdingAmountForeign" type="ForeignAmountType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign withholding amount</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

		</xsd:sequence>
	</xsd:complexType>

</xsd:schema>
