<?xml version="1.0" encoding="UTF-8"?>
<!-- target namespace is a URL by popular convention.  It is an idenfitier only, such that no pysical resource is required at this URL. -->
<schema targetNamespace="http://www.for.gov.bc.ca/schema/fta" xmlns:fta="http://www.for.gov.bc.ca/schema/fta" xmlns:mof="http://www.for.gov.bc.ca/schema/base" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="8">
	<annotation>
		<documentation>BC MOF FTA Submission schema for use in the Electronic Submission Framework.  Copyright (c) 2003 BC Ministry of Forests, All Rights Reserved.</documentation>
	</annotation>
	<!-- import MOF Base constructs -->
	<include schemaLocation="mof-fta-include.xsd"/>
	<import namespace="http://www.for.gov.bc.ca/schema/base" schemaLocation="mof-base.xsd"/>
	<!-- import constructs from the GML Feature and Geometry schemas -->
	<import namespace="http://www.opengis.net/gml"/>
	<import namespace="http://www.w3.org/1999/xlink"/>
	<!-- ========================= Submission Types ================================================ -->
	<!-- ========================= HarvestApplicationWithCP Feature Collection ===================== -->
	<element name="HarvestApplicationWithCP" type="fta:HarvestApplicationWithCPType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="HarvestApplicationWithCPType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for Cutblock Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  Used for major tenures (A file types) where the harvesting authority is defined by a cutting permit. This element could occur multiple times in a single submission. For this types of submissions the FTA file must always exist. FTA File Types A20,A21,A23 have no CP defined in the submission. The CP is created automatically by FTA.</documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID"/>
					<element ref="fta:fileType" minOccurs="0"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:district"/>
					<element ref="fta:applicationPurpose"/>
					<element ref="fta:tenureTerm" minOccurs="0"/>
					<element name="cuttingPermitID" type="mof:AlphaNumeric3"/>
					<element ref="fta:location" minOccurs="0"/>
					<element name="markingInstrumentCode" type="fta:MarkingInstrumentCodeType" minOccurs="0"/>
					<element name="markingMethodCode" type="fta:MarkingMethodCodeType" minOccurs="0"/>
					<element name="deciduousIndicator" type="boolean" minOccurs="0"/>
					<element name="catastrophicIndicator" type="boolean" minOccurs="0"/>
					<element name="cruiseBasedIndicator" type="boolean" minOccurs="0"/>
					<element name="crownGrantedIndicator" type="boolean" minOccurs="0"/>
					<element ref="fta:higherLevelPlanReference" minOccurs="0"/>
					<element ref="fta:bCTSOffice" minOccurs="0"/>
					<element ref="mof:spatialMetaData" minOccurs="0"/>
					<element name="salvageTypeCode" type="mof:AlphaNumeric3" minOccurs="0"/>
					<element ref="fta:extentOf" minOccurs="0"/>
					<element name="cutblockMember" type="fta:CutblockWithCPAssociationType" minOccurs="0" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ==================== CutBlockWithCP Feature ===================================== -->
	<complexType name="CutblockWithCPAssociationType">
		<annotation>
			<documentation>Association to a CutblockWithCP Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:CutBlockWithCP"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<element name="CutBlockWithCP" type="fta:CutBlockWithCPType"/>
	<complexType name="CutBlockWithCPType">
		<complexContent>
			<extension base="fta:BaseCutBlockType">
				<sequence>
					<element name="ownedByFile" type="mof:AlphaNumeric10" minOccurs="0"/>
					<element name="ownedByCuttingPermit" type="mof:AlphaNumeric3" minOccurs="0"/>
					<element ref="fta:extentOf" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ==================== CutBlockNoCP Feature ===================================== -->
	<complexType name="CutblockNoCPAssociationType">
		<annotation>
			<documentation>Association to a CutblockNoCP Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:CutBlockNoCP"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<element name="CutBlockNoCP" type="fta:CutBlockNoCPType"/>
	<complexType name="CutBlockNoCPType">
		<complexContent>
			<extension base="fta:BaseCutBlockType">
				<sequence>
					<element name="reforestationDeclarationCode" type="mof:AlphaNumeric10" minOccurs="0"/>
					<element ref="fta:extentOf" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ========================= HarvestApplicationNoCP Feature Collection ===================== -->
	<element name="HarvestApplicationNoCP" type="fta:HarvestApplicationNoCPType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="HarvestApplicationNoCPType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for Cutblock Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  Used for applications that don’t have cutting permits. Some of these tenures have cut blocks others don’t. For new applications the file type is required.</documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID" minOccurs="0"/>
					<element ref="fta:fileType" minOccurs="0"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:district"/>
					<element ref="fta:managementUnitType" minOccurs="0"/>
					<element ref="fta:managementUnitID" minOccurs="0"/>
					<element ref="fta:applicationPurpose"/>
					<element ref="fta:location" minOccurs="0"/>
					<element ref="fta:tenureTerm" minOccurs="0"/>
					<element name="referToFileNumber" type="mof:AlphaNumeric10" minOccurs="0"/>
					<element name="blockID" type="mof:AlphaNumeric10" minOccurs="0"/>
					<element name="purposeCode" type="mof:AlphaNumeric2" minOccurs="0"/>
					<element ref="fta:higherLevelPlanReference" minOccurs="0"/>
					<element name="licenseeHarvestAuthorityID" type="mof:AlphaNumeric30" minOccurs="0"/>
					<element name="licenceRegulationCode" type="mof:AlphaNumeric1" minOccurs="0"/>
					<element ref="fta:bCTSOffice" minOccurs="0"/>
					<element ref="mof:spatialMetaData" minOccurs="0"/>
					<element ref="fta:extentOf" minOccurs="0"/>
					<element name="cutblockMember" type="fta:CutblockNoCPAssociationType" minOccurs="0" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ========================= RoadTenureApplication Feature Collection ===================== -->
	<element name="RoadTenureApplication" type="fta:RoadTenureApplicationType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="RoadTenureApplicationType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for RoadSection Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  Used to submit applications or amendments to road permits or FSR’s. </documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID" minOccurs="0"/>
					<element ref="fta:fileType" minOccurs="0"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:location" minOccurs="0"/>
					<element ref="fta:district"/>
					<element ref="fta:managementUnitType" minOccurs="0"/>
					<element ref="fta:managementUnitID" minOccurs="0"/>
					<element ref="fta:applicationPurpose"/>
					<element ref="fta:higherLevelPlanReference" minOccurs="0"/>
					<element name="licenceRegulationCode" type="mof:AlphaNumeric1" minOccurs="0"/>
					<element ref="fta:bCTSOffice" minOccurs="0"/>
					<element name="roadSectionMember" type="fta:RoadSectionAssociationType" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="RoadSectionAssociationType">
		<annotation>
			<documentation>Association to a RoadSection Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:RoadSection"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<!-- ========================= RoadSection Feature ============================================= -->
	<element name="RoadSection" type="fta:RoadSectionType"/>
	<complexType name="RoadSectionType">
		<complexContent>
			<extension base="mof:AbstractMOFFeatureType">
				<sequence>
					<element name="roadSectionID" type="mof:AlphaNumeric30"/>
					<element name="roadName" type="mof:AlphaNumeric20" minOccurs="0"/>
					<element ref="fta:applicationPurpose"/>
					<element name="tenureWidth" type="mof:NonNegativeInteger3D" minOccurs="0"/>
					<element name="amendmentStartStation" type="mof:Decimal11D4d" minOccurs="0"/>
					<element name="amendmentEndStation" type="mof:Decimal11D4d" minOccurs="0"/>
					<element name="amendmentType" type="mof:AlphaNumeric3" minOccurs="0"/>
					<element ref="fta:centreLineOf" minOccurs="0"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ========================= RangeTenureApplication Feature Collection ======================= -->
	<element name="RangeTenureApplication" type="fta:RangeTenureApplicationType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="RangeTenureApplicationType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for RangeMapBlock Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  Used to submit applications or amendments to road permits or FSRs.</documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID" minOccurs="0"/>
					<element ref="fta:fileType" minOccurs="0"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:district"/>
					<element ref="fta:applicationPurpose"/>
					<element name="authorizedHarvestableForage" type="mof:NonNegativeInteger5D" minOccurs="0"/>
					<element name="hayCuttingAreaNumber" type="mof:AlphaNumeric4" minOccurs="0"/>
					<element ref="fta:tenureTerm" minOccurs="0"/>
					<element name="rangeMapBlockMember" type="fta:RangeMapBlockAssociationType" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="RangeMapBlockAssociationType">
		<annotation>
			<documentation>Association to a RangeMapBlock Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:RangeMapBlock"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<!-- ========================= RangeMapBlock Feature =========================================== -->
	<element name="RangeMapBlock" type="fta:RangeMapBlockType"/>
	<complexType name="RangeMapBlockType">
		<complexContent>
			<extension base="mof:AbstractMOFFeatureType">
				<sequence>
					<element name="tenureBlock" type="mof:AlphaNumeric10"/>
					<element ref="fta:applicationPurpose"/>
					<element ref="fta:extentOf"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ========================= TimberLicence Feature Collection ================================ -->
	<element name="TimberLicence" type="fta:TimberLicenceType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="TimberLicenceType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for TimberLIcenceMapBlock Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  The Timber Licence boundary identifies the outer boundary of a Timber Licence. Updates to these will be completed and submitted by MSRM. These are handled slightly differently than most A type files therefore a separate object type has been defined.</documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:district"/>
					<element ref="fta:applicationPurpose"/>
					<element name="TimberLicenceMapBlockMember" type="fta:TimberLicenceMapBlockAssociationType" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="TimberLicenceMapBlockAssociationType">
		<annotation>
			<documentation>Association to a TimberLicenceMapBlock Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:TimberLicenceMapBlock"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<!-- ========================= TimberLicenceMapBlock Feature =================================== -->
	<element name="TimberLicenceMapBlock" type="fta:TimberLicenceMapBlockType"/>
	<complexType name="TimberLicenceMapBlockType">
		<complexContent>
			<extension base="mof:AbstractMOFFeatureType">
				<sequence>
					<element name="mapBlockID" type="mof:AlphaNumeric10"/>
					<element ref="fta:applicationPurpose"/>
					<element ref="fta:extentOf"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<!-- ========================= TimberLicenceElimination Application =================================== -->
	<element name="TimberLicenceElimination" type="fta:TimberLicenceEliminationType" substitutionGroup="fta:_FTASubmissionFeature"/>
	<complexType name="TimberLicenceEliminationType">
		<annotation>
			<documentation>This type is a FeatureCollection, since it is a container for TimberElimination Features.  Since a FeatureCollection is itself a Feature, instances of this type may have an identity (fid), as well as properties with both simple and complex content.  The Timber Licence Elimination boundary identifies the outer boundary of a Timber Licence Elimination and includes all elimination for the Timber Licence.</documentation>
		</annotation>
		<complexContent>
			<extension base="fta:AbstractFTAFeatureCollectionBaseType">
				<sequence>
					<element ref="fta:forestFileID"/>
					<element ref="fta:applicationDescription"/>
					<element ref="fta:district"/>
					<element name="TimberLicenceEliminationMapBlockMember" type="fta:TimberLicenceEliminationMapBlockAssociationType" maxOccurs="unbounded"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
	<complexType name="TimberLicenceEliminationMapBlockAssociationType">
		<annotation>
			<documentation>Association to a TimberLicenceEliminationMapBlock Feature.  Also removes the Xlink attributes which are not required nor supported.</documentation>
		</annotation>
		<complexContent>
			<restriction base="gml:FeatureAssociationType">
				<sequence>
					<element ref="fta:TimberLicenceEliminationMapBlock"/>
				</sequence>
			</restriction>
		</complexContent>
	</complexType>
	<!-- ========================= TimberLicenceEliminationMapBlock Feature =================================== -->
	<element name="TimberLicenceEliminationMapBlock" type="fta:TimberLicenceEliminationMapBlockType"/>
	<complexType name="TimberLicenceEliminationMapBlockType">
		<complexContent>
			<extension base="mof:AbstractMOFFeatureType">
				<sequence>
					<element name="mapBlockID" type="mof:AlphaNumeric10"/>
					<element ref="fta:extentOf"/>
				</sequence>
			</extension>
		</complexContent>
	</complexType>
</schema>
