<?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 - Foreign Partnership Interest Schedule</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ===================================================== -->
	<!-- ======  Foreign Partnership Interest Schedule ======= -->
	<!-- ===================================================== -->


	<xsd:element name="FrgnPartnershipIntSchedule">
		<xsd:annotation>
			<xsd:documentation>Foreign Partnership Interest Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="FrgnPartnershipIntScheduleType">
					<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="ForeignPartnershipInterestSchedule">
						<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="FrgnPartnershipIntScheduleType">
		<xsd:annotation>
			<xsd:documentation>Content model for Foreign Partnership Interest Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="ForeignPartnershipInfo" type="ForeignPartnershipInfoType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<!-- Type for Repeating Group - Foreign Partnership Info -->
	<xsd:complexType name="ForeignPartnershipInfoType">
		<xsd:annotation>
			<xsd:documentation>Content model for Foreign Partnership Info</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Name --> 
			<xsd:element name="BusinessName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Type of entity --> 
			<xsd:element name="EntityTypeTxt" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of entity</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			
			<!-- EIN --> 
			<xsd:element name="EIN" type="EINType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>EIN</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Income (Loss) per Income Statement Amount -->
			<xsd:element name="IncomeLossPerIncomeStmtAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Income (Loss) per Income Statement Amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Temporary Difference Amount -->
			<xsd:element name="TemporaryDifferenceAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Temporary Difference Amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Permanent Difference Amount -->
			<xsd:element name="PermanentDifferenceAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Permanent Difference Amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Non-effectively Connected Income -->
			<xsd:element name="TotalNonEffCnnctIncmAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total Non-effectively Connected Income</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Income (Loss) per Tax Return Amount -->
			<xsd:element name="IncomeLossPerTaxReturnAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Income (Loss) per Tax Return Amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>

	</xsd:complexType>

</xsd:schema>
