<?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 - Tax Computation for each Member of a Controlled Group Statement</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ===================================================================== -->
	<!-- == Tax Computation for each Member of a Controlled Group Statement == -->
	<!-- ===================================================================== -->


	<xsd:element name="TaxCmptMemberCtrlGroupStmt">
		<xsd:annotation>
			<xsd:documentation>Tax computation for each member of a controlled group statement</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="TaxCmptMemberCtrlGroupStmtType">
					<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="TaxComputationForEachMembersOfCtrlGroupStmt">
						<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="TaxCmptMemberCtrlGroupStmtType">
		<xsd:annotation>
			<xsd:documentation>Content model for tax Computation for each member of a controlled group statement</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="TaxCmptMemberControlledGroup" type="TaxCmptMemberCtrlGroupType" minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="GroupTotals" type="TaxCmptTotalCtrlGroupType"/>	
		</xsd:sequence>
	</xsd:complexType>
	
	<!-- Type for Repeating group - Tax Computation for each Member of a Controlled Group -->	
	<xsd:complexType name="TaxCmptMemberCtrlGroupType">
		<xsd:sequence>	

			<!-- Corporation Name -->
			<xsd:element name="CorporationName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Corporation Name</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			

			<!-- Parent Corp. EIN or Missing EIN Reason -->
			<xsd:choice minOccurs="0">
			
				<!-- Corporation EIN -->
				<xsd:element name="CorporationEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Corporation EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				
				<!-- Missing EIN Reason -->
				<xsd:element name="MissingEINReason">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Missing EIN reason</Description>			
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>				

			</xsd:choice>

			<xsd:choice minOccurs="0">

				<!-- Controlled Group Member SSN -->
				<xsd:element name="ControlledGroupMemberSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Controlled group member SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Controlled Group Member EIN -->
				<xsd:element name="ControlledGroupMemberEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Controlled group member EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				
				<!-- EIN Missing Reason -->
				<xsd:element name="EINMissingReason">
					<xsd:annotation>
						<xsd:documentation>
							<Description>EIN missing reason</Description>			
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>						
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>		

			</xsd:choice>
			
			<!-- Apportionment Amount ($50,000) Line 2(a)(1) -->
			<xsd:element name="ApportionmentAmountLine2a1" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($50,000) Line 2(a)(1)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="50000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>			

			<!-- Apportionment Amount ($25,000) Line 2(a)(2) -->
			<xsd:element name="ApportionmentAmountLine2a2" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($25,000) Line 2(a)(2)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="25000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>

			<!-- Apportionment Amount ($9,925,000) Line 2(a)(3) -->
			<xsd:element name="ApportionmentAmountLine2a3" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($9,925,000) Line 2(a)(3)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="9925000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>			
						
		</xsd:sequence>	
	</xsd:complexType>
	
	<!-- Type for Repeating group - Tax Computation for Total of all Members of a Controlled Group -->	
	<xsd:complexType name="TaxCmptTotalCtrlGroupType">
		<xsd:sequence>	

			<!-- Apportionment Amount ($50,000) Line 2(a)(1) -->
			<xsd:element name="ApportionmentAmountLine2a1" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($50,000) Line 2(a)(1)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="50000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>			

			<!-- Apportionment Amount ($25,000) Line 2(a)(2) -->
			<xsd:element name="ApportionmentAmountLine2a2" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($25,000) Line 2(a)(2)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="25000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>

			<!-- Apportionment Amount ($9,925,000) Line 2(a)(3) -->
			<xsd:element name="ApportionmentAmountLine2a3" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Apportionment amount ($9,925,000) Line 2(a)(3)</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="USAmountType">
						<xsd:maxInclusive value="9925000" />
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>			
						
		</xsd:sequence>	
	</xsd:complexType>	

</xsd:schema>
