<?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 - Election Under Reg 1.469-7(g) To Avoid Self-Charged Interest Rules</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ============================================================================== -->
	<!-- ===== Election Under Reg 1.469-7(g) To Avoid Self-Charged Interest Rules ===== -->
	<!-- ============================================================================== -->


	<xsd:element name="ElectReg14697gAvdSelfChrgdInt">
		<xsd:annotation>
			<xsd:documentation>Election Under Reg 1.469-7(g) To Avoid Self-Charged Interest Rules</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="ElectReg14697gAvdSelfChrgdIntType">
					<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="ElectionUnder14697gToAvoidSelfChargedInterestRules">
						<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="ElectReg14697gAvdSelfChrgdIntType">
		<xsd:annotation>
			<xsd:documentation>Content model for Election Under Reg 1.469-7(g) To Avoid Self-Charged Interest Rules</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>

			<!-- Election Under Reg 1.469-7(g) -->
			<xsd:element name="ElectionUnderReg14697gGrp" type="ElectionUnderReg14697gGrpType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Election Under Reg 1.469-7(g) To Avoid Self-Charged Interest Rules</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- Type for Repeating Group - Election Under Reg 1.469-7(g) -->
	<xsd:complexType name="ElectionUnderReg14697gGrpType">
		<xsd:sequence>

			<!-- S Corporation Name and Address -->
			<xsd:element name="SCorporationNameAndAddress" type="NameAndAddressType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>S corporation name and address</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

			<!-- Declaration That The Election is Being Made Under Regulations Section 1.469-7(g) -->
			<xsd:element name="DeclarationDesc" type="ShortExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Declaration that the election is being made under Regulations section 1.469-7(g)</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

</xsd:schema>
