<?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="2018v2.0">
	<xsd:annotation>
		<xsd:documentation>
			<Description>State of CA, Franchise Tax Board - e-file schema - Form 592B - Resident and Nonresident Withholding Tax Statement</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>October 30, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>
	<xsd:import namespace="http://www.irs.gov/efile" schemaLocation="../../../../IRS/2018v5.0_1120x+4.0_1065x/Common/efileTypes.xsd"/>
	<xsd:include schemaLocation="../CA-BE-eFileTypes.xsd"/>
	<xsd:include schemaLocation="../CA-eFileTypes.xsd"/>
	<xsd:element name="CAForm592B">
		<xsd:annotation>
			<xsd:documentation>CA Form 592-B - Resident and Nonresident Withholding Tax Statement</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CAForm592BType">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CAForm592B"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CAForm592BType">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Form 592-B - Resident and Nonresident</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="Amended" type="irs:BooleanType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Amended</Description>
						<LineNumber>Top of Form</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="WithholdingAgent">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Withholding agent</Description>
						<LineNumber>Part I</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="Name" type="CA-BusinessNameType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Withholding agent's (payer's/S Corporation/Partnership's/LLC/Trust) name</Description>
									<LineNumber/>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="IDNumber">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Identification Number</Description>
									<LineNumber/>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:choice>
									<xsd:element name="Individual">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Individual identification number</Description>
												<LineNumber/>
											</xsd:documentation>
										</xsd:annotation>
										<xsd:complexType>
											<xsd:choice>
												<xsd:element name="SSN" type="irs:SSNType">
													<xsd:annotation>
														<xsd:documentation>
															<Description>Social Security Number</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
												</xsd:element>
												<xsd:element name="ITIN" type="CA-ITINType">
													<xsd:annotation>
														<xsd:documentation>
															<Description>IRS Individual  Taxpayer Identification Number</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
												</xsd:element>
												<xsd:element name="NotApplicable">
													<xsd:annotation>
														<xsd:documentation>
															<Description>Not applicable. ID number is individual in type and not applicable per a qualifying reason</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
													<xsd:complexType>
														<xsd:simpleContent>
															<xsd:extension base="CA-NotApplicableType">
																<xsd:attribute name="otherReasonExplanation" type="CA-DescriptionType">
																	<xsd:annotation>
																		<xsd:documentation>
																			<Description>Explanation for when Not Applicable value is Other Reason</Description>
																			<LineNumber/>
																		</xsd:documentation>
																	</xsd:annotation>
																</xsd:attribute>
															</xsd:extension>
														</xsd:simpleContent>
													</xsd:complexType>
												</xsd:element>
											</xsd:choice>
										</xsd:complexType>
									</xsd:element>
									<xsd:element name="Other" type="CA-BusinessIdType">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Other business or non-individual identification number</Description>
												<LineNumber/>
											</xsd:documentation>
										</xsd:annotation>
									</xsd:element>
								</xsd:choice>
							</xsd:complexType>
						</xsd:element>
						<xsd:choice>
							<xsd:element name="USAddress" type="irs:USAddressType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>United States Address</Description>
										<LineNumber/>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="ForeignAddress" type="CA-ForeignAddressType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>Foreign Address</Description>
										<LineNumber/>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:choice>
						<xsd:choice minOccurs="0">
							<xsd:sequence>
								<xsd:element name="USPhone" type="irs:PhoneNumberType">
									<xsd:annotation>
										<xsd:documentation>
											<Description>10 character phone number</Description>
											<LineNumber/>
										</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="Extension" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation>
											<Description>4 digit phone extension</Description>
											<LineNumber/>
										</xsd:documentation>
									</xsd:annotation>
									<xsd:simpleType>
										<xsd:restriction base="irs:StringType">
											<xsd:maxLength value="4"/>
										</xsd:restriction>
									</xsd:simpleType>
								</xsd:element>
							</xsd:sequence>
							<xsd:element name="ForeignPhone" type="irs:ForeignPhoneNumberType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>30 digit international phone number</Description>
										<LineNumber/>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:choice>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="Payee">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Payee</Description>
						<LineNumber>Part II</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="Name" type="CA-BusinessNameType">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Payees name</Description>
									<LineNumber/>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="IDNumber">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Identification Number</Description>
									<LineNumber/>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:choice>
									<xsd:element name="Individual">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Individual identification number</Description>
												<LineNumber/>
											</xsd:documentation>
										</xsd:annotation>
										<xsd:complexType>
											<xsd:choice>
												<xsd:element name="SSN" type="irs:SSNType">
													<xsd:annotation>
														<xsd:documentation>
															<Description>Social Security Number</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
												</xsd:element>
												<xsd:element name="ITIN" type="CA-ITINType">
													<xsd:annotation>
														<xsd:documentation>
															<Description>IRS Individual  Taxpayer Identification Number</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
												</xsd:element>
												<xsd:element name="NotApplicable">
													<xsd:annotation>
														<xsd:documentation>
															<Description>Not applicable. ID number is individual in type and not applicable per a qualifying reason</Description>
															<LineNumber/>
														</xsd:documentation>
													</xsd:annotation>
													<xsd:complexType>
														<xsd:simpleContent>
															<xsd:extension base="CA-NotApplicableType">
																<xsd:attribute name="otherReasonExplanation" type="CA-DescriptionType">
																	<xsd:annotation>
																		<xsd:documentation>
																			<Description>Explanation for when Not Applicable value is Other Reason</Description>
																			<LineNumber/>
																		</xsd:documentation>
																	</xsd:annotation>
																</xsd:attribute>
															</xsd:extension>
														</xsd:simpleContent>
													</xsd:complexType>
												</xsd:element>
											</xsd:choice>
										</xsd:complexType>
									</xsd:element>
									<xsd:element name="Other" type="CA-BusinessIdType">
										<xsd:annotation>
											<xsd:documentation>
												<Description>Other business or non-individual identification number</Description>
												<LineNumber/>
											</xsd:documentation>
										</xsd:annotation>
									</xsd:element>
								</xsd:choice>
							</xsd:complexType>
						</xsd:element>
						<xsd:choice>
							<xsd:element name="USAddress" type="irs:USAddressType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>United States Address</Description>
										<LineNumber/>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
							<xsd:element name="ForeignAddress" type="CA-ForeignAddressType">
								<xsd:annotation>
									<xsd:documentation>
										<Description>Foreign Address</Description>
										<LineNumber/>
									</xsd:documentation>
								</xsd:annotation>
							</xsd:element>
						</xsd:choice>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="IncomeType">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of Income subject to withholding</Description>
						<LineNumber>Part III</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence minOccurs="0">
						<xsd:element name="IndependentContractor" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Payment to Independent Contractor</Description>
									<LineNumber>A</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="TrustDistributions" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Trust Distributions</Description>
									<LineNumber>B</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="RentsOrRoyalties" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Rents or Royalties</Description>
									<LineNumber>C</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="DomesticPartner" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Distributions to Domestic (US) Nonresident SCorporation Shareholders Partners/Members/Beneficiaries</Description>
									<LineNumber>D</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="EstateDistributions" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Estate Distributions</Description>
									<LineNumber>E</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="ElectiveWithholding" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Elective Withholding</Description>
									<LineNumber>F</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="ElectiveWithholdingIndianTribe" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Elective Withholding Indian Tribe</Description>
									<LineNumber>G</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="ForeignPartner" type="irs:CheckboxType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Allocations to Foreign (non-US) Nonresident Partner/Member</Description>
									<LineNumber>H</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="OtherIncomeDescription" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Other income subject to withholding - Indicator</Description>
									<LineNumber>I</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
							<xsd:complexType>
								<xsd:simpleContent>
									<xsd:extension base="irs:CheckboxType">
										<xsd:attribute name="note" type="irs:LineExplanationType" use="required">
											<xsd:annotation>
												<xsd:documentation>
													<Description>Other income subject to withholding -  Description</Description>
													<LineNumber/>
												</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
									</xsd:extension>
								</xsd:simpleContent>
							</xsd:complexType>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="TaxWithheld">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Tax Withheld</Description>
						<LineNumber>Part IV - Lines 1 thru 3</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
				<xsd:complexType>
					<xsd:sequence minOccurs="0">
						<xsd:element name="CASourceIncome" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total income amount subject to withholding</Description>
									<LineNumber>Line 1</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="CATaxWithheld" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Total California tax withheld</Description>
									<LineNumber>Line 2</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
						<xsd:element name="BackupWithholding" type="irs:USAmountType" minOccurs="0">
							<xsd:annotation>
								<xsd:documentation>
									<Description>Back up withholding</Description>
									<LineNumber>Line 3</LineNumber>
								</xsd:documentation>
							</xsd:annotation>
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
