<?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 - eFile Income Tax Return Schema - Form 3805Q - Net Operating Loss (NOL) Computation and NOL and Disaster Loss Limitations - Corporations</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:include schemaLocation="../CA-CorporationTypes.xsd"/>
	<xsd:element name="CAForm3805Q">
		<xsd:annotation>
			<xsd:documentation>CA Form 3805Q - Net Operating Loss (NOL) Computation and NOL and Disaster Loss Limitations - Corporations</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CAForm3805QType">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CAForm3805Q"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CAForm3805QType">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Form 3805Q</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="NOLCorporation" type="CA-NOLCorporationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Corporation type when NOL occurred</Description>
						<LineNumber>Top of Form</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PriorCorporationName" type="CA-BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>If the corporation previously filed California Tax returns under a different corporation name, Prior Corporation Name</Description>
						<LineNumber>Top of Form</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PriorCABusinessIdNumber" type="CA-CorporationIdType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>If the corporation previously filed California Tax returns under a different corporation name, Prior California Corporation Number</Description>
						<LineNumber>Top of Form</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CurrentYearNOL" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Current Year NOL</Description>
						<LineNumber>Part I, lines 1 - 9</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="NetLoss" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net Loss</Description>
									<LineNumber>Line 1</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="DisasterLoss" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Disaster Loss</Description>
									<LineNumber>Line 2</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetLoss-DisasterLoss" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net Loss Less Disaster loss</Description>
									<LineNumber>Line 3</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NewBusinessLoss" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>New Business Loss</Description>
									<LineNumber>Line 4a</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="SmallBusinessLoss" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Small Business  Loss</Description>
									<LineNumber>Line 4b</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NewAndSmallBusinessLoss" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Sum of New and Small Business Loss</Description>
									<LineNumber>Line 4c</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="GeneralNOL" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>General NOL, subtraction of line 4c from line 3</Description>
									<LineNumber>Line 5</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CurrentYearNOLComputed" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Current year NOL Computed</Description>
									<LineNumber>Line 6</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NOLCarrybackToPriorYr2" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>NOL carryback to prior year 2 (current tax year minus 2)</Description>
									<LineNumber>Line 7</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NOLCarrybackToPriorYr1" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>NOL carryback to prior year 1 (current tax year minus 1)</Description>
									<LineNumber>Line 8</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NOLCarryoverToNextYr" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>NOL carryover to next year</Description>
									<LineNumber>Line 9</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CarrybackWaiverElection" type="irs:BooleanType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Election to waive carryback - Indicates if  the corporation is making an irrevocable election to “relinquish” the entire carryback period with respect to a current year NOL under IRC Section 172(b)(3)</Description>
									<LineNumber/>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="CarryoverLimitations">
				<xsd:annotation>
					<xsd:documentation>
						<Description>NOL Carryover and Disaster Loss Carryover Limitations</Description>
						<LineNumber>Part II, lines 1 - 4. Columns (a) thru (h)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="CurrYrAvailableNetIncome" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Current year net income available for deduction of Losses.</Description>
									<LineNumber>line 1, Column (g)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="PriorYrNOLs" type="CA-PriorYrNOLType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Prior Year NOLs</Description>
									<LineNumber>line 2, Columns (a) thru (h)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CurrentYrNOLs" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Current Year NOLs</Description>
									<LineNumber>line 3 and 4, Columns (b) thru (h)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:sequence>
									<xsd:element name="DisasterNOLs" type="CA-CurrYrDisasterNOLType" minOccurs="0" maxOccurs="unbounded">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Current Year Disaster NOLs</Description>
												<LineNumber>line 3, Columns (b, (d), (f) and (h)</LineNumber>
											</xsd:documentation>
										</xsd:annotation>
									</xsd:element>
									<xsd:element name="OtherNOLs" type="CA-CurrYrNOLType" minOccurs="0" maxOccurs="unbounded">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Current Year NOLs Other than Disasters</Description>
												<LineNumber>line 4, Columns (b), (c), (d), (f) and (h)</LineNumber>
											</xsd:documentation>
										</xsd:annotation>
									</xsd:element>
								</xsd:sequence>
							</xsd:complexType>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="NOLCarryback" type="CA-NOLCarryBackType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>NOL Carryback</Description>
						<LineNumber>Part III, lines 1 - 3, Column (a) - (i)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NOLDeduction">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Current Year NOL Deduction</Description>
						<LineNumber>Part IV, lines 1 - 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="CurrYrLossUsed" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total Loss used in Current Year</Description>
									<LineNumber>line 1</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="DisasterLossCODeduction" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total from line 1 that is a disaster loss carryover deduction.</Description>
									<LineNumber>line 2</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CurrYrNOLDeduction" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Current year loss used less disaster loss carryover deduction</Description>
									<LineNumber>line 3</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-PriorYrNOLType">
		<xsd:annotation>
			<xsd:documentation>Type for Line 2's repeating rows of data in part II </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="YearLossIncurred" type="irs:YearType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Year of Loss</Description>
						<LineNumber>Column (a)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:choice minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Code</Description>
						<LineNumber>Column (b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:element name="SICCode" type="CA-SICCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>SIC (Standard Industrial Classification) Code</Description>
							<LineNumber/>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DisasterTitle" type="CA-PriorYrNOLDisasterType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Disaster Title</Description>
							<LineNumber/>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:choice>
			<xsd:element name="NOLType" type="CA-PriorYrTypeOfNOLType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of NOL</Description>
						<LineNumber>Column (c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="InitialLoss" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Initial Loss</Description>
						<LineNumber>Column (d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PriorYrCarryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loss Carryover  from current year minus 1</Description>
						<LineNumber>Column (e)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CurrYrLossUsed" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loss used in current year</Description>
						<LineNumber>Column (f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AvailableBalance" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Available balance. Column (g) of previous line minus column (f)</Description>
						<LineNumber>Column (g)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Carryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loss Carryover to next year. Column (e) minus (f)</Description>
						<LineNumber>Column (h)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-CurrYrDisasterNOLType">
		<xsd:annotation>
			<xsd:documentation>Type for Line 3's repeating rows of data in part II </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="DisasterTitle">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Disaster title</Description>
						<LineNumber>Column (b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:simpleContent>
						<xsd:extension base="CA-NOLDisasterType">
							<xsd:attribute name="disasterExplanation" type="irs:LineExplanationType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>Disaster event</Description>
										<LineNumber>Column (b)</LineNumber>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
						</xsd:extension>
					</xsd:simpleContent>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="InitialLoss" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Initial Loss</Description>
						<LineNumber>Column (d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CurrYrLossUsed" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loss used in current year</Description>
						<LineNumber>Column (f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Carryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description> Loss Carryover to next year. Column (d) minus (f)</Description>
						<LineNumber>Column (h)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-CurrYrNOLType">
		<xsd:annotation>
			<xsd:documentation>Type for Line 4's repeating rows of data in part II </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="SICCode" type="CA-SICCodeType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>SIC (Standard Industrial Classification) Code</Description>
						<LineNumber>Column (b)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="NOLType" type="CA-CurrYrTypeOfNOLType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of NOL</Description>
						<LineNumber>Column (c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="InitialLoss" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description> Initial Loss</Description>
						<LineNumber>Column (d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Carryover" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Loss Carryover to next year. Column (d) minus (f)</Description>
						<LineNumber>Column (h)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="CA-NOLCorporationType">
		<xsd:annotation>
			<xsd:documentation>Type to identify the type of Corporation</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="irs:StringType">
			<xsd:enumeration value="C Corporation"/>
			<xsd:enumeration value="S Corporation"/>
			<xsd:enumeration value="Exempt Organization"/>
			<xsd:enumeration value="Limited Liability Company"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="CA-NOLCarryBackType">
		<xsd:annotation>
			<xsd:documentation>Content model for Part IV - NOL Carryback</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="PriorYr2NetIncome" type="irs:USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Prior year 2 (current tax year minus 2) net income</Description>
						<LineNumber>Line 1</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PriorYr1NetIncome" type="irs:USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Prior year 1 (current tax year minus 1) net income</Description>
						<LineNumber>Line 2</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CurrentYrNOL" type="CA-CurrYrNOLCarrybackType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Current year NOL</Description>
						<LineNumber>Line 3, columns (b) thru (i)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-CurrYrNOLCarrybackType">
		<xsd:annotation>
			<xsd:documentation>Content model for Part III, Line 3, Columns b thru i</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:choice minOccurs="0">
				<xsd:element name="SICCode" type="CA-SICCodeType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Standard Industrial Classification (SIC) code</Description>
							<LineNumber>Column (b)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="DisasterTitle" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Title of qualified disaster loss, or Other if Official designation has not been made yet</Description>
							<LineNumber>Column (b)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:simpleContent>
							<xsd:extension base="CA-NOLDisasterType">
								<xsd:attribute name="disasterExplanation" type="irs:LineExplanationType">
									<xsd:annotation>
										<xsd:documentation>
											<Description>Disaster event explanation when Disaster Title is Other</Description>
											<LineNumber>Column (b)</LineNumber>
										</xsd:documentation>
									</xsd:annotation>
								</xsd:attribute>
							</xsd:extension>
						</xsd:simpleContent>
					</xsd:complexType>
				</xsd:element>
			</xsd:choice>
			<xsd:element name="NOLType" type="CA-CarrybackNOLType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of NOL</Description>
						<LineNumber>Column (c)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="InitialLoss" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Initial Loss</Description>
						<LineNumber>Column (d)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CarrybackPriorYr2" type="CA-PriorYrCarrybackType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Carryback to prior year 2 (i.e. current year minus 2)</Description>
						<LineNumber>Column (e-f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="CarrybackPriorYr1" type="CA-PriorYrCarrybackType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Carryback to prior year 1  (i.e. current year minus 1)</Description>
						<LineNumber>Column (g-h)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Carryover" type="irs:USAmountNNType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>NOL carryover (i.e. carried forward) to future year(s)</Description>
						<LineNumber>Line 4, Column (i)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="CA-PriorYrCarrybackType">
		<xsd:annotation>
			<xsd:documentation>Type for Part III, Line 3, amounts in Column (e) and (g); or Column (f) and (h) </xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="CarrybackUsed" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Carryback used</Description>
						<LineNumber>Column (e) or (g) </LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="AfterCarryback" type="irs:USAmountNNType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>After carryback</Description>
						<LineNumber>Column (f) or (h) </LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
