<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.irs.gov/efile" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<xsd:annotation>
		<xsd:documentation>
			<Description>IRS e-file Schema - Form 6198</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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

	<!-- ================================================================ -->
	<!-- =======================  IRS Form 6198 ============================ -->
	<!-- ================================================================ -->

	<xsd:element name="IRS6198">
		<xsd:annotation>
			<xsd:documentation>IRS Form 6198</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS6198Type">
					<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="IRS6198">
						<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="IRS6198Type">
		<xsd:annotation>
			<xsd:documentation>Content model for IRS Form 6198</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!--  Description of Activity  -->
			<xsd:element name="DescriptionOfActivity" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Description of activity (See page 2 of the instructions)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- ======== Part I: Current Year Profit (Loss) From the Activity, Including Prior Year Nondeductible Amounts ======= -->

			<!-- Ordinary Income (Loss) from the Activity -->
			<xsd:element name="ActivityProfitOrLoss" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Ordinary income (loss) from the activity</Description>
						<LineNumber>1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Schedule D Gain or Loss -->
			<xsd:element name="ScheduleDGainOrLoss" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Schedule D gain or loss</Description>
						<LineNumber>2a</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="SchDGainsOrLossesForAtRiskLmtStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!--  Form 4797 Gain or Loss-->
			<xsd:element name="Form4797GainOrLoss" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Form 4797 gain or loss</Description>
						<LineNumber>2b</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="Form4797GainsOrLossesForAtRiskLmtStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
				
			<!--  Other Form or Schedule  -->
			<xsd:element name="OtherFormOrSchedule" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other form or schedule</Description>
						<LineNumber>2c</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="OtherFormOrSchGainsOrLossesForAtRiskLmtStatement"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			
			<!-- Form or Schedule Number -->
			<xsd:element name="FormScheduleNumber" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Form or schedule number</Description>
						<LineNumber>Line 2c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!--  Schedule K-1 Income or Gain  -->
			<xsd:element name="ScheduleK1IncomeOrGain" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Schedule K-1 income or gain</Description>
						<LineNumber>3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!--  Other Deductions or Loss from the Activity -->
			<xsd:element name="OtherDeductions" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other deductions or loss from the activity</Description>
						<LineNumber>4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!--  Current Year Overall Profit or Loss from the Activity. Combine lines 1 through 4-->
			<xsd:element name="CurrentYearOverallProfitOrLoss" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Current year overall profit or loss from the activity. Combine lines 1 through 4</Description>
						<LineNumber>5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- =============== Part II: Simplified Computation of Amount At Risk. ===================== -->

			<!-- Adjusted Basis (as Defined in Section 1011) in the Activity -->
			<xsd:element name="AdjustedBasis" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Adjusted basis (as defined in section 1011) in the activity</Description>
						<LineNumber>6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!--  Increases for the Tax Year -->
			<xsd:element name="TaxYearIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Increases for the tax year. See page 4 of the instructions</Description>
						<LineNumber>7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!--  Line 6 Plus Line 7 -->
			<xsd:element name="SumOfAdjustedBasisAndIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Line 6 plus line 7</Description>
						<LineNumber>8</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Tax Year Decreases -->
			<xsd:element name="TaxYearDecreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax year decreases</Description>
						<LineNumber>9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Line 8 Minus Line 9 -->
			<xsd:element name="SumAdjBasisIncrMinusDecreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Subtract line 9 from line 8</Description>
						<LineNumber>10a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amount at Risk  -->
			<xsd:element name="AmountAtRiskOfSimplifiedCmpt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount at risk. If line 10a is more than zero, enter that amount here</Description>
						<LineNumber>10b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- ================= Part III: Detailed Computation of Amount At Risk ================ -->

			<!-- Investment In the Activity -->
			<xsd:element name="InvestmentInActivity" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Investment in the activity</Description>
						<LineNumber>11</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Increases at Effective Date -->
			<xsd:element name="IncreasesAtEffectiveDate" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Increases at effective date</Description>
						<LineNumber>12</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Line 11 Plus Line 12  -->
			<xsd:element name="SumOfInvestmentAndIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Line 11 plus line 12 </Description>
						<LineNumber>13</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Decreases at Effective Date -->
			<xsd:element name="DecreasesAtEffectiveDate" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Decreases at effective date</Description>
						<LineNumber>14</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<xsd:choice minOccurs="0">
				<!-- At Risk Effective Date Box -->
				<xsd:element name="AtRiskEffectiveDate" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>At risk effective date box</Description>
							<LineNumber>15a</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>	
				<!-- Prior Year Form 6198 -->
				<xsd:element name="PriorYearForm6198" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description> Prior year (Form) 6198</Description>
							<LineNumber>15b</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Amount at Risk  -->
			<xsd:element name="AmountAtRiskOfDetailedCmpt1" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount at risk (check box that applies)</Description>
						<LineNumber>15</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<xsd:choice minOccurs="0">
				<!-- Increases Effective Date Box -->
				<xsd:element name="IncreasesOfEffectiveDate" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description> Increases effective date box</Description>
							<LineNumber>16a</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>	
				<!-- Increases End of Prior Year Box -->
				<xsd:element name="IncreasesEndOfPriorYear" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Increases end of prior year box</Description>
							<LineNumber>16b</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Amount of Increases -->
			<xsd:element name="AmountOfIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of increases</Description>
						<LineNumber>16</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Line 15 Plus Line 16  -->
			<xsd:element name="SumOfAmountAtRiskAndIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Line 15 Plus Line 16 </Description>
						<LineNumber>17</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<xsd:choice minOccurs="0">
				<!-- Decreases Effective Date Box -->
				<xsd:element name="DecreasesOfEffectiveDate" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Decreases effective date box</Description>
							<LineNumber>18a</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>	
				<!-- Decreases End of Prior Year Box -->
				<xsd:element name="DecreasesEndOfPriorYear" type="CheckboxType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Decreases end of prior year box</Description>
							<LineNumber>18b</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>

			<!-- Amount of Decreases -->
			<xsd:element name="AmountOfDecreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of decreases </Description>
						<LineNumber>18</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Line 17 Minus Line 18 -->
			<xsd:element name="NetIncreases" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Line 17 Minus Line 18</Description>
						<LineNumber>19a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amount at Risk  -->
			<xsd:element name="AmountAtRiskOfDetailedCmpt2" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount at risk. If line 19a is more than zero, enter that amount here</Description>
						<LineNumber>19b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- ================== Part IV: Deductible Loss ========================== -->

			<!-- Larger of Line 10b or Line 19b -->
			<xsd:element name="AmountAtRisk" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Larger of Line 10b or Line 19b</Description>
						<LineNumber>20</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Deductible Loss -->
			<xsd:element name="DeductibleLoss" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Deductible loss. Smaller of line 5 loss or line 20</Description>
						<LineNumber>21</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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