<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.irs.gov/efile" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">

	<xsd:annotation>
		<xsd:documentation>
			<Description>IRS e-file Corporate Income Tax Schema - IRS Form 8827</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>October 17, 2018</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="PYAlternativeMinimumTaxAmt" 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="PriorYearMinimumTaxCreditAmt" 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="QlfyElecVehPYUnallowedCrAmt" 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="TotalPriorYearMinimumTaxCrAmt" 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="CYRegTaxLiabiMinusAllwblCrAmt" 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>

			<!-- Refundable Minimum Tax Credit Amount -->
			<xsd:element name="RefundableMinimumTaxCreditAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Refundable minimum tax credit amount</Description>
						<LineNumber>Line 6</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Add Line 5 And Line 6 -->
			<xsd:element name="MinimumTaxCreditLimitationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Add line 5 and line 6</Description>
						<LineNumber>Line 7</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Enter the Smaller of Line 4 or Line 7 -->
			<xsd:element name="SmallerAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the smaller of line 4 or line 7</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="section383Or384IndicatorCd">
								<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 5 -->
			<xsd:element name="CurrentYearMinimumTaxCreditAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Enter the smaller of line 4 or line 5</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="section383Or384IndicatorCd">
								<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="CYRefundableMinimumTaxCrAmt" 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="MinimumTaxCreditCarryfowardAmt" 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>
