<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns="http://www.irs.gov/efile" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
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>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</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="RolloverGainFromQlfyStk" type="RolloverGainFromQlfyStkType" 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="RolloverGainFromQlfyStkType">
		<xsd:sequence>
			<!-- Replacement qualified small business stock -->
		
	<xsd:element name="RplcQualifiedSmallBusinessStk" 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="ComputationOfAdjustment" 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="DateRplcStkAcquired" 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>
