<?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 - Distributions Affecting Shareholder Basis</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>October 17, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

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


	<!-- ================================================================ -->
	<!-- ==========  Distributions Affecting Shareholder Basis ========== -->
	<!-- ================================================================ -->


	<xsd:element name="DistriAffectingShareholderBss">
		<xsd:annotation>
			<xsd:documentation>Distributions affecting shareholder basis</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="DistriAffectingShareholderBasisType">
					<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="DistributionsAffectingShareholderBasis">
						<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="DistriAffectingShareholderBasisType">
		<xsd:annotation>
			<xsd:documentation>Content model for distributions affecting shareholder basis</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="DistriAffectingShareholder" type="DistriAffectingShareholderType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>

	<!-- Type for Repeating Group - Distributions Affecting Shareholder -->
	<xsd:complexType name="DistriAffectingShareholderType">
		<xsd:annotation>
			<xsd:documentation>Distributions affecting shareholder</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

			<!-- Description of Distribution -->
			<xsd:element name="DistributionDesc" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Description of distribution</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Date Acquired - choice between Date Acquired or Date Acquired Various -->
			<xsd:choice minOccurs="0">

				<!-- Enter the Date Acquired. If There are Various Dates, Enter VARIOUS in the DateAcquiredVarious Field Instead -->
				<xsd:element name="AcquiredDt" type="DateType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Enter the date acquired. If there are various dates, enter VARIOUS in the DateAcquiredVarious field instead</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Use Only if There are Various Dates -->
				<xsd:element name="AcquiredDateVariousCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Use only if there are various dates</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
						<xsd:enumeration value="VARIOUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Date Distributed - choice between Date Distributed or Date Distributed Various -->
			<xsd:choice minOccurs="0">

				<!-- Enter the Date Distributed. If There Are Various Dates, Enter VARIOUS in the DateDistributedVarious Field Instead -->
				<xsd:element name="DistributionDt" type="DateType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Enter the date distributed. If there are various dates, enter VARIOUS in the DateDistributedVarious field instead</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Use Only if There are Various Dates -->
				<xsd:element name="DistributedDateVariousCd">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Use only if there are various dates</Description>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
						<xsd:enumeration value="VARIOUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Fair Market Value on date of distribution -->
			<xsd:element name="FMVOfSecuritiesOnDistriDateAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Fair Market Value on date of distribution</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Cost or Other Basis -->
			<xsd:element name="CostOrOtherBasisAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Cost or other basis</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

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

</xsd:schema>
