<?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 5452</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- =============================================================== -->
	<!-- ======================  IRS Form 5452 ========================= -->
	<!-- =============================================================== -->


	<xsd:element name="IRS5452">
		<xsd:annotation>
			<xsd:documentation>IRS Form 5452</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS5452Type">
					<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="IRS5452">
						<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:attribute name="referenceDocumentId" type="IdListType"/>
					<xsd:attribute name="referenceDocumentName" type="StringType" fixed="NoncashDistributionsTaxBasisAndFMVSchedule SupportingInformationAttachment ParentOfConsolidatingGroupSupportingInfoAttachment"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name="IRS5452Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 5452</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Calender Year -->
			<xsd:element name="CalendarYr" type="YearType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>For calendar year ending December 31,</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Has Corporation Filed Form 5452 for Prior Year ? -->
			<xsd:element name="Form5452FiledForPriorYearInd" type="BooleanType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Has the corporation filed a Form 5452 for a prior calendar year?</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Prior Year Corporation Filed Form 5452 (repeats) -->
			<xsd:element name="ApplicableYr" type="YearType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>If "Yes", enter the applicable year(s)</Description>
						<LineNumber>A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Any Distributions Part of a Partial or Complete Liquidation ? -->
			<xsd:element name="DistriPartOfLiquidationInd">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Are any of the distributions part of a partial or complete liquidation?</Description>
						<LineNumber>B</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="BooleanType">
							<xsd:attribute name="referenceDocumentId" type="IdListType"/>
							<xsd:attribute name="referenceDocumentName" type="StringType" fixed="ExplnOfNondividendDistriForPartlOrCompLiquidationOfCorpStmt"/>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Accumlated Earnings and Profits at the Beginning of the Tax Year -->
			<xsd:element name="AccumulatedEarnAndPrftAtBOYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Accumulated earnings and profits (since February 28, 1913) at the beginning of the tax year</Description>
						<LineNumber>C</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Actual Earnings and Profits for the Current Tax Year -->
			<xsd:element name="ActualEarnAndPrftCurrentTYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Actual earnings and profits for the current tax year</Description>
						<LineNumber>C</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Number of Individuals -->
			<xsd:element name="IndividualCnt" type="NumberOfShareholdersType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of individuals</Description>
						<LineNumber>D</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Number of Partnerships -->
			<xsd:element name="PartnershipCnt" type="NumberOfShareholdersType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of partnerships</Description>
						<LineNumber>D</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Number of Corporations and Other Shareholders -->
			<xsd:element name="CorporationAndOtherShrCnt" type="NumberOfShareholdersType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number of corporations and other shareholders</Description>
						<LineNumber>D</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Corporate Distributions table -->
			<xsd:element name="CorporateDistributions" type="CorporateDistributionType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Corporate Distributions</Description>
						<LineNumber>E</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total of Total Amount Paid -->
			<xsd:element name="TotalOfTotalDistriPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total of Total Amount Paid</Description>
						<LineNumber>E totals</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total of Earnings and Profits Paid from the Current Year -->
			<xsd:element name="TotalEarnAndPrftPaidCYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total of Earnings and Profits Paid from the Current Year</Description>
						<LineNumber>E totals</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total of Accumulated Earnings and Profits Paid -->
			<xsd:element name="TotAccumEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total of Accumulated Earnings and Profits Paid</Description>
						<LineNumber>E totals</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total of Total Earnings and Profits Paid -->
			<xsd:element name="TotalOfTotalEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total of Total Earnings and Profits Paid</Description>
						<LineNumber>E totals</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total of Other Than Earnings and Profits Paid -->
			<xsd:element name="TotalOthThanEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total of Other Than Earnings and Profits Paid</Description>
						<LineNumber>E totals</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- Type for repeating group CorporateDistribution (section E) -->
	<xsd:complexType name="CorporateDistributionType">
		<xsd:sequence>

			<!-- Date Paid -->
			<xsd:element name="DistributionPaidDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Date Paid</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Amount Paid (and type) -->
			<xsd:element name="TotalDistributionPaidAmt" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total Amount Paid (Common (C), Preferred (P), Other (O))</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="USAmountType">
							<xsd:attribute name="distributionShareTypeCd">
								<xsd:simpleType>
									<xsd:restriction base="StringType">
										<xsd:enumeration value="C"/>
										<xsd:enumeration value="P"/>
										<xsd:enumeration value="O"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>

			<!-- Choice of Data Type for Amount Per Share -->
			<xsd:choice minOccurs="0">

				<!-- Amount Per Share -->
				<xsd:element name="DistributionPerShareAmt" type="USAmountType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Amount Per Share</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Amount Per Share Decimal -->
				<xsd:element name="DistributionPerShareRt" type="DecimalType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Amount Per Share Decimal</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Earnings and Profits Paid from the Current Year -->
			<xsd:element name="EarnAndPrftPaidCYAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount Paid During Calendar Year From Earnings &amp; Profits Since February 28, 1913 - From the Current Year</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Accumulated Earnings and Profits Paid -->
			<xsd:element name="AccumEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount Paid During Calendar Year From Earnings &amp; Profits Since February 28, 1913 - Accumulated</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Total Earnings and Profits Paid -->
			<xsd:element name="TotalEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount Paid During Calendar Year From Earnings &amp; Profits Since February 28, 1913 - Total</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percent Taxable -->
			<xsd:element name="TaxableDistributionPct" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percent Taxable</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Other Than Earnings and Profits Paid -->
			<xsd:element name="OthThanEarnAndPrftPaidAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount Paid During Calendar Year From Other Than Earnings &amp; Profits Since February 28, 1913</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percent Nontaxable -->
			<xsd:element name="NontaxableDistributionPct" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percent Nontaxable</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

	<!-- Type for Number of Shareholders -->
	<xsd:simpleType name="NumberOfShareholdersType">
		<xsd:restriction base="IntegerType">
			<xsd:totalDigits value="20"/>
		</xsd:restriction>
	</xsd:simpleType>

</xsd:schema>
