<?xml version="1.0" encoding="UTF-8"?>
<!-- Paul Howells (Vivid Solutions Inc) -->
<xsd:schema targetNamespace="http://www.for.gov.bc.ca/schema/cims" xmlns:cims="http://www.for.gov.bc.ca/schema/cims" xmlns:mof="http://www.for.gov.bc.ca/schema/base" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1">
	<xsd:annotation>
		<xsd:documentation>BC MOF Startup base types schema.  Copyright (c) 2004 BC Ministry of Forests, All Rights Reserved.</xsd:documentation>
	</xsd:annotation>
	<!-- import MOF Simple Types -->
	<xsd:import namespace="http://www.for.gov.bc.ca/schema/base" schemaLocation="mof-simpleTypes.xsd"/>
	<!-- ===============  Simple types  =============== -->
	<xsd:simpleType name="Integer6D">
		<xsd:restriction base="xsd:integer">
			<xsd:totalDigits value="6"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Integer7D">
		<xsd:restriction base="xsd:integer">
			<xsd:totalDigits value="7"/>
		</xsd:restriction>
	</xsd:simpleType>	
	<!-- ===============  Simple base types  =============== -->
	<xsd:element name="tenure" type="mof:AlphaNumeric10">
		<xsd:annotation>
			<xsd:documentation>File identification assigned to Provincial Forest Use files. Assigned file number. Usually the Licence, Tenure or Private Mark number. </xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="timberMark" type="mof:AlphaNumeric6">
		<xsd:annotation>
			<xsd:documentation>Information about the timber cutting and moving permission for a timber tenure.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>	
	<xsd:element name="cutBlockId" type="mof:AlphaNumeric10">
		<xsd:annotation>
			<xsd:documentation>Identifier for a cut block of a harvesting tenure.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="roadSectionId" type="mof:AlphaNumeric10">
		<xsd:annotation>
			<xsd:documentation>A unique, user-defined identifier for the road section in relation to the tenure.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="startupDate" type="xsd:date">
		<xsd:annotation>
			<xsd:documentation>The date that logging will start on the site.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="location" type="mof:AlphaNumeric2000">
		<xsd:annotation>
			<xsd:documentation>A description of the location of the site.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<xsd:element name="comments" type="mof:AlphaNumeric2000">
		<xsd:annotation>
			<xsd:documentation>Additional comments about the site.</xsd:documentation>
		</xsd:annotation>
	</xsd:element>
	<!-- ===============  Complex types  =============== -->
	<xsd:element name="HarvestStartupSite" type="cims:HarvestStartupSiteType"/>
	<xsd:complexType name="HarvestStartupSiteType">
		<xsd:annotation>
			<xsd:documentation>
				The Harvest Start Up site contains the properties of Harvest site.
			</xsd:documentation>
		</xsd:annotation>	
		<xsd:sequence>
			<xsd:element ref="cims:tenure" />
			<xsd:element ref="cims:timberMark" minOccurs="0"/>
			<xsd:element ref="cims:cutBlockId" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="RoadStartupSite" type="cims:RoadStartupSiteType"/>
	<xsd:complexType name="RoadStartupSiteType">
		<xsd:annotation>
			<xsd:documentation>
				The Road Start Up site contains the properties of Road site.
			</xsd:documentation>
		</xsd:annotation>	
		<xsd:sequence>
		  <xsd:element ref="cims:tenure" />
			<xsd:element ref="cims:roadSectionId" />
		</xsd:sequence>
	</xsd:complexType>	
	<xsd:element name="UtmCoordinate" type="cims:UtmCoordinateType"/>
	<xsd:complexType name="UtmCoordinateType">
		<xsd:sequence>
			<xsd:element name="zone" type="mof:NonNegativeInteger2D">
				<xsd:annotation>
					<xsd:documentation>The UTM zone of the location of the site.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="easting" type="cims:Integer6D">
				<xsd:annotation>
					<xsd:documentation>The UTM easting of the locationof the site.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="northing" type="cims:Integer7D">
				<xsd:annotation>
					<xsd:documentation>The UTM northing of the location of the site.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>			
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="GeographicCoordinate" type="cims:GeographicCoordinateType"/>
	<xsd:complexType name="GeographicCoordinateType">
		<xsd:sequence>
			<xsd:element name="latitude" type="mof:Decimal11D4d">
				<xsd:annotation>
					<xsd:documentation>The latitude of the location of the site.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="longitude" type="mof:Decimal11D4d">
				<xsd:annotation>
					<xsd:documentation>The longitude of the locationof the site.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>	
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>