<?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 Corporate Income Tax Schema - Foreign Source Qualify Dividends Capital Gains Loss</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ================================================================================= -->
	<!-- ============== Foreign Source Qualify Dividends Capital Gains Loss ============== -->
	<!-- ================================================================================= -->


	<xsd:element name="ForeignSrceQlfyDivsCapGains">
		<xsd:annotation>
			<xsd:documentation>Foreign Source Qualify Dividends Capital Gains Loss</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="ForeignSrceQlfyDivsCapGainsType">
					<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="FrgnSourceQlfyDivCapGainsLoss">
						<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="ForeignSrceQlfyDivsCapGainsType">
		<xsd:annotation>
			<xsd:documentation>Content model for Foreign Source Qualify Dividends Capital Gains Loss</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!-- Passive Foreign Source Qualified Dividends -->
			<xsd:element name="PassiveForeignSourceQlfyDiv" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Passive foreign source qualified dividends</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Passive Foreign Source Capital Gains (Losses) -->
			<xsd:element name="PassiveForeignSourceCGLs" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Passive foreign source capital gains (losses)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- General Foreign Source Qualified Dividends -->
			<xsd:element name="GeneralForeignSourceQlfyDiv" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>General foreign source qualified dividends</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- General Foreign Source Capital Gains (Losses) -->
			<xsd:element name="GeneralForeignSourceCGLs" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>General foreign source capital gains (losses)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Section 901(j) Foreign Source Qualified Dividends -->
			<xsd:element name="Sect901jForeignSourceQlfyDiv" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Section 901(j) foreign source qualified dividends</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Section 901(j) Foreign Source Capital Gains (Losses) -->
			<xsd:element name="Sect901jForeignSourceCGLs" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Section 901(j) foreign source capital gains (losses)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Treaty Re-Sourced Foreign Source Qualified Dividends -->
			<xsd:element name="TreatyForeignSourceQlfyDiv" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Treaty re-sourced foreign source qualified dividends</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Treaty Re-Sourced Foreign Source Capital Gains (Losses) -->
			<xsd:element name="TreatyForeignSourceCGLs" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Treaty re-sourced foreign source capital gains (losses)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Lump Sum Distribution Special Averaging Treatment Foreign Source Qualified Dividends -->
			<xsd:element name="LumpSumForeignSourceQlfyDiv" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Lump sum distribution special averaging treatment foreign source qualified dividends</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Lump Sum Distribution Special Averaging Treatment Foreign Source Capital Gains (Losses) -->
			<xsd:element name="LumpSumForeignSourceCGLs" type="ForeignSourceIncomeExplnType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Lump sum distribution special averaging treatment foreign source capital gains (losses)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>
	</xsd:complexType>
	
	<!-- ============ Type of Repeating Group of Foreign Source Income Explanation ==============-->
	
	<xsd:complexType name="ForeignSourceIncomeExplnType">
		<xsd:sequence>
		
			<!-- Explanation of Foreign Source Income -->
			<xsd:element name="ForeignSourceIncomeExplanation" type="ShortExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Explanation of foreign source income</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			
			<!-- Foreign Source Income Amount -->
			<xsd:element name="ForeignSourceIncomeAmount" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign source income amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

		
