<?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 Partnership Income Tax Schema - Partnership Advance Payments for Goods and Long-term Contracts Schedule</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ========================================================================================== -->
	<!-- ======== Partnership Advance Payments for Goods and Long-term Contracts Schedule ========= -->
	<!-- ========================================================================================== -->


	<xsd:element name="PartAdvncPymtGoodsLTContrctSch">
		<xsd:annotation>
			<xsd:documentation>Partnership Advance Payments for Goods and Long-term Contracts Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="PartAdvncPymtGoodsLTContrctSchType">
					<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="PartAdvncPymtGoodsLTContrctSch">
						<xsd:annotation>
							<xsd:documentation>IRS internal use only. To avoid error in the return, do not include the attribute name or value.</xsd:documentation>
						</xsd:annotation>
					</xsd:attribute>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>	

	<xsd:complexType name="PartAdvncPymtGoodsLTContrctSchType">
		<xsd:annotation>
			<xsd:documentation>Content model for Partnership Advance Payments for Goods and Long-term Contracts Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
    		<!-- Transfer Sale or Exchange Information -->
			<xsd:element name="PrtshpAdvncPymtGoodLTCntrctGrp" type="PrtshpAdvncPymtGoodLTCntrctGrpType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Partnership Advance Payments for Goods and Long-term Contracts Information</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<!-- Type for Partnership Advance Payments for Goods and Long-term Contracts Information -->
	<xsd:complexType name="PrtshpAdvncPymtGoodLTCntrctGrpType">
		<xsd:sequence>
			<!-- Total advance payments received in TY -->
			<xsd:element name="TotalAdvancePaymentsRcvdTYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total advance payments received in TY</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<!-- Total amount of advance payments received in prior TY not included in gross income before the current TY -->
			<xsd:element name="TotalAdvncPymtsRcvdNotGrossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total amount of advance payments received in prior TY not included in gross income before the current TY</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<!-- Total amount of advance payments received in prior TY included in gross income for the current TY -->
			<xsd:element name="TotalAdvncPymtsRcvdGrossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total amount of advance payments received in prior TY included in gross income for the current TY</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

</xsd:schema>
