<?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="2018v3.0">
	<xsd:annotation>
		<xsd:documentation>
			<Description>State of California e-File PDF Binary Attachment XML Schema </Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>November 1, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>
	<xsd:include schemaLocation="../../Common/CA-eFileTypes.xsd"/>
	<xsd:import namespace="http://www.irs.gov/efile" schemaLocation="../../../../IRS/2018v4.0_1120x+3.0_1065x/Common/efileTypes.xsd"/>
	<xsd:element name="CA-BinaryAttachment">
		<xsd:annotation>
			<xsd:documentation>PDF attachment referenced to a CA form, line, instruction or regulation</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="CA-BinaryAttachmentType">
					<xsd:attributeGroup ref="irs:DocumentAttributes"/>
					<xsd:attribute name="documentName" type="xsd:string" fixed="CA-BinaryAttachment"/>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="CA-BinaryAttachmentType">
		<xsd:annotation>
			<xsd:documentation>Content model for CA Binary Attachment Information</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="FormLineOrInstructionReference" type="irs:LineExplanationType" minOccurs="0"/>
			<xsd:element name="RegulationsReference" type="irs:LineExplanationType" minOccurs="0"/>
			<xsd:element name="AttachmentType">
				<xsd:simpleType>
					<xsd:restriction base="irs:StringType">
						<xsd:enumeration value="PDF"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="AttachmentDescription">
				<xsd:simpleType>
					<xsd:restriction base="irs:TextType">
						<xsd:maxLength value="128"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="AttachmentLocation">
				<xsd:simpleType>
					<xsd:restriction base="irs:TextType">
						<xsd:maxLength value="64"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
