<?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 Partnership Income Tax Schema - IRS Form 8308</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>November 28, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>
	<xsd:include schemaLocation="../../../Common/efileTypes.xsd"/>


	<!-- ================================================================ -->
	<!-- =====================  IRS Form 8308 =========================== -->
	<!-- ================================================================ -->
	

	<xsd:element name="IRS8308">
		<xsd:annotation>
			<xsd:documentation>IRS Form 8308</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS8308Type">
					<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="IRS8308">
						<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="IRS8308Type">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 8308</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
		
		<!-- Telephone Number -->
		<xsd:element name="PhoneNumber" type="PhoneNumberType">
			<xsd:annotation>
				<xsd:documentation>
					<Description>Telephone Number</Description>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:element>
			
		<!-- =============== Part I - Transferor Information =============== -->

		<!-- Name of Transferor -->
		<xsd:element name="TransferorName" type="BusinessNameType">
			<xsd:annotation>
				<xsd:documentation>
					<Description>Name</Description>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:element>
		<!-- Identifying Number Choice -->
		<xsd:choice>
			<xsd:element name="TransferorEIN" type="EINType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferor EIN id number</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TransferorSSN" type="SSNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferor SSN id number</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TransferorMissingEINReasonCd">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferor missing EIN reason</Description>
					</xsd:documentation>
			        </xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="StringType">
						<xsd:enumeration value="APPLD FOR"/>
						<xsd:enumeration value="FOREIGNUS"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:choice>
		
		<xsd:choice>
			<!-- US Address of Transferor -->
			<xsd:element name="TransferorUSAddress" type="USAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number, street, and room or suite no.</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<!-- Address of Transferor -->
			<xsd:element name="TransferorForeignAddress" type="ForeignAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number, street, and room or suite no.</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:choice>
		
		<!-- =============== Part II - Transferee Information =============== -->

		<!-- Name of Transferee -->
		<xsd:element name="TransfereeName" type="BusinessNameType">
			<xsd:annotation>
				<xsd:documentation>
					<Description>Name</Description>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:element>
		<!-- Identifying Number Choice -->
		<xsd:choice>
			<xsd:element name="TransfereeEIN" type="EINType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferee EIN id number</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TransfereeSSN" type="SSNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferee SSN id number</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TransfereeMissingEINReasonCd">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Transferee missing EIN reason</Description>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="StringType">
						<xsd:enumeration value="APPLD FOR"/>
						<xsd:enumeration value="FOREIGNUS"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:choice>
		
		<xsd:choice>
			<!-- US Address of Transferee -->
			<xsd:element name="TransfereeUSAddress" type="USAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number, street, and room or suite no.</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<!-- Foreign Address of Transferee -->
			<xsd:element name="TransfereeForeignAddress" type="ForeignAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Number, street, and room or suite no.</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:choice>
	
		<!-- ========== Part III - Date of Sale or Exchange of Partnership Interest ========== -->

		<!-- Date of Sale or Exchange of Partnership Interest-->
		<xsd:element name="SaleOrExchangeDt" type="DateType">
			<xsd:annotation>
				<xsd:documentation>
					<Description>Date of Sale or Exchange of Partnership Interest</Description>
				</xsd:documentation>
			</xsd:annotation>
		</xsd:element>

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

</xsd:schema>
