<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.ftb.ca.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:irs="http://www.irs.gov/efile" targetNamespace="http://www.ftb.ca.gov/efile" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2018v4.1">
	<xsd:annotation>
		<xsd:documentation>
			<Description>State of California, Franchise Tax Board - e-file Income Tax Return Schema - Form 3540 - Credit Carryover and Recapture Summary</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Production Release</MaturityLevel>
			<ReleaseDate>January 23, 2020</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>
	<xsd:import namespace="http://www.irs.gov/efile" schemaLocation="../../../../IRS/2018v5.3_1120x+4.1_1065x/Common/efileTypes.xsd"/>
	<xsd:include schemaLocation="../../Common/CA-BE-eFileTypes.xsd"/>
	<xsd:include schemaLocation="../../Common/CA-eFileTypes.xsd"/>
	<xsd:element name="CAForm3540">
		<xsd:annotation>
			<xsd:documentation>CA Form 3540 - Credit Carryover and Recapture Summary</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CAForm3540Type">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CAForm3540"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CAForm3540Type">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Form 3540</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="CreditCarryover" type="CA-CreditCarryoverType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credit carryover summary</Description>
						<LineNumber>Part I</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CreditRecapture" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credit recapture summary</Description>
						<LineNumber>Part II</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="FarmWorkerHousingCredit" type="CA-CreditRecaptureType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Farm worker housing credit (FWHC) recapture</Description>
									<LineNumber>Code 207</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CDFIInvestmentCredit" type="CA-CreditRecaptureType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Community Development Financial Institution Investment Credit</Description>
									<LineNumber>Code 209</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="EnvironmentalTaxCredit" type="CA-CreditRecaptureType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Environmental Tax Credit</Description>
									<LineNumber>Code 218</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-CreditCarryoverType">
		<xsd:annotation>
			<xsd:documentation>Type for a repealed credit row on CA Form 3540</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="RepealedCredit" type="CA-RepealedCreditNameType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of repealed credit</Description>
						<LineNumber>Column (b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PriorYrCarryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credit carryover available from prior years</Description>
						<LineNumber>Column (c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CarryoverUsed" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credit carryover used this year</Description>
						<LineNumber>Column (d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="TotalCreditAssigned" type="irs:USAmountNNType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total Credit Assigned this year within combined reporting group</Description>
						<LineNumber>Column (e)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="FutureYrCarryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Credit carryover to future years</Description>
						<LineNumber>Column (f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-CreditRecaptureType">
		<xsd:annotation>
			<xsd:documentation>Type for a recaptured credit row on CA Form 3540</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="TotalCreditClaimed" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Total credit for all years</Description>
						<LineNumber>Column (a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="ProrationPercentage" type="irs:RatioType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Proration percentage, the portion of the credit period for which the credit must be recaptured</Description>
						<LineNumber>Column (b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CreditRecaptured" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amount of Credit recaptured</Description>
						<LineNumber>Column (c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
