<?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 Form 1120F Schedule H - Deductions Allocated And Apportioned to ECI by Location Schedule</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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

	<!-- ======================================================================== -->
	<!-- ==  Deductions Allocated And Apportioned to ECI by Location Schedule  == -->
	<!-- ======================================================================== -->

	<xsd:element name="DedAllocAndApprtnToECIByLocSch">
		<xsd:annotation>
			<xsd:documentation>Deductions Allocated And Apportioned to ECI by Location Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="DedAllocAndApprtnToECIByLocSchType">
					<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="DeductionsAllocatedAndApportionedToECIByLocationSchedule">
						<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="DedAllocAndApprtnToECIByLocSchType">
		<xsd:annotation>
			<xsd:documentation>Content model for Deductions Allocated And Apportioned to ECI by Location Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<xsd:element name="DedAllocAndApprtnToECI" type="DedAllocAndApprtnToECIType" minOccurs="0" maxOccurs="unbounded" />

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

	<!-- Type for Repeating Group - Deductions Allocated And Apportioned to ECI -->
	<xsd:complexType name="DedAllocAndApprtnToECIType">
		<xsd:annotation>
			<xsd:documentation>Content model for Deductions Allocated And Apportioned to ECI</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!-- Choice between: U.S. Address or Foreign Address -->
			<xsd:choice minOccurs="0">

				<!-- U.S. Location of Deductions Allocated and Apportioned to ECI -->
				<xsd:element name="DeductionAllocToECILocationUS" type="USAddressType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. location of deductions allocated and apportioned to ECI</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Location of Deductions Allocated and Apportioned to ECI -->
				<xsd:element name="DeductionAllocECILocationFrgn" type="ForeignAddressType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign location of deductions allocated and apportioned to ECI</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Amount of Deduction Allocated and Apportioned to ECI From Each Location -->
			<xsd:element name="DeductionAllocToECIByLocation" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of deduction allocated and apportioned to ECI from each location</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

</xsd:schema>
