<?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 Schema - Form 8865</Description>
			<TaxYear>2015</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 8, 2015</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ======================================================================= -->
	<!-- ============================  IRS Form 8865 =========================== -->
	<!-- ======================================================================= -->


	<xsd:element name="IRS8865">
		<xsd:annotation>
			<xsd:documentation>IRS Form 8865</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS8865Type">
					<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="IRS8865">
						<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:attribute name="referenceDocumentId" type="IdListType">
						<xsd:annotation>
							<xsd:documentation>List of document ID's of forms, schedules, supporting info. etc. attached to this form</xsd:documentation>
						</xsd:annotation>
					</xsd:attribute>
					<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8865ScheduleK1 IRS8865ScheduleO IRS8865ScheduleP MultipleCategory1FilersStatement IRS3115 IRS3468 IRS4684 IRS4797 IRS6781 IRS8586 IRS8594 IRS8824 IRS8825 IRS8833 IRS8858 IRS4562 IRS8883 IRS8886 BalanceSheetsAgreeStatement BinaryAttachment ControlledForeignPartnershipReportingStatement GeneralDependencySmall"/>

					<xsd:attribute name="changeAnnualAccountingPeriodCd">
						<xsd:simpleType>
							<xsd:restriction base="StringType">
								<xsd:enumeration value="FiledUnderRevProc2006-45"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>

				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name="IRS8865Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Tax Year Beginning -->
			<xsd:element name="TaxYearBeginDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax year beginning</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Tax Year Ending -->
			<xsd:element name="TaxYearEndDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax year ending</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Name of Filer: choice between Business Name or Person Name -->
			<xsd:choice minOccurs="0">

				<!-- Name of Filer -->
				<xsd:element name="FilerName" type="BusinessNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Name of Filer</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Filer Person Name -->
				<xsd:element name="FilerPersonNm" type="PersonNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Filer person name</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Filer's Identifying Number: choice between SSN (person) or EIN (business, partnership, etc.) -->
			<xsd:choice minOccurs="0">
				<!-- Filer's SSN -->
				<xsd:element name="FilerSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Filer's SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Filer's EIN -->
				<xsd:element name="FilerEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Filer's EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Filer's Missing EIN Reason -->
				<xsd:element name="MissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Filer's missing EIN reason</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:choice>

			<!-- Category 1 Filer -->
			<xsd:element name="CategoryOfFiler1Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 1 filer</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Category 2 Filer -->
			<xsd:element name="CategoryOfFiler2Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 2 filer</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Category 3 Filer -->
			<xsd:element name="CategoryOfFiler3Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 3 filer</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Category 4 Filer -->
			<xsd:element name="CategoryOfFiler4Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 4 filer</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Filer's Tax Year Beginning -->
			<xsd:element name="FilerTaxYearBeginDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Filer's tax year beginning</Description>
						<LineNumber>B</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Filer's Tax Year Ending -->
			<xsd:element name="FilerTaxYearEndDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Filer's tax year ending</Description>
						<LineNumber>B</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Filer's Share of Liabilities - Nonrecourse -->
			<xsd:element name="FilerShareOfLiabNonRecourseAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Filer's share of liabilities - Nonrecourse</Description>
						<LineNumber>C</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Filer's Share of Liabilities - Qualified Nonrecourse Financing -->
			<xsd:element name="QualifiedNonRcrsFinancingAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Filer's share of liabilities - Qualified nonrecourse financing</Description>
						<LineNumber>C</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Filer's Share of Liabilities - Other -->
			<xsd:element name="FilerShareOfLiabilitiesOthAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Filer's share of liabilities - Other</Description>
						<LineNumber>C</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Parent Filer's Name -->
			<xsd:element name="ParentFilerName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Parent filer's name</Description>
						<LineNumber>D</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Parent Filer's EIN or Missing EIN Reason -->
			<xsd:choice minOccurs="0">

				<!-- Parent Filer's EIN -->
				<xsd:element name="ParentFilerEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Parent filer's EIN</Description>
							<LineNumber>D</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Parent Filer's Missing EIN Reason  -->
				<xsd:element name="ParentFilerMissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Parent filer's missing EIN reason</Description>
							<LineNumber>D</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Parent Filer's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Parent Filer's U.S. Address -->
				<xsd:element name="ParentFilerUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Parent filer's U.S. address</Description>
							<LineNumber>D</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Parent Filer's Foreign Address -->
				<xsd:element name="ParentFilerForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Parent filer's foreign address</Description>
							<LineNumber>D</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			
			<!-- Check if any Excepted Specified Foreign Financial Assets are Reported on this Form (See Instructions) -->
			<xsd:element name="ForeignFinancialAssetInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Check if any excepted specified foreign financial assets are reported on this form (see instructions)</Description>
						<LineNumber>E</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Partners Information -->
			<xsd:element name="OtherPartnersInformationGrp" type="OtherPartnersInformationGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Information about certain other partners</Description>
						<LineNumber>F</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Partnership's Name -->
			<xsd:element name="ForeignPartnershipName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign partnership's name</Description>
						<LineNumber>G1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Choice between Foreign Partnership's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">

				<!-- Foreign Partnership's U.S. Address -->
				<xsd:element name="ForeignPartnershipUSAddress" type="USAddressType">
				    <xsd:annotation>
					<xsd:documentation>
					    <Description>Foreign partnership's U.S. address</Description>
					    <LineNumber>G1</LineNumber>
					</xsd:documentation>
				    </xsd:annotation>
				</xsd:element>


				<!-- Foreign Partnership's Foreign Address -->
				<xsd:element name="ForeignPartnershipAddress" type="ForeignAddressType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign partnership's foreign address</Description>
							<LineNumber>G1</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Choice between Foreign Partnership's EIN or "APPLD FOR" or "FOREIGNUS" -->
			<xsd:choice minOccurs="0">

				<!-- Foreign Partnership's EIN -->
				<xsd:element name="ForeignPartnershipEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign partnership's EIN</Description>
							<LineNumber>G2(a)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Partnership's Missing EIN Reason -->
				<xsd:element name="FrgnPrtshpMissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign partnership's missing EIN reason</Description>
							<LineNumber>G2(a)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Foreign Entity Identification Group -->
			<xsd:element name="ForeignEntityIdentificationGrp" type="ForeignEntityIdentificationGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign Entity Identification Group</Description>
						<LineNumber>G2(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>				
			
			<!-- Country Under Whose Laws are Organized -->
			<xsd:element name="CntryUnderWhoseLawsOrganizedCd" type="AllCountriesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Country under whose laws are organized</Description>
						<LineNumber>G3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Date of Organization -->
			<xsd:element name="OrganizationFormedDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Date of organization</Description>
						<LineNumber>G4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Principal Place of Business -->
			<xsd:element name="PrincipalPlaceOfBusCountryCd" type="AllCountriesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Principal place of business</Description>
						<LineNumber>G5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Principal Business Activity Code or Inactive -->
			<xsd:choice minOccurs="0">

				<!-- Principal Business Activity Code Number -->
				<xsd:element name="PrincipalBusinessActivityCd" type="BusinessActivityCodeType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Principal business activity code number</Description>
							<LineNumber>G6</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Inactive Principal Business Activity Number - Code -->
				<xsd:element name="InactivePrincipalBusActyCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Inactive principal business activity code number</Description>
							<LineNumber>G6</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="Inactive"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Principal Business Activity -->
			<xsd:element name="PrincipalBusinessActivityDesc" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Principal business activity</Description>
						<LineNumber>G7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Functional Currency -->
			<xsd:element name="FunctionalCurrencyDesc" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Functional currency</Description>
						<LineNumber>G8(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="ShortDescriptionType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="FunctionalCurrencyAndExchangeRateQBUStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Exchange Rate -->
			<xsd:element name="ExchangeRt" type="LargeRatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Exchange rate</Description>
						<LineNumber>G8(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- U.S. Agent's Name -->
			<xsd:element name="USAgentName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. agent's name</Description>
						<LineNumber>H1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- U.S. Agent's Identifying Number: choice between SSN (person) or EIN (business, partnership, etc.) or Missing EIN Reason -->
			<xsd:choice minOccurs="0">
				<!-- U.S. Agent's SSN -->
				<xsd:element name="USAgentSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. agent's SSN</Description>
							<LineNumber>H1</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- U.S. Agent's EIN -->
				<xsd:element name="USAgentEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. agent's EIN</Description>
							<LineNumber>H1</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- U.S. Agent's Missing EIN Reason  -->
				<xsd:element name="USAgentMissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. agent's missing EIN reason</Description>
							<LineNumber>H1</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:choice>

			<!-- U.S. Agent's Address -->
			<xsd:element name="USAgentAddress" type="USAddressType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. agent's address</Description>
						<LineNumber>H1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- File Form 1042 -->
			<xsd:element name="FileForm1042Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign partnership must file Form 1042</Description>
						<LineNumber>H2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- File Form 8804 -->
			<xsd:element name="FileForm8804Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign partnership must file Form 8804</Description>
						<LineNumber>H2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- File Form 1065 or 1065-B -->
			<xsd:element name="FileForm1065or1065BInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign partnership must file Form 1065 or 1065-B</Description>
						<LineNumber>H2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Service Center where File Form 1065 or 1065-B is Filed-->
			<xsd:element name="SCWhereForm1065or1065BFiledTxt" type="IRSServiceCenterType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Service center where Form 1065 or 1065-B is filed</Description>
						<LineNumber>H2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Partnership Agent's Name -->
			<xsd:element name="ForeignPartnershipAgentName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign partnership agent's name</Description>
						<LineNumber>H3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Partnership Agent's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Foreign Partnership Agent's U.S. Address -->
				<xsd:element name="FrgnPartnershipAgentUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign partnership agent's U.S. address</Description>
							<LineNumber>H3</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Partnership Agent's Foreign Address -->
				<xsd:element name="FrgnPrtshpAgentForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign partnership agent's foreign address</Description>
							<LineNumber>H3</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Name of Person(s) with Custody of the Books and Records of the Foreign Partnership: choice between Business Name or Individual Name -->
			<xsd:choice minOccurs="0">

				<!-- Name of Person(s) with Custody of the Books and Records of the Foreign Partnership -->
				<xsd:element name="PersonsWithBooksName" type="BusinessNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Name of person(s) with custody of the books and records of the foreign partnership</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Name of Individual with Custody of the Books and Records of the Foreign Partnership -->
				<xsd:element name="IndividualWithBooksNm" type="PersonNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Name of individual with custody of the books and records of the foreign partnership</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Address of Person(s) with Custody of the Books and Records of the Foreign Partnership: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- U.S. Address of Person(s) with Custody of the Books and Records of the Foreign Partnership -->
				<xsd:element name="PersonsWithBooksUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. address of person(s) with custody of the books and records of the foreign partnership</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Address of Person(s) with Custody of the Books and Records of the Foreign Partnership -->
				<xsd:element name="PersonsWithBooksForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign address of person(s) with custody of the books and records of the foreign partnership</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Location of the Books and Records of the Foreign Partnership (if different from above): choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- U.S. Address location of the Books and Records of the Foreign Partnership (if different from above) -->
				<xsd:element name="LocationOfBooksUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>U.S. address location of the books and records of the foreign partnership (if different)</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Address location of the Books and Records of the Foreign Partnership (if different from above) -->
				<xsd:element name="LocationOfBooksForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign address location of the books and records of the foreign partnership (if different)</Description>
							<LineNumber>H4</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Special Allocations Made by the Foreign Partnership? -->
			<xsd:element name="SpclAllocnMadeByFrgnPrtshpInd" type="BooleanType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Were any special allocations made by the foreign partnership?</Description>
						<LineNumber>H5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Number of Foreign Disregarded Entities Owned by the Partnership -->
			<xsd:element name="FrgnDisregardedEntitiesOwnNum" type="NumOfFrgnDisregardedEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of foreign disregarded entities owned by the partnership</Description>
						<LineNumber>H6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Partnership Classification Under the Law of the Country in which it is Organized -->
			<xsd:element name="PrtshpClsfUnderLawOfCountryTxt" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>How is this partnership classified under the law of the country in which it is organized?</Description>
						<LineNumber>H7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Does the Filer Have an Interest in the Foreign Partnership, or an Interest Indirectly Through the Foreign Partnership, That is a Separate Unit Under Reg. 1.1503(d)-1(b)(4) or Part of a Combined Separate Unit Under Reg. 1.1503(d)-1(b)(4)(ii)? If "No" Skip Question 8b. -->
			<xsd:element name="FrgnPrtshpInterestSepUnitInd" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Does the filer have an interest in the foreign partnership, or an interest indirectly through the foreign partnership, that is a separate unit under Reg. 1.1503(d)-1(b)(4) or part of a combined separate unit under Reg. 1.1503(d)-1(b)(4)(ii)?  If "No" skip question 8b.</Description>
						<LineNumber>H8a</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="SeparateUnitsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			
			<!-- If "Yes," Does the Separate Unit or Combined Separate Unit Have a Dual Consolidated Loss as Defined in Reg. 1.1503(d)-1(b)(5)(ii) -->
			<xsd:element name="SepCombSepDualCnsldtLossInd" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>If "Yes," does the separate unit or combined separate unit have a dual consolidated loss as defined in Reg. 1.1503(d)-1(b)(5)(ii)</Description>
						<LineNumber>H8b</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="SeparateUnitsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Partnership's Total Receipts for Yax Year < $250,000 AND Total Assets at End of Tax Year < $1,000,000 ? -->
			<xsd:element name="TotalRcptsAssetsLessThanLmtInd" type="BooleanType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>The partnership's total receipts for the year were less than $250,000 and the value of the partnership's total assets at the end of the tax year was less than $1,000,000</Description>
						<LineNumber>H9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	

			<!-- IRS8865 Schedule A - Constructive Ownership of Partnership Interest -->
			<xsd:element name="IRS8865ScheduleA" type="IRS8865ScheduleAType" minOccurs="0"/>

			<!-- IRS8865 Schedule A-1 - Certain Partners of Foreign Partnership -->
			<xsd:element name="IRS8865ScheduleA1" type="IRS8865ScheduleA1Type" minOccurs="0"/>

			<!-- IRS8865 Schedule A-2 - Affiliation Schedule -->
			<xsd:element name="IRS8865ScheduleA2" type="IRS8865ScheduleA2Type" minOccurs="0"/>

			<!-- IRS8865 Schedule B - Income Statement - Trade or Business Income -->
			<xsd:element name="IRS8865ScheduleB" type="IRS8865ScheduleBType" minOccurs="0"/>

			<!-- IRS8865 Schedule K - Partner's Shares of Income, Credits, Deductions, etc. -->
			<xsd:element name="IRS8865ScheduleK" type="IRS8865ScheduleKType" minOccurs="0"/>

			<!-- IRS8865 Schedule L - Balance Sheets per Books -->
			<xsd:element name="IRS8865ScheduleL" type="IRS8865ScheduleLType" minOccurs="0"/>

			<!-- IRS8865 Schedule M - Balance Sheets for Interest Allocation -->
			<xsd:element name="IRS8865ScheduleM" type="IRS8865ScheduleMType" minOccurs="0"/>

			<!-- IRS8865 Schedule M-1 - Reconciliation of Income (Loss) per Books With Income (Loss) per Return -->
			<xsd:element name="IRS8865ScheduleM1" type="IRS8865ScheduleM1Type" minOccurs="0"/>

			<!-- IRS8865 Schedule M-2 - Analysis of Partner's Capital Accounts -->
			<xsd:element name="IRS8865ScheduleM2" type="IRS8865ScheduleM2Type" minOccurs="0"/>

			<!-- IRS8865 Schedule N - Transactions Between Controlled Foreign Partnership and Partners or Other Related Entities -->
			<xsd:element name="IRS8865ScheduleN" type="IRS8865ScheduleNType" minOccurs="0"/>

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

	<!-- ===== Type for Element "OtherPartnersInfo" for line F ===== -->

	<xsd:complexType name="OtherPartnersInformationGrpType">
		<xsd:sequence>

			<!-- Partner's Name -->
			<xsd:element name="PartnerName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partner's name</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Partner's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Partner's U.S. Address -->
				<xsd:element name="PartnerUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partner's U.S. address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partner's Foreign Address -->
				<xsd:element name="PartnerForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partner's foreign address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Identifying Number: choice between SSN (person) or EIN (business, partnership, etc.) or Missing EIN Reason -->
			<xsd:choice minOccurs="0">
				<!-- Partner's SSN -->
				<xsd:element name="PartnerSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partner's SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partner's EIN -->
				<xsd:element name="PartnerEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partner's EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partner's Missing EIN Reason  -->
				<xsd:element name="PartnerMissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partner's missing EIN reason</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:choice>

			<!-- Category 1 -->
			<xsd:element name="Category1Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 1</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Category 2 -->
			<xsd:element name="Category2Ind" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Category 2</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Constructive Owner -->
			<xsd:element name="ConstructiveOwnerInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Constructive owner</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- =============================================================== -->
	<!-- ===================  IRS Form 8865 Schedule A ================= -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleAType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule A</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Owns a Direct Interest -->
			<xsd:element name="OwnsDirectInterestInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Owns a direct interest</Description>
						<LineNumber>Schedule A Line a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Owns a Constructive Interest -->
			<xsd:element name="OwnsConstructiveInterestInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Owns a constructive interest</Description>
						<LineNumber>Schedule A Line b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Constructive Ownership Information table-->
			<xsd:element name="ConstructiveOwnershipInfoGrp" type="ConstructiveOwnershipInfoGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Constructive ownership of partnership interest</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- ===== Type for Element "ConstructiveOwnershipInfo" for Schedule A table ===== -->

	<xsd:complexType name="ConstructiveOwnershipInfoGrpType">
		<xsd:sequence>

			<!-- Constructive Owner's Name: choice between Business Name or Person Name -->
			<xsd:choice minOccurs="0">

				<!-- Constructive Owner's Name -->
				<xsd:element name="ConstructiveOwnerName" type="BusinessNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's name</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Constructive Owner's Person Name -->
				<xsd:element name="ConstructiveOwnerPersonNm" type="PersonNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's person name</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Constructive Owner's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Constructive Owner's U.S. Address -->
				<xsd:element name="ConstructiveOwnerUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's U.S. address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Constructive Owner's Foreign Address -->
				<xsd:element name="ConstructiveOwnerFrgnAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's foreign address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Constructive Owner's Identifying Number: choice between SSN (person) or EIN (business, partnership, etc.) or Missing EIN Reason -->
			<xsd:choice minOccurs="0">
				<!-- Constructive Owner's SSN -->
				<xsd:element name="ConstructiveOwnerSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Constructive Owner's EIN -->
				<xsd:element name="ConstructiveOwnerEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Constructive owner's EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Missing EIN Reason  -->
				<xsd:element name="MissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Missing EIN reason</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:choice>

			<!-- Constructive Owner Is Foreign Person (checkbox) -->
			<xsd:element name="ConstructiveOwnerIsFrgnPrsnInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Check if foreign person</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Constructive Owner Is Direct Partner (checkbox) -->
			<xsd:element name="ConstructiveOwnerIsDrtPrtnrInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Check if direct partner</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- =============================================================== -->
	<!-- ==================  IRS Form 8865 Schedule A-1 ================ -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleA1Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule A-1</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Certain Partners Information table-->
			<xsd:element name="CertainPartnersInformationGrp" type="CertainPartnersInformationGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Certain partners of foreign partnership</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Partnership have Other Foreign Person as a Direct Partner? -->
			<xsd:element name="HaveOtherForeignDirectPrtnrInd" type="BooleanType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Does the partnership have any other foreign person as a direct partner?</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- ===== Type for Element "CertainPartnersInfo" for Schedule A-1 table ===== -->

	<xsd:complexType name="CertainPartnersInformationGrpType">
		<xsd:sequence>

			<!-- Certain Partner's Name: choice between Business Name or Person Name -->
			<xsd:choice minOccurs="0">

				<!-- Certain Partner's Name -->
				<xsd:element name="CertainPartnerName" type="BusinessNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's name</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Certain Partner's Person Name -->
				<xsd:element name="CertainPartnerPersonNm" type="PersonNameType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's person name</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Certain Partner's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Certain Partner's U.S. Address -->
				<xsd:element name="CertainPartnerUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's U.S. address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Certain Partner's Foreign Address -->
				<xsd:element name="CertainPartnerForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's foreign address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Certain Partner's Identifying Number: choice between SSN (person) or EIN (business, partnership, etc.) or Missing EIN Reason -->
			<xsd:choice minOccurs="0">
				<!-- Certain Partner's SSN -->
				<xsd:element name="CertainPartnerSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Certain Partner's EIN -->
				<xsd:element name="CertainPartnerEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Certain partner's EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Missing EIN Reason  -->
				<xsd:element name="MissingEINReasonCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Missing EIN reason</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>
			</xsd:choice>

			<!-- Certain Partner Is Foreign Person (checkbox) -->
			<xsd:element name="CertainPartnerIsForeignPrsnInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Check if foreign person</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- =============================================================== -->
	<!-- ==================  IRS Form 8865 Schedule A-2 ================ -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleA2Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule A-2</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Affiliation Schedule table-->
			<xsd:element name="AffiliationScheduleGrp" type="AffiliationScheduleGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Affiliation schedule</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- ===== Type for Element "AffilationSchedule" for Schedule A-2 table ===== -->

	<xsd:complexType name="AffiliationScheduleGrpType">
		<xsd:sequence>

			<!-- Partnership's Name -->
			<xsd:element name="PartnershipName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partnership's name</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Partnership's Address: choice between U.S. or foreign address -->
			<xsd:choice minOccurs="0">
				<!-- Partnership's U.S. Address -->
				<xsd:element name="PartnershipUSAddress" type="USAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partnership's U.S. address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partnership's Foreign Address -->
				<xsd:element name="PartnershipForeignAddress" type="ForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partnership's foreign address</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Partnership's Identification Number or Missing EIN Reason -->
			<xsd:choice>

				<!-- Partnership's EIN -->
				<xsd:element name="PartnershipEIN" type="EINType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partnership's EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partnership's SSN -->
				<xsd:element name="PartnershipSSN" type="SSNType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partnership's SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Partnership Missing SSN/EIN Reason -->
				<xsd:element name="MissingSSNEINReasonCd" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Partnership missing identification number reason</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Total Ordinary Income or Loss -->
			<xsd:element name="TotalOrdinaryIncomeOrLossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total ordinary income or loss</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Partnership Is Foreign Person (checkbox) -->
			<xsd:element name="PartnershipIsForeignPersonInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Check if foreign person</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- =============================================================== -->
	<!-- ===================  IRS Form 8865 Schedule B ================= -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleBType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule B</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Gross Receipts or Sales -->
			<xsd:element name="GrossReceiptsOrSalesAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross receipts or sales</Description>
						<LineNumber>Schedule B Line 1a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="GrossReceiptsInstallmentSalesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Less Returns and Allowances -->
			<xsd:element name="ReturnsAndAllowancesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Less returns and allowances</Description>
						<LineNumber>Schedule B Line 1b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net of Sales -->
			<xsd:element name="NetOfSalesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net of sales.  Subtract line 1b from 1a</Description>
						<LineNumber>Schedule B Line 1c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Cost of Goods Sold -->
			<xsd:element name="CostOfGoodsSoldAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Cost of goods sold</Description>
						<LineNumber>Schedule B Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Profit -->
			<xsd:element name="GrossProfitAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross profit.  Subtract line 2 from 1c</Description>
						<LineNumber>Schedule B Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Ordinary Income (Loss) from Other Partnerships, Estates, and Trusts -->
			<xsd:element name="OrdinaryIncomeLossOthPrtshpAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Ordinary income (loss) from other partnerships, estates, and trusts (attach schedule)</Description>
						<LineNumber>Schedule B Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOrdinaryIncomeLossStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Net Farm Profit (Loss) -->
			<xsd:element name="NetFarmProfitLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net farm profit (loss) (attach Schedule F (Form 1040))</Description>
						<LineNumber>Schedule B Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS1040ScheduleF"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Net Gain (Loss) from Form 4797 Part II Line 18 -->
			<xsd:element name="Form4797GainOrLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net gain (loss) from Form 4797, Part II, line 18</Description>
						<LineNumber>Schedule B Line 6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4797"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Income (Loss) -->
			<xsd:element name="OtherIncomeLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other income (loss) (attach schedule)</Description>
						<LineNumber>Schedule B Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherIncomeLossSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Total Income (Loss) -->
			<xsd:element name="TotalIncomeOrLossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total income (loss).  Combine lines 3 through 7</Description>
						<LineNumber>Schedule B Line 8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Salaries and Wages -->
			<xsd:element name="SalariesAndWagesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Salaries and wages (other than to partners) (less employment credits)</Description>
						<LineNumber>Schedule B Line 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Guaranteed Payments to Partners -->
			<xsd:element name="GuaranteedPaymentsToPrtnrAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Guaranteed payments to partners</Description>
						<LineNumber>Schedule B Line 10</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Repairs and Maintenance -->
			<xsd:element name="RepairsAndMaintenanceAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Repairs and maintenance</Description>
						<LineNumber>Schedule B Line 11</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Bad Debts -->
			<xsd:element name="BadDebtExpenseAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Bad debts</Description>
						<LineNumber>Schedule B Line 12</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Rent -->
			<xsd:element name="RentAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Rent</Description>
						<LineNumber>Schedule B Line 13</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4562"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Taxes and Licenses -->
			<xsd:element name="TaxesAndLicensesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Taxes and licenses</Description>
						<LineNumber>Schedule B Line 14</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Interest -->
			<xsd:element name="InterestAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Interest</Description>
						<LineNumber>Schedule B Line 15</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="DeductionDisallowedComputationStatement BusinessStartupAndOrganizationalCostStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Depreciation -->
			<xsd:element name="DepreciationAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depreciation (if required, attach Form 4562)</Description>
						<LineNumber>Schedule B Line 16a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4562"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Less Depreciation Reported on Schedule A and elsewhere on return -->
			<xsd:element name="LessDepreciationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Less depreciation reported on Schedule A and elsewhere on return</Description>
						<LineNumber>Schedule B Line 16b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net of Depreciation -->
			<xsd:element name="NetChangeToDepreciationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net of depreciation.  Subtract line 16b from 16a</Description>
						<LineNumber>Schedule B Line 16c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Depletion -->
			<xsd:element name="DepletionAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depletion (Do not deduct oil and gas depletion)</Description>
						<LineNumber>Schedule B Line 17</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRSFormT"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Retirement Plans -->
			<xsd:element name="RetirementPlansAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Retirement plans, etc.</Description>
						<LineNumber>Schedule B Line 18</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Employee Benefit Programs -->
			<xsd:element name="EmployeeBenefitProgramAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Employee benefit programs</Description>
						<LineNumber>Schedule B Line 19</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Deductions -->
			<xsd:element name="OtherDeductionsAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other deductions (attach schedule)</Description>
						<LineNumber>Schedule B Line 20</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4562 ItemizedOtherDeductionsSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Total Deductions -->
			<xsd:element name="TotalDeductionAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total deductions.  Add the amounts shown in the far right column for lines 9 through 20</Description>
						<LineNumber>Schedule B Line 21</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Ordinary Income (Loss) -->
			<xsd:element name="OrdinaryIncomeLossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Ordinary income (loss) from trade or business activities.  Subtract line 21 from line 8</Description>
						<LineNumber>Schedule B Line 22</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- =============================================================== -->
	<!-- ===================  IRS Form 8865 Schedule K ================= -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleKType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule K</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Ordinary Business Income/Loss -->
			<xsd:element name="OrdnryIncmLossFromTrdOrBusAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Ordinary business income (loss)</Description>
						<LineNumber>Schedule K Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net Rental Real Estate Income -->
			<xsd:element name="NetIncomeLossFromRntlREActyAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net rental real estate income</Description>
						<LineNumber>Schedule K Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8825"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Gross Rental Income/Loss -->
			<xsd:element name="GrossIncomeFromOthRntlActyAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other gross rental income/loss</Description>
						<LineNumber>Schedule K Line 3a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Expenses from Other Rental Activities (attach schedule) -->
			<xsd:element name="ExpensesFromOtherRentalActyAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Expenses from other rental activities (attach schedule)</Description>
						<LineNumber>Schedule K Line 3b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ExpensesFromOtherRentalActivitiesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Net Rental Income/Loss -->
			<xsd:element name="NetIncmLossFromOthRntlActyAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other net rental income/loss</Description>
						<LineNumber>Schedule K Line 3c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Guaranteed Payments to Partners -->
			<xsd:element name="GuaranteedPaymentsToPrtnrAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Guaranteed payments to partners</Description>
						<LineNumber>Schedule K Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Interest Income -->
			<xsd:element name="InterestIncomeAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Interest income</Description>
						<LineNumber>Schedule K Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Ordinary Dividends -->
			<xsd:element name="OrdinaryDividendsAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Ordinary dividends</Description>
						<LineNumber>Schedule K Line 6a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Qualified Dividends -->
			<xsd:element name="QualifiedDividendsAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Qualified dividends</Description>
						<LineNumber>Schedule K Line 6b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Royalties -->
			<xsd:element name="RoyaltiesReceivedAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Royalties</Description>
						<LineNumber>Schedule K Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net Short-Term Capital Gain (Loss) -->
			<xsd:element name="NetSTCapitalGainOrLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net short-term capital gain (loss)</Description>
						<LineNumber>Schedule K Line 8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS1065ScheduleD"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Net Long-Term Capital Gain (Loss) -->
			<xsd:element name="NetLTCapitalGainOrLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net long-term capital gain (loss)</Description>
						<LineNumber>Schedule K Line 9a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS1065ScheduleD"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Collectibles (28%) Gain (Loss) -->
			<xsd:element name="Collectibles28PercentGainAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Collectibles (28%) gain (loss)</Description>
						<LineNumber>Schedule K Line 9b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="SaleOrExchangeOfCollectiblesStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Unrecaptured Section 1250 Gain -->
			<xsd:element name="UnrecapturedSection1250GainAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Unrecaptured section 1250 gain</Description>
						<LineNumber>Schedule K Line 9c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="UnrecapturedSection1250GainSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Net Section 1231 Gain (Loss) -->
			<xsd:element name="NetSection1231GainLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net section 1231 gain (loss) (attach Form 4797)</Description>
						<LineNumber>Schedule K Line 10</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4797"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Income (Loss) -->
			<xsd:element name="OtherIncomeLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other income (loss) (attach schedule)</Description>
						<LineNumber>Schedule K Line 11</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="otherIncomeTyp" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherIncomeLossSchedule OtherPortfolioIncomeLossStatement REMICStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Section 179 Expense Deduction -->
			<xsd:element name="Section179ExpenseDeductionAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Section 179 expense deduction (attach Form 4562)</Description>
						<LineNumber>Schedule K Line 12</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS4562 Section179ZoneEnterprisePropertyStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Contributions -->
			<xsd:element name="CharitableContributionsTotAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Contributions</Description>
						<LineNumber>Schedule K Line 13a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="CharitableContributionSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>


			<!-- Investment Interest Expense -->
			<xsd:element name="InterestExpenseOnInvstDbAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Investment interest expense</Description>
						<LineNumber>Schedule K Line 13b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Section 59(e)(2) Expenditures -->
			<xsd:element name="Section59e2ExpenditureAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Section 59(e)(2) expenditures</Description>
						<LineNumber>Schedule K Line 13c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="sect59e2ExpenditureDesc" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="Section59e2ExpenditureStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Deductions (attach schedule) -->
			<xsd:element name="OtherDeductionsAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other deductions (attach schedule)</Description>
						<LineNumber>Schedule K Line 13d</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="otherDeductionsDesc" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="DomesticProductionActivitiesStatement ItemizedOtherDeductionsSchedule3"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Net Earnings (Loss) from Self-Employment -->
			<xsd:element name="NetEarningsLossFromSEAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net earnings (loss) from self-employment</Description>
						<LineNumber>Schedule K Line 14a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Farming or Fishing Income -->
			<xsd:element name="GrossFarmingOrFishingIncomeAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross farming or fishing income</Description>
						<LineNumber>Schedule K Line 14b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Nonfarm Income -->
			<xsd:element name="GrossNonfarmIncomeAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross nonfarm income</Description>
						<LineNumber>Schedule K Line 14c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Low-Income Housing Credit (Section 42(j)(5)) -->
			<xsd:element name="LowIncmHsngCrSect42j5PrtshpAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Low-income housing credit (section 42(j)(5))</Description>
						<LineNumber>Schedule K Line 15a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8586 IRS8609A"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Low-Income Housing Credit (Other) -->
			<xsd:element name="LowIncomeHousingCrOthPrtshpAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Low-income housing credit (other)</Description>
						<LineNumber>Schedule K Line 15b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS8586 IRS8609A"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Qualified Rehabilitation Expenditures (Rental Real Estate) -->
			<xsd:element name="QlfyRehbltExpendRntlREActyAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Qualified rehabilitation expenditures (rental real estate) (attach Form 3468)</Description>
						<LineNumber>Schedule K Line 15c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS3468"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Rental Real Estate -->
			<xsd:element name="OtherRentalRealEstateAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other rental real estate</Description>
						<LineNumber>Schedule K Line 15d</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="otherRentalRealEstateCrDesc" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherRentalRealEstateCreditsStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Other Rental Credits -->
			<xsd:element name="OtherRentalCreditsAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other rental credits</Description>
						<LineNumber>Schedule K Line 15e</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="otherRentalCreditDesc" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherRentalCreditsStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Credits -->
			<xsd:element name="TotalCreditsAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credits</Description>
						<LineNumber>Schedule K Line 15f</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="otherCreditsTotalDesc" type="ShortDescriptionType"/>
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="IRS3468 IRS4255 IRS5884 IRS6478 IRS6765 IRS8820 IRS8826 IRS8834 IRS8835 IRS8844 IRS8845 IRS8846 IRS8864 IRS8874 IRS8881 IRS8882 IRS8896 IRS8900 IRS8906 IRS8908 IRS8910 IRS8911 IRS8912 IRS8923 ItemizedOtherCreditsSchedule NonconventionalSourceFuelCreditSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Foreign Transactions -->
			<xsd:element name="DistributiveShareItemsFrgnTxs" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign Transactions</Description>
						<LineNumber>Schedule K Line 16a-m</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:complexContent>
						<xsd:extension base="DistributiveShareItemsFrgnTxsType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="TaxReductionExplanation"/>
						</xsd:extension>
					</xsd:complexContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Post-1986 Depreciation Adjustment -->
			<xsd:element name="Post1986DepreciationAdjAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Post-1986 Depreciation Adjustment</Description>
						<LineNumber>Schedule K Line 17a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Adjusted Gain or Loss -->
			<xsd:element name="AdjustedGainOrLossAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Adjusted gain or loss</Description>
						<LineNumber>Schedule K Line 17b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="AdjustedGainLossSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Depletion (Other Than Oil and Gas) -->
			<xsd:element name="DepletionOtherThanOilAndGasAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depletion (other than oil and gas)</Description>
						<LineNumber>Schedule K Line 17c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Income from Oil, Gas, and Geothermal Properties -->
			<xsd:element name="OilGasAndGeothermalGroIncmAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross income from oil, gas, and geothermal properties</Description>
						<LineNumber>Schedule K Line 17d</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="GrossIncomeFromOilGasAndGeothermalPropertiesStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Deductions Allocable to Oil, Gas, and Geothermal Properties -->
			<xsd:element name="OilGasAndGeothermalDedsAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocable to oil, gas, and geothermal properties</Description>
						<LineNumber>Schedule K Line 17e</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other AMT Items -->
			<xsd:element name="OtherAMTItemsAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other AMT items</Description>
						<LineNumber>Schedule K Line 17f</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherAdjustmentsAndTaxPreferenceItemsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Tax-Exempt Interest Income -->
			<xsd:element name="TaxExemptInterestIncomeAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax exempt interest income</Description>
						<LineNumber>Schedule K Line 18a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Tax-Exempt Income -->
			<xsd:element name="OtherTaxExemptIncomeAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other tax exempt income</Description>
						<LineNumber>Schedule K Line 18b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Nondeductible Expenses -->
			<xsd:element name="NondeductibleExpensesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Nondeductible expenses</Description>
						<LineNumber>Schedule K Line 18c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Distributions of Money (Cash and Marketable Securities) -->
			<xsd:element name="DistributionsOfMoneyAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions of money (cash and marketable securities)</Description>
						<LineNumber>Schedule K Line 19a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="DistributionsOfMoneyStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Distributions of Property Other Than Money -->
			<xsd:element name="DistriOfPropOthThanMonyAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions of property other than money</Description>
						<LineNumber>Schedule K Line 19b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="DistributionsOfPropertyOtherThanMoneyStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Investment Income -->
			<xsd:element name="InvestmentIncomeInPrtflIncmAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Investment income</Description>
						<LineNumber>Schedule K Line 20a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Investment Expenses -->
			<xsd:element name="InvstExpnsInPrtflIncmDedAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Investment expenses</Description>
						<LineNumber>Schedule K Line 20b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherItemsAndAmountsSchedule IRS4255 IRS8886"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

		</xsd:sequence>

		<xsd:attribute name="referenceDocumentId" type="IdListType"/>
		<xsd:attribute name="referenceDocumentName" type="StringType" fixed="OtherItemsAndAmountsSchedule"/>

	</xsd:complexType>

	<!-- ===== Type for Element "DistributiveShareItemsFrgnTxs" for Schedule K line 16 ===== -->

	<xsd:complexType name="DistributiveShareItemsFrgnTxsType">
		<xsd:sequence>

			<!-- Name of Foreign Country or U.S. Possession -->
			<xsd:element name="ForeignCountryOrUSPossessionCd" type="CountryType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of foreign country or U.S. possession</Description>
						<LineNumber>Schedule K Line 16a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Income from All Sources -->
			<xsd:element name="GrossIncomeFromAllSourcesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross income from all sources</Description>
						<LineNumber>Schedule K Line 16b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Income Sourced at Partner Level -->
			<xsd:element name="GrossIncomeSrceAtPrtnrLvlAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross income sourced at partner level</Description>
						<LineNumber>Schedule K Line 16c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="GrossIncomeSourcedAtPartnerLevelSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Foreign Gross Income Sourced at Partnership Level - Passive -->
			<xsd:element name="PrtshpLvlFrgnGroIncmPssvAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign gross income sourced at partnership level - passive</Description>
						<LineNumber>Schedule K Line 16d</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Gross Income Sourced at Partnership Level - General Category -->
			<xsd:element name="PrtshpLvlFrgnGroIncmGenCatAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign gross income sourced at partnership level - general category</Description>
						<LineNumber>Schedule K Line 16e</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Gross Income Sourced at Partnership Level - Other -->
			<xsd:element name="PrtshpLvlFrgnGroIncmOthAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign gross income sourced at partnership level - other (attach schedule)</Description>
						<LineNumber>Schedule K Line 16f</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ForeignGrossIncomeAtPartnershipLevelOtherCategoriesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Deductions Allocated and Apportioned at Partner Level - Interest Expense -->
			<xsd:element name="PartnerLevelDedIntExpnsAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocated and apportioned at partner level - interest expense</Description>
						<LineNumber>Schedule K Line 16g</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Deductions Allocated and Apportioned at Partner Level - Other -->
			<xsd:element name="PartnerLevelDeductionsOtherAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocated and apportioned at partner level - other</Description>
						<LineNumber>Schedule K Line 16h</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Deductions Allocated and Apportioned at Partnership Level to Foreign Source Income - Passive -->
			<xsd:element name="PrtshpLvlFrgnIncmDedPssvAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocated and apportioned at partnership level to foreign source income - passive</Description>
						<LineNumber>Schedule K Line 16i</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Deductions Allocated and Apportioned at Partnership Level to Foreign Source Income - General Category -->
			<xsd:element name="PrtshpFrgnIncmDedGenCatAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocated and apportioned at partnership level to foreign source income - general category</Description>
						<LineNumber>Schedule K Line 16j</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Deductions Allocated and Apportioned at Partnership Level to Foreign Source Income - Other -->
			<xsd:element name="PartnershipFrgnIncmDedOthAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductions allocated and apportioned at partnership level to foreign source income - other (attach schedule)</Description>
						<LineNumber>Schedule K Line 16k</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="DeductionsOtherCategoriesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Total Foreign Taxes Paid or Accrued -->
			<xsd:choice minOccurs="0">
				<!-- Paid -->
				<xsd:element name="TotalForeignTaxesPaidInd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Total foreign taxes - Paid</Description>
							<LineNumber>Schedule K Line 16l(1)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:simpleContent>
							<xsd:extension base="CheckboxType">
								<xsd:attribute name="referenceDocumentId" type="IdListType"/>
								<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedTotalForeignTaxesSchedule"/>
							</xsd:extension>
						</xsd:simpleContent>
					</xsd:complexType>
				</xsd:element>

				<!-- Accrued -->
				<xsd:element name="TotalForeignTaxesAccruedInd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Total foreign taxes - Accrued</Description>
							<LineNumber>Schedule K Line 16l(2)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:simpleContent>
							<xsd:extension base="CheckboxType">
								<xsd:attribute name="referenceDocumentId" type="IdListType"/>
								<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedTotalForeignTaxesSchedule"/>
							</xsd:extension>
						</xsd:simpleContent>
					</xsd:complexType>
				</xsd:element>

			</xsd:choice>

			<!-- Total Foreign Taxes -->
			<xsd:element name="TotalForeignTaxesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total Foreign Taxes</Description>
						<LineNumber>Schedule K Line 16l</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Reduction in Taxes Available for Credit (attach schedule) -->
			<xsd:element name="ReductionInTaxesAvlblForCrAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Reduction in taxes available for credit (attach schedule)</Description>
						<LineNumber>Schedule K Line 16m</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ReductionInTaxesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

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

	<!-- ==================================================================== -->
	<!-- ======================= IRS Form 8865 Schedule L =================== -->
	<!-- ==================================================================== -->

	<xsd:complexType name="IRS8865ScheduleLType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule L</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Cash -->
			<xsd:element name="CashBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Cash at beginning of tax year</Description>
						<LineNumber>Schedule L Line 1(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CashEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Cash at end of tax year</Description>
						<LineNumber>Schedule L Line 1(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Trade Notes and Accounts Receivables -->
			<xsd:element name="TradeNotesAccountsRcvblBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Trade notes and accounts receivable at beginning of tax year</Description>
						<LineNumber>Schedule L Line 2a(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TradeNotesAccountsRcvblEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Trade notes and accounts receivable at end of tax year</Description>
						<LineNumber>Schedule L Line 2a(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Bad Debt Allowance and Net Account Receivables -->
			<xsd:element name="BadDebtAllowanceBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Less bad debt allowance at beginning of tax year</Description>
						<LineNumber>Schedule L Line 2b(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetTradeNotesAcctRcvblBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net trade notes and account receivables at beginning of tax year</Description>
						<LineNumber>Schedule L Line 2b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="BadDebtAllowanceEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Less bad debt allowance at end of tax year</Description>
						<LineNumber>Schedule L Line 2b(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetTradeNotesAcctRcvblEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net trade notes and account receivables at end of tax year</Description>
						<LineNumber>Schedule L Line 2b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Inventories -->
			<xsd:element name="InventoriesBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Inventories at beginning of tax year</Description>
						<LineNumber>Schedule L Line 3(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="InventoriesEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Inventories at end  of tax year</Description>
						<LineNumber>Schedule L Line 3(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- U.S. Government Obligations -->
			<xsd:element name="USGovernmentObligationsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. government obligations at beginning of tax year</Description>
						<LineNumber>Schedule L Line 4(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="USGovernmentObligationsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. government obligations at end of tax year</Description>
						<LineNumber>Schedule L Line 4(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Tax-Exempt Securities -->
			<xsd:element name="TaxExemptSecuritiesBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax-exempt securities at beginning of tax year</Description>
						<LineNumber>Schedule L Line 5(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TaxExemptSecuritiesEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax-exempt securities at end of tax year</Description>
						<LineNumber>Schedule L Line 5(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Current Assets -->
			<xsd:element name="OtherCurrentAssetsBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other current assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 6(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCurrentAssetsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="OtherCurrentAssetsEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other current assets at end of tax year</Description>
						<LineNumber>Schedule L Line 6(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCurrentAssetsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Partners Loan Amount Beginning of Year -->
			<xsd:element name="PartnerLoanBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partners loan amount beginning of year</Description>
						<LineNumber>Schedule L Line 7a(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PartnerLoanEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partners loan amount end of year</Description>
						<LineNumber>Schedule L Line 7a(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			
			
			<!-- Mortgage and Real Estate Loans -->
			<xsd:element name="MortgageRealEstateLoansBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgage and real estate loans at beginning of tax year</Description>
						<LineNumber>Schedule L Line 7b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="MortgageRealEstateLoansEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgage and real estate loans at end of tax year</Description>
						<LineNumber>Schedule L Line 7b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Investments -->
			<xsd:element name="OtherInvestmentsBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other investments at beginning of tax year</Description>
						<LineNumber>Schedule L Line 8(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherInvestmentsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="OtherInvestmentsEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other investments at end of tax year</Description>
						<LineNumber>Schedule L Line 8(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherInvestmentsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Buildings and Other Depreciable Assets -->
			<xsd:element name="BuildingOtherDeprecAstBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Buildings and other depreciable assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 9a(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="BuildingOtherDeprecAstEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Buildings and other depreciable assets at end of tax year</Description>
						<LineNumber>Schedule L Line 9a(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Accumulated Depreciation and Net Depreciable Assets -->
			<xsd:element name="AccumulatedDepreciationBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated depreciation at beginning of tax year</Description>
						<LineNumber>Schedule L Line 9b(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetDepreciableAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net depreciable assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 9b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AccumulatedDepreciationEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated depreciation at end of tax year</Description>
						<LineNumber>Schedule L Line 9b(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetDepreciableAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net depreciable assets at end of tax year</Description>
						<LineNumber>Schedule L Line 9b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Depletable Assets -->
			<xsd:element name="DepletableAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depletable assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 10a(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="DepletableAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depletable assets at end of tax year</Description>
						<LineNumber>Schedule L Line 10a(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Accumulated Depletion and Net Depletable Assets -->
			<xsd:element name="AccumulatedDepletionBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated depletion at beginning of tax year</Description>
						<LineNumber>Schedule L Line 10b(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetDepletableAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net depletable assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 10b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AccumulatedDepletionEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated depletion at end of tax year</Description>
						<LineNumber>Schedule L Line 10b(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetDepletableAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net depletable assets at end of tax year</Description>
						<LineNumber>Schedule L Line 10b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Land -->
			<xsd:element name="LandBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Land at beginning of tax year</Description>
						<LineNumber>Schedule L Line 11(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="LandEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Land at end of tax year</Description>
						<LineNumber>Schedule L Line 11(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Intangible Assets -->
			<xsd:element name="IntangibleAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Intangible assets (amortizable only) at beginning of tax year</Description>
						<LineNumber>Schedule L Line 12a(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="IntangibleAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Intangible assets (amortizable only) at end of tax year</Description>
						<LineNumber>Schedule L Line 12a(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Accumulated Amortization and Net Intangible Assets -->
			<xsd:element name="AccumulatedAmortizationBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated amortization at beginning of tax year</Description>
						<LineNumber>Schedule L Line 12b(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetIntangibleAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net intangible assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 12b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AccumulatedAmortizationEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated amortization at end of tax year</Description>
						<LineNumber>Schedule L Line 12b(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NetIntangibleAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net intangible assets at end of tax year</Description>
						<LineNumber>Schedule L Line 12b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Assets -->
			<xsd:element name="OtherAssetsBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 13(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherAssetsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="OtherAssetsEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other assets at end of tax year</Description>
						<LineNumber>Schedule L Line 13(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherAssetsSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Total Assets -->
			<xsd:element name="TotalAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total assets at beginning of tax year</Description>
						<LineNumber>Schedule L Line 14(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total assets at end of tax year</Description>
						<LineNumber>Schedule L Line 14(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Accounts Payable -->
			<xsd:element name="AccountsPayableBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accounts payable at beginning of tax year</Description>
						<LineNumber>Schedule L Line 15(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AccountsPayableEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accounts payable at end of tax year</Description>
						<LineNumber>Schedule L Line 15(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Short-Term Payable -->
			<xsd:element name="ShortTermPayableBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgages, notes, bonds payable in less than 1 year at beginning of year</Description>
						<LineNumber>Schedule L Line 16(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="ShortTermPayableEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgages, notes, bonds payable in less than 1 year at end of year</Description>
						<LineNumber>Schedule L Line 16(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Current Liabilities -->
			<xsd:element name="OtherCurrentLiabilitiesBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other current liabilities at beginning of tax year</Description>
						<LineNumber>Schedule L Line 17(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCurrentLiabilitiesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="OtherCurrentLiabilitiesEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other current liabilities at end of tax year</Description>
						<LineNumber>Schedule L Line 17(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCurrentLiabilitiesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- All Nonrecourse Loans -->
			<xsd:element name="AllNonrecourseLoansBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>All nonrecourse loans at beginning of year</Description>
						<LineNumber>Schedule L Line 18(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AllNonrecourseLoansEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>All nonrecourse loans at end of year</Description>
						<LineNumber>Schedule L Line 18(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Loans From Partners -->
			<xsd:element name="LoansFromPartnersBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loans from partners (or persons related to partners)....|</Description>
						<LineNumber>Schedule L Line 19a(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
			<xsd:element name="LoansFromPartnersEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loans from partners (or persons related to partners)....|</Description>
						<LineNumber>Schedule L Line 19a(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
			
			<!-- Long-Term Payable -->
			<xsd:element name="LongTermPayableBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgages, notes, bonds payable in 1 year or more at beginning of year</Description>
						<LineNumber>Schedule L Line 19b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="LongTermPayableEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Mortgages, notes, bonds payable in 1 year or more at end of year</Description>
						<LineNumber>Schedule L Line 19b(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Liabilities -->
			<xsd:element name="OtherLiabilitiesBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other liabilities at beginning of year</Description>
						<LineNumber>Schedule L Line 20(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherLiabilitiesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="OtherLiabilitiesEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other liabilities at end of year</Description>
						<LineNumber>Schedule L Line 20(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherLiabilitiesSchedule"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Partner's Capital Accounts -->
			<xsd:element name="PartnersCapitalAccountsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partner's capital accounts at beginning of year</Description>
						<LineNumber>Schedule L Line 21(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PartnersCapitalAccountsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partner's capital accounts at end of year</Description>
						<LineNumber>Schedule L Line 21(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Liabilities and Capital -->
			<xsd:element name="TotalLiabilitiesCapitalBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total liabilities and capital at beginning of tax year</Description>
						<LineNumber>Schedule L Line 22(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalLiabilitiesCapitalEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total liabilities and capital at end of tax year</Description>
						<LineNumber>Schedule L Line 22(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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


	<!-- =============================================================== -->
	<!-- ======================  IRS Form 8865 Schedule M ============== -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleMType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule M</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Total U.S. Assets -->
			<xsd:element name="TotalUSAssetsBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total U.S. assets at beginning of year</Description>
						<LineNumber>Schedule M Line 1(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalUSAssetsEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total U.S. assets at end of year</Description>
						<LineNumber>Schedule M Line 1(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Foreign Assets - Passive Category -->
			<xsd:element name="TotalForeignAstsPssvCatBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - Passive category at beginning of year</Description>
						<LineNumber>Schedule M Line 2a(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalForeignAstsPssvCatEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - Passive category at end of year</Description>
						<LineNumber>Schedule M Line 2a(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Foreign Assets - General Category -->
			<xsd:element name="TotalForeignAssetsGenCatBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - General category at beginning of year</Description>
						<LineNumber>Schedule M Line 2b(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalForeignAssetsGenCatEOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - General category at end of year</Description>
						<LineNumber>Schedule M Line 2b(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Foreign Assets - Other -->
			<xsd:element name="TotalForeignAssetsOtherBOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - Other at beginning of year (attach statement)</Description>
						<LineNumber>Schedule M Line 2c(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCategoriesStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<xsd:element name="TotalForeignAssetsOtherEOYAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total foreign assets - Other at end of year (attach statement)</Description>
						<LineNumber>Schedule M Line 2c(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherCategoriesStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

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


	<!-- =============================================================== -->
	<!-- ==================  IRS Form 8865 Schedule M-1 ================ -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleM1Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule M-1</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Net Income (loss) Per Books -->
			<xsd:element name="NetIncomeLossPerBooksAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net income (loss) per books</Description>
						<LineNumber>Schedule M-1 Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Itemized Income Subject to Tax Not Recorded on Books -->
			<xsd:element name="TotalIncmNotRecordedOnBooksAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>The sum of the itemized income subject to tax not recorded on books this year</Description>
						<LineNumber>Schedule M-1 Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedIncomeNotRecordedOnBooksSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Guaranteed Payments (Other than Health Insurance) -->
			<xsd:element name="GuaranteedPaymentsAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Guaranteed payments (other than health insurance)</Description>
						<LineNumber>Schedule M-1 Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Depreciation Expenses -->
			<xsd:element name="DepreciationExpensesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depreciation</Description>
						<LineNumber>Schedule M-1 Line 4a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Travel and Entertainment Expenses -->
			<xsd:element name="TravelEntertainmentAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Travel and entertainment expenses</Description>
						<LineNumber>Schedule M-1 Line 4b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Expenses Not Deducted -->
			<xsd:element name="TotalExpensesNotDeductedAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total expenses (Depreciation, Travel and Entertainment, and Itemized Expenses Not Deducted) recorded on books this year not included on Schedule K</Description>
						<LineNumber>Schedule M-1 Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedExpensesRecordedOnBooksSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Income/Expenses Subtotal -->
			<xsd:element name="IncomeExpensesSubtotalAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>The sum of lines 1 through 4</Description>
						<LineNumber>Schedule M-1 Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Tax-Exempt Interest -->
			<xsd:element name="TaxExemptInterestAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax-exempt interest</Description>
						<LineNumber>Schedule M-1 Line 6a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Income Recorded but not Included -->
			<xsd:element name="TotIncmRecordedNotIncludedAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total income (Tax Exempt Interest plus Itemized Income) recorded on books this year not included on this return</Description>
						<LineNumber>Schedule M-1 Line 6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedIncomeRecordedOnBooksSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Depreciation Deduction -->
			<xsd:element name="DepreciationDeductionAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Depreciation deduction</Description>
						<LineNumber>Schedule M-1 Line 7a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Deductions not Charged -->
			<xsd:element name="TotalDeductionsNotChargedAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total deductions (depreciation and itemized deductions) on this return not charged against book income this year</Description>
						<LineNumber>Schedule M-1 Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedDeductionsNotChargedAgainstBooksSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Income not Included and Deductions not Charged -->
			<xsd:element name="IncomeDeductionsSubtotalAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>The sum of lines 6 and 7</Description>
						<LineNumber>Schedule M-1 Line 8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Income (loss) -->
			<xsd:element name="IncomeLossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Income (loss). Subtract line 8 from line 5</Description>
						<LineNumber>Schedule M-1 Line 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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


	<!-- =============================================================== -->
	<!-- ==================  IRS Form 8865 Schedule M-2 ================ -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleM2Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule M-2</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Balance at Beginning of Year -->
			<xsd:element name="BeginningYearBalanceAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Balance at beginning of year</Description>
						<LineNumber>Schedule M-2 Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Capital Contributed During Year: cash -->
			<xsd:element name="CapitalContributedDurYrCashAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Capital contributed during year: cash</Description>
						<LineNumber>Schedule M-2 Line 2(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Capital Contributed During Year: property -->
			<xsd:element name="CapitalContributedDurYrPropAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Capital contributed during year: property</Description>
						<LineNumber>Schedule M-2 Line 2(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net Income(loss) per Books -->
			<xsd:element name="NetIncomeLossPerBooksAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net income(loss) per books</Description>
						<LineNumber>Schedule M-2 Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Other Increases -->
			<xsd:element name="TotalOtherIncreasesAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total  Other increases</Description>
						<LineNumber>Schedule M-2 Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherIncreasesSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Add Line 1 through 4 -->
			<xsd:element name="BalBOYCapNetIncmOtherTotalAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 1 through 4</Description>
						<LineNumber>Schedule M-2 Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Distributions, Cash -->
			<xsd:element name="DistributionsCashAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions, cash.</Description>
						<LineNumber>Schedule M-2 Line 6a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Distributions, Property -->
			<xsd:element name="DistributionsPropertyAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions, property.</Description>
						<LineNumber>Schedule M-2 Line 6b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Other Decreases -->
			<xsd:element name="TotalOtherDecreasesAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total other decreases</Description>
						<LineNumber>Schedule M-2 Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ItemizedOtherDecreasesSchedule2"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Add lines 6 and 7 -->
			<xsd:element name="TotDistriAndOthDecreasesAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 6 and 7</Description>
						<LineNumber>Schedule M-2 Line 8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Balance at End of Year. Subtract Line 8 From Line 5 -->
			<xsd:element name="EndYearBalanceAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Balance at end of year. Subtract line 8 from line 5</Description>
						<LineNumber>Schedule M-2 Line 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>

		<xsd:attribute name="referenceDocumentId" type="IdListType"/>
		<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ReconciliationStatement"/>

	</xsd:complexType>


	<!-- =============================================================== -->
	<!-- =================== IRS Form 8865 Schedule N ================== -->
	<!-- =============================================================== -->

	<xsd:complexType name="IRS8865ScheduleNType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8865 Schedule N</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Functional Currency and Exchange Rate QBU -->
			<xsd:element name="IRS8865SchN" type="IRS8865SchNType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Functional currency and exchange rate QBU info</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- Type for Repeating Group - "IRS8865SchN" above -->
	<xsd:complexType name="IRS8865SchNType">
		<xsd:sequence>

			<!-- Sales of Inventory -->
			<xsd:element name="SalesOfInvntryPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Sales of inventory</Description>
						<LineNumber>Schedule N Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Sales of Property -->
			<xsd:element name="SalesOfPropertyPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Sales of property</Description>
						<LineNumber>Schedule N Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Compensation Received -->
			<xsd:element name="CompRcvdPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Compensation received for technical, managerial, engineering, construction, or like services</Description>
						<LineNumber>Schedule N Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Commissions Received -->
			<xsd:element name="CommissionsRcvdPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Commissions received</Description>
						<LineNumber>Schedule N Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Rents, Royalties, and License Fees Recieved -->
			<xsd:element name="RentRyltsLcnsPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Rents, royalties, and license fees recieved</Description>
						<LineNumber>Schedule N Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Distributions Received -->
			<xsd:element name="DistriReceivedPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions received</Description>
						<LineNumber>Schedule N Line 6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Interest Received -->
			<xsd:element name="IntReceivedPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Interest received</Description>
						<LineNumber>Schedule N Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Received -->
			<xsd:element name="OtherReceivedPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other received</Description>
						<LineNumber>Schedule N Line 8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Add Lines 1 through 8 -->
			<xsd:element name="AllReceivedTotPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 1 through 8</Description>
						<LineNumber>Schedule N Line 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Purchases of Inventory -->
			<xsd:element name="PrchsOfInvntryPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Purchases of inventory</Description>
						<LineNumber>Schedule N Line 10</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Purchases of Tangible Property other than Inventory -->
			<xsd:element name="PrchsTngblPropPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Purchases of tangible property other than inventory</Description>
						<LineNumber>Schedule N Line 11</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Purchases of Property Rights (Patents, Trademarks, etc.) -->
			<xsd:element name="PrchsPropRghtsPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Purchases of property rights (patents, trademarks, etc.)</Description>
						<LineNumber>Schedule N Line 12</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Compensation Paid for Technical, Managerial, Engineering, Construction, or like Services -->
			<xsd:element name="CompensationPdPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Compensation paid for technical, managerial, engineering, construction, or like services</Description>
						<LineNumber>Schedule N Line 13</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Commissions Paid -->
			<xsd:element name="CommissionsPaidPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Commissions paid</Description>
						<LineNumber>Schedule N Line 14</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Rents, royalties, and license fees paid -->
			<xsd:element name="RentRyltsLcnsPdPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Rents, royalties, and license fees paid</Description>
						<LineNumber>Schedule N Line 15</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Distributions Paid -->
			<xsd:element name="DistributionsPdPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Distributions paid</Description>
						<LineNumber>Schedule N Line 16</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Interest paid -->
			<xsd:element name="InterestPaidPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Interest paid</Description>
						<LineNumber>Schedule N Line 17</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Paid -->
			<xsd:element name="OtherPaidPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other paid</Description>
						<LineNumber>Schedule N Line 18</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Add lines 10 through 18 -->
			<xsd:element name="AllPaidTotalPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 10 through 18</Description>
						<LineNumber>Schedule N Line 19</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amounts borrowed (enter the maximum loan balance during the year) -->
			<xsd:element name="AmountsBorrowedPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amounts borrowed (enter the maximum loan balance during the year)</Description>
						<LineNumber>Schedule N Line 20</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amounts loaned (enter the maximum loan balance during the year) -->
			<xsd:element name="AmountsLoanedPrtnrOthRltdEnt" type="PartnersOtherRltdEntitiesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amounts loaned (enter the maximum loan balance during the year)</Description>
						<LineNumber>Schedule N Line 21</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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


	<!-- =========================================================================== -->
	<!-- =============== Types for Repeating Groups, Structures etc. =============== -->
	<!-- =========================================================================== -->


	<!-- Type for Transactions Between Controlled Foreign Partnership and Parterners or Other Related Entities in Schedule N -->
	<xsd:complexType name="PartnersOtherRltdEntitiesType">
		<xsd:sequence>

			<!-- U.S. Person Filing this Return -->
			<xsd:element name="USPersonAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. person filing this Return</Description>
						<LineNumber>Schedule N Line Column(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Domestic Corp. or Partnership Controlling or Controlled by U.S. Person Filing this Return -->
			<xsd:element name="DomesticCorporationOrPrtshpAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Domestic corp. or partnership controlling or controlled by U.S. person filing this return</Description>
						<LineNumber>Schedule N Line Column(b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Foreign Corp. or Partnership Controlling or Controlled by U.S. Person Filing this Return -->
			<xsd:element name="ForeignCorporationOrPrtshpAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign corp. or partnership controlling or controlled by U.S. person filing this return</Description>
						<LineNumber>Schedule N Line Column(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- U.S. Person with a 10% or More Direct Interest in the Controlled Foreign Partnership (Other than the U.S. Person Filing this Return) -->
			<xsd:element name="USPerson10PctOrMoreDrtIntAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>U.S. person with a 10% or more direct interest in the controlled foreign partnership (Other than the U.S. person filing this return)</Description>
						<LineNumber>Schedule N Column(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- Number of Foreign Disregarded Entities Owned by the Partnership Type -->
	<xsd:simpleType name="NumOfFrgnDisregardedEntitiesType">
		<xsd:restriction base="IntegerNNType">
			<xsd:totalDigits value="4"/>
		</xsd:restriction>
	</xsd:simpleType>

</xsd:schema>
