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

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


	<!-- ===================================================== -->
	<!-- =========== Rollover Gain From Qualified Stock  ============ -->
	<!-- ===================================================== -->


	<xsd:element name="RolloverGainFromQualifiedStock">
		<xsd:annotation>
			<xsd:documentation>Rollover Gain From Qualified Stock</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="RolloverGainFromQlfyStockType">
					<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="RolloverGainFromQualifiedStock">
						<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="RolloverGainFromQlfyStockType">
		<xsd:annotation>
			<xsd:documentation>Content model for Rollover Gain From Qualified Stock</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<!-- RolloverGainFromQualifiedStock -->
						<xsd:element name="RolloverGainQualifiedStockGrp" type="RolloverGainQualifiedStockGrpType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Rollover Gain From Qualified Stock</Description>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
	</xsd:complexType>

	
	<!-- Type for Repeating Group - Rollover Gain From Qualified Stock -->

<xsd:complexType name="RolloverGainQualifiedStockGrpType">
		<xsd:sequence>
			<!-- Replacement qualified small business stock -->
		
	<xsd:element name="ReplacementQlfySmllBusStkTxt" type="ShortExplanationType" minOccurs="0">
		<xsd:annotation>
					<xsd:documentation>
						<Description>Replacement qualified small business stock</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
				
	<!-- Computation   of adjustment -->
		<xsd:element name="ComputationAdjustmentTxt" type="ShortExplanationType" minOccurs="0">
			<xsd:annotation>
					<xsd:documentation>
						<Description>Computation of adjustment</Description>
					</xsd:documentation>
			</xsd:annotation>
		</xsd:element>

			<!-- Date replacement stock acquired -->
		<xsd:element name="ReplacementStockAcquiredDt" type="DateType" minOccurs="0">
			<xsd:annotation>
					<xsd:documentation>
						<Description>Date replacement stock acquired</Description>
						</xsd:documentation>
				</xsd:annotation>
		</xsd:element>

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

</xsd:schema>
