<?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 Income Tax Schema - Other Fixed Gains Schedule</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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

	<!-- ===================================================== -->
	<!-- ============= Other Fixed Gains Schedule ============ -->
	<!-- ===================================================== -->

	<xsd:element name="OtherFixedGainsSchedule">
		<xsd:annotation>
			<xsd:documentation>Other Fixed Gains Schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="OtherFixedGainsScheduleType">
					<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="OtherFixedGainsSchedule">
						<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="OtherFixedGainsScheduleType">
		<xsd:annotation>
			<xsd:documentation>Content model for other other fixed gains schedule</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
		
			<!-- Other Fixed Gains -->
			<xsd:element name="OtherFixedGainsInfo" type="OtherFixedGainsInfoType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Other fixed gains</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Amount of tax liability -->
			<xsd:element name="TotalAmountOfTax" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total amount of tax liability</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
			
			<!-- Total Amount Of US Tax Paid -->
			<xsd:element name="AmountOfUSTaxPaid" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total amount of US income tax paid or withheld at the source</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

		</xsd:sequence>
	</xsd:complexType>
	
	<xsd:complexType name="OtherFixedGainsInfoType">
		<xsd:annotation>
			<xsd:documentation>Content model for other other fixed gains</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
		
			<!-- Class of Income-->
			<xsd:element name="ClassOfIncome" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Class of income</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		
			<!-- Gross Amount -->
			<xsd:element name="GrossAmount" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			
			<!-- Rate of Tax -->
			<xsd:element name="RateOfTax" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Rate of Tax</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
			
			<!-- Amount of tax liability -->
			<xsd:element name="AmountOfTax" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of tax liability</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
			
			<!-- Amount Of US Tax Paid -->
			<xsd:element name="AmountOfUSTaxPaid" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of US income tax paid or withheld at the source</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

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