<?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 - Cooperative Election to Allocate Credit to Patrons</Description>
      			<TaxYear>2018</TaxYear>
      			<MaturityLevel>Final Release</MaturityLevel>
      			<ReleaseDate>October 15, 2019</ReleaseDate>
    		</xsd:documentation>
  	</xsd:annotation>

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


  	<!-- ============================================================================== -->
  	<!-- ============= Cooperative Election to Allocate Credit Patrons ================ -->
  	<!-- ============================================================================== -->


  	<xsd:element name="CoopElectAllocateCreditPatrons">
    		<xsd:annotation>
      			<xsd:documentation>Cooperative Election to Allocate Credit to Patrons</xsd:documentation>
    		</xsd:annotation>
    		<xsd:complexType>
      			<xsd:complexContent>
        			<xsd:extension base="CoopElectAllocateCreditPatronsType">
          				<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="CoopElectAllocateCreditPatrons">
            					<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="CoopElectAllocateCreditPatronsType">
  		<xsd:annotation>
  			<xsd:documentation>Content model for cooperative election to allocate credit to patrons</xsd:documentation>
  		</xsd:annotation>
  		<xsd:sequence>

  			<!-- Cooperative Election to Allocate Credit to Patrons Information -->
  			<xsd:element name="CoopElectAllocateCrPatronsInfo" type="CoopElectAllocateCrPatronsType" minOccurs="0" maxOccurs="unbounded">
  				<xsd:annotation>
  					<xsd:documentation>
  						<Description>Cooperative election to allocate credit to patrons information</Description>
  					</xsd:documentation>
  				</xsd:annotation>
  			</xsd:element>

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

 	<!-- Type for Repeating Group - Cooperative Election to Allocate Credit to Patrons Information -->
  	<xsd:complexType name="CoopElectAllocateCrPatronsType">
		<xsd:sequence>

   		  	<!-- Description Of Election -->
      			<xsd:element name="ElectionDesc" type="ShortExplanationType" minOccurs="0">
    				<xsd:annotation>
        	  			<xsd:documentation>
        	  		  		<Description>Description Of Election</Description>
        	  			</xsd:documentation>
        			</xsd:annotation>
      			</xsd:element>

      			<!-- Amount -->
      			<xsd:element name="Amt" type="USAmountType" minOccurs="0">
      				<xsd:annotation>
      					<xsd:documentation>
        	    				<Description>Amount</Description>
        	  			</xsd:documentation>
        			</xsd:annotation>
      			</xsd:element>

    		</xsd:sequence>

  	</xsd:complexType>

</xsd:schema>
