<?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 Corporate Income Tax Schema - Amended Return Changes</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- =================================== -->
	<!-- ===  Amended Return Changes  ====== -->
	<!-- =================================== -->


	<xsd:element name="AmendedReturnChanges">
		<xsd:annotation>
			<xsd:documentation>Amended return changes</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="AmendedReturnChangesType">
					<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="AmendedReturnChanges">
						<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="AmendedReturnChangesType">
		<xsd:annotation>
			<xsd:documentation>Content model for Amended return changes</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>		
				
			<!-- Taxpayer EIN -->
			<xsd:element name="TaxpayerEIN" type="EINType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Taxpayer EIN</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>				
			
			<!-- Amended Changes -->
			<xsd:element name="AmendedReturnChg" type="AmendedReturnChgType" minOccurs="0" maxOccurs="unbounded">	
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amended return changes</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			
		</xsd:sequence>
	</xsd:complexType>		
	
	<!-- Amended Return Changes -->
	<xsd:complexType name="AmendedReturnChgType">
		<xsd:sequence>							
			
			<!-- Line Number -->
			<xsd:element name="LineNumber" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Line Number</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="TextType">
						<xsd:maxLength value="35" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>

			<!-- Description -->
			<xsd:element name="Description" type="TextType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Description</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

			<!-- Amount On Previous Return -->
			<xsd:element name="AmountOnPreviousReturn" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount On Previous Return</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

			<!-- Amount On Amended Return -->
			<xsd:element name="AmountOnAmendedReturn" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount On Amended Return</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

			<!-- Explanation -->
			<xsd:element name="Explanation" type="ExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Explanation</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>				
						
		</xsd:sequence>
	</xsd:complexType>	
	
</xsd:schema>
