<?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 1125E</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 1120 Schedule E ====================== -->
	<!-- =============================================================== -->

	<xsd:element name="IRS1125E">
		<xsd:annotation>
			<xsd:documentation>IRS Form 1125E</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS1125EType">


					<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="IRS1125E">
						<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="IRS1125EType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 1125E</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Officer Compensations -->
			<xsd:element name="OfficerTyp" type="OfficerDetailType" minOccurs="0" maxOccurs="unbounded"/>

			<!-- Total Compensation of Officers -->
			<xsd:element name="OfficersTotalCompensationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total compensation of officers</Description>
						<LineNumber>2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Compensation of officers claimed on Form 1125-A -->
			<xsd:element name="CompensationClaimedFrm1125AAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Compensation of officers claimed on Form 1125-A and elsewhere on return</Description>
						<LineNumber>3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Net Compensation of Officers -->
			<xsd:element name="OfficersNetCompensationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Net compensation of officers. Subtract line 3 from line 2.</Description>
						<LineNumber>4</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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


	<xsd:complexType name="OfficerDetailType">

		<xsd:sequence>

			<!-- Officer Name -->
			<xsd:element name="OfficerNm" type="PersonNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of officer</Description>
						<LineNumber>1(a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- SSN or Truncated SSN -->
			<xsd:choice minOccurs="0">			
			
				<!-- Social Security Number -->
				<xsd:element name="SSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Social security number</Description>
							<LineNumber>1(b)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				
				<!-- Truncated Social Security Number -->
				<xsd:element name="TruncatedSSN" type="Last4SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Truncated social security number</Description>
							<LineNumber>1(b)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>	
				
			</xsd:choice>

			<!-- Percent of Time Devoted to Business -->
			<xsd:element name="TimeDevotedBusinessPercentRt" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percent of time devoted to business (expressed as a decimal of up to 5 decimal places).</Description>
						<LineNumber>1(c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percent of Common Stock Owned -->
			<xsd:element name="CommonStockOwnedPercentRt" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percent of common stock owned (expressed as a decimal of up to 5 decimal places).</Description>
						<LineNumber>1(d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percent of Preferred Stock Owned -->
			<xsd:element name="PreferredStockOwnedPercentRt" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percent of preferred stock owned (expressed as a decimal of up to 5 decimal places).</Description>
						<LineNumber>1(e)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Amount of compensation -->
			<xsd:element name="CompensationAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of compensation</Description>
						<LineNumber>1(f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>
	</xsd:complexType>
	
	<!-- =========================================== -->
	<!-- ========== Locally Defined Types ========== -->
	<!-- =========================================== -->	
	
	<!-- Last 4 SSN Type -->
	<xsd:simpleType name="Last4SSNType">
		<xsd:annotation>
			<xsd:documentation>Type for truncated Social Security No. - last 4 digits</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[0-9]{4}" />
		</xsd:restriction>
	</xsd:simpleType>

</xsd:schema>
