<?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 Return - Self-Charged Interest Election</Description>
      <TaxYear>2018</TaxYear>
      <MaturityLevel>Final Release</MaturityLevel>
      <ReleaseDate>November 28, 2018</ReleaseDate>
    </xsd:documentation>
  </xsd:annotation>
  
  <xsd:include schemaLocation="../../../Common/efileTypes.xsd"/>
  
  
  <!-- ================================================================ -->
  <!-- ==============  Self-Charged Interest Election  ================ -->
  <!-- ================================================================ -->
  
  
  <xsd:element name="SelfChargedInterestElection">
    <xsd:annotation>
      <xsd:documentation>Self-charged interest election</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:complexContent>
        <xsd:extension base="SelfChargedInterestElectionTyp">
          <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="SelfChargedInterestElection">
            <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="SelfChargedInterestElectionTyp">
    <xsd:annotation>
      <xsd:documentation>Content model for self-charged interest election</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>    
    
      <!-- Name of Partnership -->
      <xsd:element name="PartnershipName" type="BusinessNameType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Name of partnership</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      
      <!-- Address -->
      <xsd:choice minOccurs="0">
			<xsd:element name="USAddress" type="USAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>US Address</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="ForeignAddress" type="ForeignAddressType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Foreign Address</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
      </xsd:choice>
      
      <!-- EIN -->
      <xsd:element name="EIN" type="EINType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Name of partnership</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      
      <!-- Regulation Section 1.469-7(g) Declaration -->
      <xsd:element name="RegulationSection14697gDclrTxt" type="ExplanationType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>
            <Description>Regulation section 1.469-7(g) declaration</Description>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>      

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