<?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 QS (100S) - Qualified Subchapter S Subsidiary (QSub) Information</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:import namespace="http://www.irs.gov/efile" schemaLocation="../../../../../IRS/2018v5.3_1120x+4.1_1065x/Common/efileTypes.xsd"/>
	<xsd:element name="CAForm100SScheduleQS">
		<xsd:annotation>
			<xsd:documentation>CA Form 100S Schedule QS - QSub Information</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CAForm100SScheduleQSType">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CAForm100SScheduleQS"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CAForm100SScheduleQSType">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Form 100S -  Schedule QS</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="QSubInformation" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>QSubs included in parent S Corporations form 100S</Description>
						<LineNumber>Columns (a) thru (f)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="QSubName" type="irs:BusinessNameType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Name of QSub</Description>
									<LineNumber>Column (a)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CACorporationNumber" type="CA-QSubCACorporationNumberType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>California Corporation Number</Description>
									<LineNumber>Column (b)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="FEIN" type="CA-QSubFEINType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Federal employer identification number</Description>
									<LineNumber>Column (c)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="FederalElectionDate" type="irs:DateType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Effective date of federal QSub election</Description>
									<LineNumber>Column (d)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TaxPaymentDate" type="irs:DateType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Date of QSub annual tax payment</Description>
									<LineNumber>Column (e)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TaxPaid" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Amount of QSub annual tax paid</Description>
									<LineNumber>Column (f)</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="CA-QSubFEINType">
		<xsd:annotation>
			<xsd:documentation>Type for FEIN in column (c) </xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="(0[1-6]|1[0-6]|2[0-7]|3[0-9]|4[0-8]|5[0-9]|6[0-8]|7[1-7]|8[0-8]|9[0-6]|98|99)[0-9]{7}"/>
			<xsd:pattern value="None"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="CA-QSubCACorporationNumberType">
		<xsd:annotation>
			<xsd:documentation>Type for CA Corporation Number - Max. of 7 Digits or "None"</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="7"/>
			<xsd:pattern value="[0-9]*"/>
			<xsd:pattern value="None"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>
