<?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_narrative">
	<!--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_actor.xsd"/>
	<xs:include schemaLocation="midas_meta.xsd"/>
	<xs:annotation>
		<xs:documentation>This is the Narrative (Narrative and Synthesis) Schema for the MIDAS standard, part of the FISH suite of XML schemas for the historic environment. This schema documents the output of synthesis of information and construction of narrative. Typically this is drawn from, and linked to, other entries in the information system. REQUIRES MIDAS_COMMON, MIDAS_TEMPORAL . </xs:documentation>
	</xs:annotation>
	<!-- Begin /narratives root element -->
	<xs:element name="narratives">
		<xs:annotation>
			<xs:documentation>Root narratives element.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<!-- Begin /narratives/meta (documents entire collection of designations records)-->
				<xs:element ref="midas:meta" minOccurs="0"/>
				<!-- Begin /narratives/narrative -->
				<xs:element name="narrative">
					<xs:annotation>
						<xs:documentation>Element documents the output of synthesis of information and construction of narrative.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<!-- Begin /narratives/narrative/informationsourcetitle -->
							<xs:element ref="midas:informationsourcetitle" maxOccurs="unbounded"/>
							<!-- Begin /narratives/narrative/recordmetadata (reference)-->
							<xs:group ref="midas:recordmetadata"/>
							<!-- Begin /narratives/narrative/appellation (reference) -->
							<xs:group ref="midas:appellation"/>
							<!-- Begin /narratives/narrative/description (reference)-->
							<xs:group ref="midas:description"/>
							<!-- Begin /narratives/narrative/actor (reference) -->
							<xs:element ref="midas:actor" minOccurs="0"/>
							<!-- Begin /narratives/narrative/statementofresponsibility -->
							<xs:element name="statementofresponsibility">
								<xs:annotation>
									<xs:documentation>Records Statement of Responsibility </xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /narratives/narrative/audience -->
							<xs:element name="audience" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Example: TEACHERS</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /narratives/narrative/educationallevel -->
							<xs:element name="educationallevel" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Example: LEVEL 3</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /narratives/narrative/narrativetext -->
							<xs:element name="narrativetext">
								<xs:annotation>
									<xs:documentation>Example: Did you know there used to be more than 30 abbeys all over our county? …</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /narratives/narrative/subject -->
							<xs:element name="subject" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>Example: RELIGION; HISTORY</xs:documentation>
								</xs:annotation>
							</xs:element>
							<!-- Begin /narratives/narrative/language (reference)-->
							<xs:group ref="midas:language" minOccurs="0"/>
							<!-- Begin /narratives/narrative/rightnote (reference)-->
							<xs:element ref="midas:rightnote"/>
							<!-- Begin /narratives/narrative/related (reference)-->
							<xs:group ref="midas:related" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- end /narratives -->
</xs:schema>

