<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ftb.ca.gov/efile" 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 - S Corporation eFile Schema - Schedule D (100S) - S Corporation Capital Gains and Losses and Built-In Gains</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Production Release</MaturityLevel>
			<ReleaseDate>January 23, 2020</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>
	<xsd:include schemaLocation="../../../Common/CA-eFileTypes.xsd"/>
	<xsd:include schemaLocation="../../../Common/CA-BE-eFileTypes.xsd"/>
	<xsd:import namespace="http://www.irs.gov/efile" schemaLocation="../../../../../IRS/2018v5.3_1120x+4.1_1065x/Common/efileTypes.xsd"/>
	<xsd:element name="CAForm100SScheduleD">
		<xsd:annotation>
			<xsd:documentation>CA Form 100S Schedule D - S Corporation Capital Gains and Losses and Built-In Gains</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CAForm100SScheduleDType">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CAForm100SScheduleD"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CAForm100SScheduleDType">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Form 100S -  Schedule D</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="NatureOfAssetsReported" type="CA-NatureOfAssetsReportedType" minOccurs="0"/>
			<xsd:element name="BuiltInGains" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax on Built-In Gains</Description>
						<LineNumber>Section A</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence minOccurs="0">
						<xsd:element name="STCGL" type="CA-AssetSaleType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Short-Term Capital Gains and Losses</Description>
									<LineNumber>Part I - Line 1</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherSTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other Short-term capital gain from installment sales (FTB 3805E) and Like-Kind Exchanges (IRS 8824)</Description>
									<LineNumber>Part I - Line 2</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TotalSTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total short-term capital gain (loss) - Sum of line 1 Column (f) and line 2</Description>
									<LineNumber>Part I - Line 3a</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TaxOnSTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Tax on short-term capital gains included in tax on built-in gains (line 12)</Description>
									<LineNumber>Part I - Line 3b</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetSTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net short-term capital gain (loss) - Subtraction of line 3b from line 3a</Description>
									<LineNumber>Part I - Line 3c</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="LTCGL" type="CA-AssetSaleType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Long-Term Capital Gains and Losses</Description>
									<LineNumber>Part II - Line 4</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherLTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other Long-term capital gain from installment sales (FTB 3805E) and Like-Kind Exchanges (IRS 8824)</Description>
									<LineNumber>Part II - Line 5</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TotalLTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total long-term capital gain (loss) - Sum of line 4 Column (f) and line 5</Description>
									<LineNumber>Part II - Line 6a</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TaxOnLTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Tax on long-term capital gains included in tax on built-in gains (line 12)</Description>
									<LineNumber>Part II - Line 6b</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetLTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net long-term capital gain (loss) - Subtraction of line 6b from line 6a</Description>
									<LineNumber>Part II - Line 6c</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="BuiltInGainsOverLosses" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Excess of recognized built-in gains over recognized built-in losses attributable to CA</Description>
									<LineNumber>Part III - Line 7</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:simpleContent>
									<xsd:extension base="irs:USAmountType">
										<xsd:attribute name="referenceDocumentId" type="irs:IdListType"/>
										<xsd:attribute name="referenceDocumentName" type="irs:StringType" fixed="ExcessOfRecognizedBuiltInGainComputationAtt"/>
									</xsd:extension>
								</xsd:simpleContent>
							</xsd:complexType>
						</xsd:element>
						<xsd:element name="BuiltInGainsTaxableIncome" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Built-in Gains Taxable Income</Description>
									<LineNumber>Part III - Line 8</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:simpleContent>
									<xsd:extension base="irs:USAmountType">
										<xsd:attribute name="referenceDocumentId" type="irs:IdListType"/>
										<xsd:attribute name="referenceDocumentName" type="irs:StringType" fixed="TaxableIncomeComputationSchedule"/>
									</xsd:extension>
								</xsd:simpleContent>
							</xsd:complexType>
						</xsd:element>
						<xsd:element name="NetRecognizedBuiltInGain" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net recognized built-in gain -  Smaller of line 7 or line 8 or computed net unrealized built-in gain reduced by prior year net recognized gain</Description>
									<LineNumber>Part III - Line 9</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CCorpNOLCarryover" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net operating loss (NOL) carryover deduction from years the corporation was a C corporation</Description>
									<LineNumber>Part III - Line 10</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetBuiltInGainIncome" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net built-in gain income - Subtraction of line 10 from line 9</Description>
									<LineNumber>Part III - Line 11</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TaxOnBuiltInGains" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Tax on built-in gains</Description>
									<LineNumber>Part III - Line 12</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetCapitalGainLoss" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net capital gains (losses) - Sum of lines 3a and 6a</Description>
									<LineNumber>Part IV - Line 13</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="CapitalGains" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax on Capital Gains</Description>
						<LineNumber>Section B</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence minOccurs="0">
						<xsd:element name="STCGL" type="CA-AssetSaleType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Short-Term Capital Gains and Losses</Description>
									<LineNumber>Part I - Line 1</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherSTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other Short-term capital gain from installment sales (FTB 3805E) and Like-Kind Exchanges (IRS 8824)</Description>
									<LineNumber>Part I - Line 2a</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TotalSTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total short-term capital gain (loss) - Sum of lines 1 Column (f)  and line 2a</Description>
									<LineNumber>Part I - Line 2b</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="UnUsedCapitalLossCarryover" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Unused capital loss carryover from prior year</Description>
									<LineNumber>Part I - Line 2c</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="NetSTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Net short-term capital gain (loss) - Sum of lines 2b and 2c</Description>
									<LineNumber>Part I - Line 3</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="LTCGL" type="CA-AssetSaleType" minOccurs="0" maxOccurs="unbounded">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Long-Term Capital Gains and Losses</Description>
									<LineNumber>Part II - Line 4</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherGainsAndCGDistributions" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other gains from sale of business property (FTB SCH D-1) and/or capital gain distributions</Description>
									<LineNumber>Part II - Line 5</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherLTCG" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other Long-term capital gain from installment sales (FTB 3805E) and Like-Kind Exchanges (IRS 8824)</Description>
									<LineNumber>Part II - Line 6</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TotalLTCGL" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total long-term capital gain (loss) - Sum of line 4 Column (f) thru Line 6</Description>
									<LineNumber>Part II - Line 7</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="ExcessSTCGOverLTCL" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Excess of short-term capital gain (line 3) over long-term capital loss (line 7)</Description>
									<LineNumber>Part II - Line 8</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="ExcessLTCGOverSTCL" type="irs:USAmountNNType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Excess of long-term capital gain (line 7) over short-term capital loss (line 3)</Description>
									<LineNumber>Part II - Line 9</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TotalCapitalGain" type="irs:USAmountNNType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total Capital Gain - sum of lines 8 and 9</Description>
									<LineNumber>Part II - Line 10</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
