<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:midas="http://www.heritage-standards.org.uk/midas/schema/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.heritage-standards.org.uk/midas/schema/2.0" elementFormDefault="qualified" version="2.0" id="midas_area">
	<!--Version 2.0 with corrected web address for schema -->
	<xs:include schemaLocation="midas_common.xsd"/>
	<xs:include schemaLocation="midas_temporal.xsd"/>
	<xs:include schemaLocation="midas_meta.xsd"/>
	<xs:annotation>
		<xs:documentation>This is the Area Schema for the MIDAS standard, part of the FISH suite of XML schemas for the historic environment. This schema a defined area of land, urban or seascape, of significance for an understanding of the historic environment and its management.  REQUIRES MIDAS_COMMON, MIDAS_TEMPORAL .</xs:documentation>
	</xs:annotation>
	<!-- Begin /areas -->
	<xs:element name="areas">
		<xs:annotation>
			<xs:documentation>Root area element.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<!-- Begin /meta (documents entire collection of designations records)-->
				<xs:element ref="midas:meta" minOccurs="0"/>
				<!-- Begin /areas/area -->
				<xs:element name="area" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Element for recording a defined area of land, urban or seascape, of significance for an understanding of the historic environment and its management..</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<!-- Begin /area/areatype -->
							<xs:element name="areatype" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Specific type of area</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:simpleContent>
										<xs:extension base="xs:string">
											<xs:attribute name="namespace"/>
										</xs:extension>
									</xs:simpleContent>
								</xs:complexType>
							</xs:element>
							<!-- Begin /area/recordmetadata (reference)-->
							<xs:group ref="midas:recordmetadata"/>
							<!-- Begin /area/appellation (reference) -->
							<xs:group ref="midas:appellation"/>
							<!-- Begin /area/description (reference)-->
							<xs:group ref="midas:description"/>
							<!-- Begin /area/evidence -->
							<xs:element name="evidence" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Evidence on which the definition of the area is based.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /area/protectiontype -->
							<xs:element name="protectiontype" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Used where a simple flag to indicate protection is appropriate.</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /area/related (reference)-->
							<xs:group ref="midas:related" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- end /areas/area -->
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- end /areas -->
</xs:schema>

