<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.irs.gov/efile" 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>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>October 17, 2018</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="OwnedDisregardedForeignEntInd">
				<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="Form8858AttachedCnt" 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="Form8865AttachedCnt" 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="Owned10PercentIntFrgnPrtshpInd">
				<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="CivilFraudCaseSectionShrInd">
				<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="Form5471AttachedCnt" 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="ReceivedDistributionFrgnTrInd" 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="ForeignFinancialAccountInd" 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="ForeignCountryCd" 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="ExtraterritorialIncomeExclInd">
				<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="Form8873AttachedCnt" 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="TotExtraterritorialIncmExclAmt" 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>
			
			<!-- Indicates a Specified Domestic Entity Required to File Form 8938 -->
			<xsd:element name="RequiredToFileForm8938Ind" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Indicates a specified domestic entity required to file Form 8938</Description>
						<LineNumber>Schedule N Line 8</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="IRS8938"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

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

</xsd:schema>
