<?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 - Precontribution Gain Loss</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ===================================================== -->
	<!-- ====== Precontribution Gain Loss   ====== -->
	<!-- ===================================================== -->


	<xsd:element name="PrecontributionGainLoss">
		<xsd:annotation>
			<xsd:documentation>Precontribution Gain Loss</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="PrecontributionGainLossType">
					<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="PrecontributionGainLoss">
						<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="PrecontributionGainLossType">
		<xsd:annotation>
			<xsd:documentation>Content model for the Precontribution Gain Loss</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
    			<!-- Precontribution Gain Loss Information -->
			<xsd:element name="PrecontributionGainLossGrp" type="PrecontributionGainLossGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Precontribution Gain Loss Information</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

	<!-- Type for Repeating Group - Precontribution Gain Loss Information -->
	<xsd:complexType name="PrecontributionGainLossGrpType">
		<xsd:sequence>
			<!-- Amount of Gain -->
			<xsd:element name="GainAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of Gain</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
				<!-- Amount of Loss -->
			<xsd:element name="LossAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of Loss</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
<!-- Character of Gain -->
			<xsd:element name="GainDesc" type="ShortExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Character of Gain</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
					<!-- Character of Loss -->
			<xsd:element name="LossDesc" type="ShortExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Character of Loss</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>

</xsd:schema>
