<?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 - IRS Form 8827</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 8827 ====================== -->
	<!-- ============================================================ -->


	<xsd:element name="IRS8827">
		<xsd:annotation>
			<xsd:documentation>IRS Form 8827</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS8827Type">
					<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="IRS8827">
						<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="IRS8827Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8827</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Alternative Minimum Tax (AMT) For Prior Year -->
			<xsd:element name="AlternativeMinimumTaxForPY" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Alternative minimum tax (AMT) for prior year.</Description>
						<LineNumber>Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Minimum Tax Credit Carryforward From Prior Year -->
			<xsd:element name="MinimumTaxCreditFromPY" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Minimum tax credit carryforward from prior year.  Enter the amount from line 9 of prior year's Form 8827.</Description>
						<LineNumber>Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Enter The Total Of Any Prior Year Unallowed Qualified Vehicle Credit -->
			<xsd:element name="PYElectricVehicleCredit" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the total of any prior year unallowed qualified vehicle credit</Description>
						<LineNumber>Line 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Credit For Prior Year Minimum Tax -->
			<xsd:element name="CreditForPYMinimumTax" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 1, 2, and 3.</Description>
						<LineNumber>Line 4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Current Year Regular Income Tax Liability Minus Allowable Tax Credits -->
			<xsd:element name="CYIncomeTaxLiability" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the corporation's current year regular income tax liability minus allowable tax credits.</Description>
						<LineNumber>Line 5</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Small Corporation Exempt From Alternative Minimum Tax Amount -->
			<xsd:element name="SmallCorpExemptAmount" type="USAmountNNType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Small corporation exempt from alternative minimum tax amount.  Enter 0, 25% of the excess, or tentative minimum tax from Form 4626 line 12.</Description>
						<LineNumber>Line 6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Subtract Line 6 From Line 5 -->
			<xsd:element name="Line5LessLine6" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Subtract line 6 from line 5.  If zero or less, enter 0.</Description>
						<LineNumber>Line 7a</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Bonus Depreciation Amount Attributable to Minimum Tax Credit -->
			<xsd:element name="BonusDeprAmtAttrToMinTaxCredit" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Bonus depreciation amount attributable to minimum tax credit</Description>
						<LineNumber>Line 7b</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Add Lines 7a And 7b -->
			<xsd:element name="SumOfLines7aAnd7b" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add lines 7a and 7b</Description>
						<LineNumber>Line 7c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Enter the Smaller of Line 4 or Line 7c -->
			<xsd:element name="SmallerOfLine4OrLine7c" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the smaller of line 4 or line 7c</Description>
						<LineNumber>Line 8a</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="ComputationOfMinimumTaxCreditStmt" />
							<xsd:attribute name="statementSEC">
								<xsd:simpleType>
									<xsd:restriction base="StringType">
										<xsd:enumeration value="SEC 383" />
										<xsd:enumeration value="SEC 384" />
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Enter the Smaller of Line 4 or Line 7a -->
			<xsd:element name="CYMinimumTaxCredit" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the smaller of line 4 or line 7a</Description>
						<LineNumber>Line 8b</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="ComputationOfMinimumTaxCreditStmt" />
							<xsd:attribute name="statementSEC">
								<xsd:simpleType>
									<xsd:restriction base="StringType">
										<xsd:enumeration value="SEC 383" />
										<xsd:enumeration value="SEC 384" />
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Subtract Line 8b From Line 8a -->
			<xsd:element name="Line8aLessLine8b" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Subtract line 8b from line 8a</Description>
						<LineNumber>Line 8c</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Minimum Tax Credit Carryforward to Next Year -->
			<xsd:element name="MinimumTaxCreditForNextYear" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Minimum tax credit carryforward to next year.  Subtract line 8a from line 4.</Description>
						<LineNumber>Line 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

</xsd:schema>
