<?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 Schema - Section 199 Closing of Books Election Statement</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ========================================================================== -->
	<!-- ============ Section 199 Closing of Books Election Statement ============= -->
	<!-- ========================================================================== -->


	<xsd:element name="Sect199ClosingBooksElectStmt">
		<xsd:annotation>
			<xsd:documentation>Section 199 Closing of Books Election Statement</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="Sect199ClosingBooksElectStmtType">
					<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="Section199ClosingOfBooksElectionStatement">
						<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="Sect199ClosingBooksElectStmtType">
		<xsd:annotation>
			<xsd:documentation>Content model for Section 199 Closing of Books Election Statement</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<xsd:element name="Sect199ClosingBooksElect" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:sequence>


						<!-- Section 199 Begining Text -->
						<xsd:element name="Section199BeginingText">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Section 199 begining text</Description>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="StringType">
									<xsd:enumeration value="The section 199 closing of the books election is hereby made with respect to:"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:element>

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

						<!--  EIN -->
						<xsd:element name="EIN" type="EINType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>EIN</Description>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>

						<!-- Response Period Text -->
						<xsd:element name="ResponsePeriodText">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Response period text</Description>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="StringType">
									<xsd:enumeration value="with response to the following periods"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:element>

						<!-- Date From -->
						<xsd:element name="DateFrom" type="DateType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Date from</Description>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>

						<!-- Date To -->
						<xsd:element name="DateTo" type="DateType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Date to</Description>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>

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

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

</xsd:schema>
