<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.irs.gov/efile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.irs.gov/efile" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<xsd:annotation>
		<xsd:documentation>
			<Description>IRS e-file Schema - Contributions of Motor Vehicles, Boats, and Airplanes Statement</Description>
			<TaxYear>2018</TaxYear>
			<MaturityLevel>Final Release</MaturityLevel>
			<ReleaseDate>September 5, 2018</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

	<xsd:include schemaLocation="../../../Common/efileTypes.xsd"/>

	<!-- ================================================================================ -->
	<!-- ======== Contributions of Motor Vehicles, Boats, and Airplanes Statement ======= -->
	<!-- ================================================================================ -->

	<xsd:element name="ContriVehicleBoatAirplaneStmt">
		<xsd:annotation>
			<xsd:documentation>Contributions of Motor Vehicles, Boats, and Airplanes Statement</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="ContriVehicleBoatAirplaneStmtType">
					<xsd:attributeGroup ref="DocumentAttributes">
						<xsd:annotation>
							<xsd:documentation>Transfer</xsd:documentation>
						</xsd:annotation>
					</xsd:attributeGroup>
					<xsd:attribute name="documentName" type="StringType" fixed="ContributionsOfMotorVehiclesBoatsAndAirplanesStatement">
						<xsd:annotation>
							<xsd:documentation>IRS internal use only. To avoid error in the return, do not include the attribute name or value.</xsd:documentation>
						</xsd:annotation>
					</xsd:attribute>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>

	<!-- Contributions Vehicle Boat Airplane Statement Type -->
	<xsd:complexType name="ContriVehicleBoatAirplaneStmtType">
		<xsd:sequence>

			<!-- Corrected Box Indicator -->
			<xsd:element name="CorrectedInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Corrected box indicator</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Donee Name -->
			<xsd:element name="DoneeName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Donee name</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Address Of Donee - choice between US Address or Foreign Address -->
			<xsd:choice minOccurs="0">

				<!-- US Address of Donee -->
				<xsd:element name="DoneeUSAddress" type="OtherUSAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>US address of donee</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Foreign Address of Donee -->
				<xsd:element name="DoneeForeignAddress" type="OtherForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign address of donee</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Telephone Number Of Donee - choice between US Telephone Number or Foreign Telephone Number -->
			<xsd:choice minOccurs="0">			
			
				<!-- Donee Telephone Number -->
				<xsd:element name="USTelephoneNum" type="PhoneNumberType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Donee telephone number</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Donee Foreign Telephone Number -->
				<xsd:element name="ForeignTelephoneNum" type="ForeignPhoneNumberType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Donee foreign telephone number</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				
			</xsd:choice>

			<!-- Donee EIN -->
			<xsd:element name="DoneeEIN" type="EINType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Donee EIN</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Donor Identification Number - choice between EIN or SSN -->
			<xsd:choice minOccurs="0">

				<!-- Donor EIN -->
				<xsd:element name="DonorEIN" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Donor EIN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Donor SSN -->
				<xsd:element name="DonorSSN" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Donor SSN</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Name of Donor - choice between Person Name or Business Name -->
			<xsd:choice minOccurs="0">			
			
				<!-- Donor Person Name -->
				<xsd:element name="DonorPersonNm" type="PersonFullNameType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Donor person name</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Donor Business Name -->
				<xsd:element name="DonorBusinessName" type="BusinessNameType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation>Donor business name</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			
			</xsd:choice>

			<!-- Address of Donor - choice between US Address or Foreign Address -->
			<xsd:choice minOccurs="0">

				<!-- Donor US Address  -->
				<xsd:element name="DonorUSAddress" type="OtherUSAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>US address of donor</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Donor Foreign Address -->
				<xsd:element name="DonorForeignAddress" type="OtherForeignAddressType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Foreign address of donor</Description>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

			</xsd:choice>

			<!-- Date of the Contribution -->
			<xsd:element name="ContributionDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Date of the contribution</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			
			<!-- Odometer Mileage -->
			<xsd:element name="OdometerMileageQty" type="LongIntegerType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Odometer mileage</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Vehicle Description - Year, Make, and Model of Vehicle -->
			<xsd:element name="VehicleDescriptionGrp" type="VehicleDescriptionGrpType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Vehicle description - Year, Make, and Model of Vehicle</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Vehicle Identification Number -->
			<xsd:element name="VIN" type="VINType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Vehicle identification number</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Certifies Vehicle Sold To Unrelated Party Indicator -->
			<xsd:element name="CertifiesVehSoldToUnrltPrtyInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Certifies vehicle sold to unrelated party indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Date Of Sale -->
			<xsd:element name="SaleDt" type="DateType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Date of sale</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Gross Proceeds From Sale Of Vehicle Amount -->
			<xsd:element name="GrossProceedsFromSaleOfVehAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Gross proceeds from sale of vehicle amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

 			<!-- Certifies Vehicle Not Transferred Indicator -->
			<xsd:element name="CertifiesVehicleNotTrnsfrInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Certifies vehicle not transferred indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Certifies Vehicle Transferred To Needy Indicator -->
			<xsd:element name="CertifiesVehTrnsfrToNeedyInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Certifies vehicle transferred to needy indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Certifies Detailed Description Of Improvement -->
			<xsd:element name="CertifiesDetailedImprvDesc" type="MediumExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Certifies detailed description of improvement</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Goods And Services Indicator -->
			<xsd:element name="GoodsAndServicesInd" type="BooleanType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Goods and services indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Value Of Goods And Services For Vehicle Amount -->
			<xsd:element name="ValueOfGoodsAndSrvcForVehAmt" type="USAmountType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Value of goods and services for vehicle amount</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Intangible Religious Benefits Indicator -->
			<xsd:element name="IntangibleReligiousBenefitsInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Intangible religious benefits indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Description Of Goods And Services -->
			<xsd:element name="GoodsAndServicesDesc" type="LineExplanationType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Description of goods and services</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Vehicle Claim Deduction Under Specifed Amount Indicator -->
			<xsd:element name="VehClaimDedUnderSpcfdAmtInd" type="CheckboxType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Vehicle claim deduction under specifed amount indicator</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>


		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
