<?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 - IRS Form 1120 Schedule N</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

	<xsd:include schemaLocation="../../../Common/efileTypes.xsd"/>
			
	
	<!-- =============================================================== -->
	<!-- ======================  IRS Form 1120 Schedule N ============== -->
	<!-- =============================================================== -->	
	

	<xsd:element name="IRS1120ScheduleN">
		<xsd:annotation>
			<xsd:documentation>IRS Form 1120 Schedule N</xsd:documentation> 
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS1120ScheduleNType">
					<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="IRS1120ScheduleN">
						<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="IRS1120ScheduleNType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 1120 Schedule N</xsd:documentation>
		</xsd:annotation>			
			
		<xsd:sequence>	
				
			<!-- Owned Foreign Entities under Regulations Sections 301.7701-2 and 301.7701-3 -->
			<xsd:element name="OwnedFrgnEntitiesDisregarded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates (directly or indirectly) owned foreign entity that was disregarded as an entity separate from its owner under regulations sections 301.7701-2 and 301.7701-3 (see instructions)</Description>
						<LineNumber>Schedule N Line 1a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="BooleanType">
							<xsd:attribute name="referenceDocumentId" type="IdListType" />
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8858" />
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Number of forms 8858, Information Return of U.S. Persons With Respect to Foreign Disregarded Entities, attached -->
			<xsd:element name="NumberOfForms8858Attached" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of forms 8858, Information Return of U.S. Persons With Respect to Foreign Disregarded Entities, attached</Description>
						<LineNumber>Schedule N Line 1b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType >
					<xsd:restriction base="IntegerNNType">
						<xsd:totalDigits value="20" />
					</xsd:restriction>
				</xsd:simpleType>	
			</xsd:element>			

			<!-- Number of Forms 8865, Return of U.S. Persons With Respect to Certain Foreign Partnerships, attached -->
			<xsd:element name="NumberOfForms8865Attached" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of forms 8865, Return of U.S. persons With respect to certain foreign partnerships, attached</Description>
						<LineNumber>Schedule N Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType >
					<xsd:restriction base="IntegerNNType">
						<xsd:totalDigits value="20" />
					</xsd:restriction>
				</xsd:simpleType>	
			</xsd:element>			
			
			<!-- Corporation Owned at least a 10% Interest in any Other Foreign Partnership -->
			<xsd:element name="Owned10PercentIntForeignPrtshp" >
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates corporation owned at least a 10% interest in any other foreign partnership</Description>
						<LineNumber>Schedule N Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="BooleanType">
							<xsd:attribute name="referenceDocumentId" type="IdListType" />
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="Owned10PercentInterestInForeignPartnershipStatement" />
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>								
			</xsd:element>		

			<!-- Shareholder of any CFC - Sections 951 and 957 -->
			<xsd:element name="ShareholderOfAnyCFC951And957">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates shareholder of any CFC - Sections 951 and 957</Description>
						<LineNumber>Schedule N Line 4a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="BooleanType">
							<xsd:attribute name="referenceDocumentId" type="IdListType" />							
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS5471" />
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>				
			</xsd:element>
			
			<!-- Number of Forms 5471 Attached to the Return -->
			<xsd:element name="NumberOfForms5471Attached" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of forms 5471 attached to the return</Description>
						<LineNumber>Schedule N Line 4b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType >
					<xsd:restriction base="IntegerNNType">
						<xsd:totalDigits value="20" />
					</xsd:restriction>
				</xsd:simpleType>					
			</xsd:element>
			
			<!-- Received Distribution From a Foreign Trust -->
			<xsd:element name="RcvdDistributionFromFrgnTrust" type="BooleanType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates received a distribution from, the grantor of, or transferor to, a foreign trust</Description>
						<LineNumber>Schedule N Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>						

			<!-- Had an Interest in or a Signature or Other Authority over a Financial Account -->
			<xsd:element name="ForeignFinancialAccount" type="BooleanType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates had an interest in or a signature or other authority over a financial account</Description>
						<LineNumber>Schedule N Line 6a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>				
			
			<!-- Foreign Country in which had an Authority over a Financial Account -->
			<xsd:element name="ForeignCountryCode" type="CountryType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of the foreign country in which had an authority over a financial account</Description>
						<LineNumber>Schedule N Line 6b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>					

			<!-- Claiming Extraterritorial Income Exclusion? -->
			<xsd:element name="ExtraterritorialIncmExclusion" >
				<xsd:annotation>
					<xsd:documentation>
						<Description>Claiming extraterritorial income exclusion</Description>
						<LineNumber>Schedule N Line 7a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="BooleanType">
							<xsd:attribute name="referenceDocumentId" type="IdListType" />
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8873" />
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Number of Forms 8873 Attached -->
			<xsd:element name="NumberOfForms8873Attached" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of forms 8873 attached to the return</Description>
						<LineNumber>Schedule N Line 7b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="IntegerNNType">
						<xsd:totalDigits value="20" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>

			<!-- Total of Amounts -->
			<xsd:element name="TotalOfAmounts" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total amount of extraterritorial income exclusion (net disallowed deductions) of all Forms 8873 attached to the tax return</Description>
						<LineNumber>Schedule N Line 7c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

</xsd:schema>
