<?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_actor">
	<!--Version 2.0 with corrected web address for schema -->
	<xs:include schemaLocation="midas_common.xsd"/>
	<xs:include schemaLocation="midas_temporal.xsd"/>
	<xs:annotation>
		<xs:documentation>This is the Actor Schema for the MIDAS standard, part of the FISH suite of XML schemas for the historic environment.  The Actor element is based upon the CRM concept of an individual or group and associated role.  It is designed to record all details associated with individuals or groups having some association with a monument or event.   REQUIRES MIDAS_COMMON, MIDAS_TEMPORAL . </xs:documentation>
	</xs:annotation>
	<!-- Begin /actor -->
	<xs:element name="actor">
		<xs:annotation>
			<xs:documentation>Element for recording individuals or groups.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<!-- Begin /actor/role -->
				<xs:element name="role" minOccurs="0" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Records the role(s) of the actor.</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="type"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<!-- Begin /actor/appellation (reference) -->
				<xs:group ref="midas:appellation" minOccurs="0"/>
				<!-- Begin /actor/contacts -->
				<xs:element name="contacts" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Collective element for recording multiple contacts</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<!-- Begin /actor/contacts/contact (reference) -->
							<xs:group ref="midas:contact" minOccurs="0" maxOccurs="unbounded"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<!-- Begin /actor/temporal (reference) -->
				<xs:element ref="midas:temporal" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="type"/>
		</xs:complexType>
	</xs:element>
	<!-- end /actor -->
</xs:schema>

