<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Dorrit Gordon (private) -->
<!-- ERM Schema v1.0, release 10/14/2003-->
<!--Author: Dorrit Gordon-->
<!--Email: dorrit.gordon@seagate.com-->
<xs:schema targetNamespace="http://electronicRecordsManagement" xmlns="http://electronicRecordsManagement" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="RMA" type="RMAType">
		<xs:annotation>
			<xs:documentation>RMA System</xs:documentation>
			<xs:documentation>filePlanUnique ensures that within and RMA system, each file plan is given a unique identifier.</xs:documentation>
		</xs:annotation>
		<xs:unique name="filePlanUnique">
			<xs:selector xpath="filePlan"/>
			<xs:field xpath="@ID"/>
		</xs:unique>
	</xs:element>
	<xs:complexType name="RMAType">
		<xs:annotation>
			<xs:documentation>RMA system type.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="filePlan" type="filePlanType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1</xs:documentation>
				</xs:annotation>
				<xs:unique name="recordCategoryUnique">
					<xs:selector xpath="recordCategory"/>
					<xs:field xpath="@ID"/>
				</xs:unique>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="filePlanType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.T1</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="dispositionAuthority" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.5</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dispositionInstructions" type="dispositionInstructionsType">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="recordCategory" type="recordCategoryType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1</xs:documentation>
					<xs:documentation>recordeFolderUnique ensures that within each record category, record folders are given unique identifiers.</xs:documentation>
					<xs:documentation>recordUnique ensures that within each record category, records are given unique identifiers.</xs:documentation>
				</xs:annotation>
				<xs:unique name="recordFolderUnique">
					<xs:selector xpath="recordFolder"/>
					<xs:field xpath="@ID"/>
				</xs:unique>
				<xs:unique name="recordUnique">
					<xs:selector xpath="record"/>
					<xs:field xpath="@ID"/>
				</xs:unique>
			</xs:element>
			<xs:element name="userDefinedData" type="userDefinedDataType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.9</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:string" use="required"/>
	</xs:complexType>
	<xs:complexType name="recordCategoryType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002  C2.T1</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Name" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Description" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.3</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dispositionSchedule" type="dispositionScheduleType">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.1.</xs:documentation>
					<xs:documentation>dispositionPhaseUnique ensures that within a disposition schedule, each disposition phase is assigned a unique identifier.  Disposition phases, should, in addition, be assigned sequential identifiers.  Disposition phases should be executed in the order indicated by their identifiers starting with the phase with the smallest value for its identifier.  Assignment of sequential identifiers, and ordered execution of phases are not currently enforced by this schema.</xs:documentation>
				</xs:annotation>
				<xs:unique name="dispositionPhaseUnique">
					<xs:selector xpath="dispositionPhase"/>
					<xs:field xpath="@sequenceNumber"/>
				</xs:unique>
			</xs:element>
			<xs:element name="permanentRecordIndicator" type="xs:boolean" default="1">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.6</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vitalRecordIndicator" type="xs:boolean" default="1">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.7</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vrReviewCycle" type="vrReviewCycleType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2  6-19-2002 C2.T1.8</xs:documentation>
					<xs:documentation>Note that this field should be mandatory when vitalRecordIndicator = 1 and null otherwise.  This is currently not enforced in the schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dateCycled" type="xs:date" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.7.2</xs:documentation>
					<xs:documentation>This field should be null unless vitalRecordIndicator = 1.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="recordFolder" type="recordFolderType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="record" type="recordType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.2</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="recordFolderType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.T2</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="name" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1.1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="location" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.1.3</xs:documentation>
					<xs:documentation>If the record is stored in the RMA repository, then this field shall contain the full path to the record within the RMA system.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vitalRecordIndicator" type="xs:boolean" default="1">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T1.1.4</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vrReviewCycle" type="vrReviewCycleType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1.5</xs:documentation>
					<xs:documentation>Note that this field should be mandatory when vitalRecordIndicator = 1 and null otherwise.  This is currently not enforced in the schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dateCycled" type="xs:date" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.7.2</xs:documentation>
					<xs:documentation>This field should be null unless vitalRecordIndicator = 1.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="status">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.2.1</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Open"/>
						<xs:enumeration value="Eligible for Cutoff"/>
						<xs:enumeration value="Closed"/>
						<xs:enumeration value="Eligible for Interim Transfer"/>
						<xs:enumeration value="Eligible for Accession"/>
						<xs:enumeration value="Eligible for Destruction"/>
						<xs:enumeration value="Approved for Interim Transfer"/>
						<xs:enumeration value="Approved for Accession"/>
						<xs:enumeration value="Approved for Destruction"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="retentionStatus" type="retentionStatusType">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.4.1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="supplementalMarking" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1.6</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="record" type="recordType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 DL1.1.68</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="userDefinedData" type="userDefinedDataType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1.7</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation>DoD 5015.2 6-19-2002 C2.T2.1.2</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="recordType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.T3</xs:documentation>
			<xs:documentation>Record versioning as described in DoD 5015.2 6-19-2002 C2.2.3.20 can be accomplished using the successor, alternateRendition, version, and alternateVersion fields.  Future work on this schema should include an investigation of alternatives for improved versioning support. </xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice name="subjectOrTitle">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.3</xs:documentation>
				</xs:annotation>
				<xs:element name="Subject" type="xs:string">
					<xs:annotation>
						<xs:documentation>This field shall be used to contain the subject line from email and other correspondance or to contain a subject description for other untitled documents.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Title" type="xs:string">
					<xs:annotation>
						<xs:documentation>This field shall be used to contain the title of any document with a defined title.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<xs:element name="originator" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 Ct.T3.9</xs:documentation>
					<xs:documentation>This field may contain either the name of the author (document creator) or originator (document issuer).  The originator shall be identified by the name of a person, an official title, an office symbol or a code.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="originatingOrganization" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.12</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dateFiled" type="xs:dateTime">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 Ct.T3.6</xs:documentation>
					<xs:documentation>This field shall be automatically completed by the RMA system at the time the record is entered into the system.  This field shall not be editable by the user.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="datePublished" type="xs:date">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 Ct.T3.7</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dateReceived" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 Ct.T3.8</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="status">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Active"/>
						<xs:enumeration value="Eligible for Interim Transfer"/>
						<xs:enumeration value="Eligible for Accession"/>
						<xs:enumeration value="Eligible for Destruction"/>
						<xs:enumeration value="Approved for Interim Transfer"/>
						<xs:enumeration value="Approved for Accession"/>
						<xs:enumeration value="Approved for Destruction"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="retentionStatus" type="retentionStatusType">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.4.1</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="location" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.13</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="format" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.5</xs:documentation>
					<xs:documentation>This field shall be used to contain a description of the format in which the record is stored.  Examples of formats include: paper (may specify a particular if format e.g. Form 3120, v.2.2), MS Word 2000, VHS NTSC, Dobly Digital Audio, MS Excel v 3.2, etc.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="mediaType" type="xs:string">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.4</xs:documentation>
					<xs:documentation>This field shall be used to contain a description of the media on which the record is stored.  Examples of media types include: paper, CD-ROM, microfiche, permanent magnetic disk (hard drive), video cassette, magnetic tape, removable magentic disk (floppy disk), etc.</xs:documentation>
					<xs:documentation>Although this schema allows this field to contain an arbitrary string, implementers of RMA systems based on this schema may wish to limit the media choices available to the system's users.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="addressee" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C3.T3.10</xs:documentation>
					<xs:documentation>This field shall be mandatory for all email and other correspondence records.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="otherAddressee" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.11</xs:documentation>
					<xs:documentation>This field shall be mandatory for email and other correspondence which contain secondary addressees.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vitalRecordIndicator" type="xs:boolean" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.14</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="vrReviewCycle" type="vrReviewCycleType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.15</xs:documentation>
					<xs:documentation>Note that this field should be mandatory when vitalRecordIndicator = 1 and null otherwise.  This is currently not enforced in the schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dateCycled" type="xs:date" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.7.2</xs:documentation>
					<xs:documentation>This field should be null unless vitalRecordIndicator = 1.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="version" type="xs:string" default="1">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.20</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="successor" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.18</xs:documentation>
					<xs:documentation>The RMA system shall ensure that this field contains the ID of a record which exists in the RMA system.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="alternateVersion" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.20</xs:documentation>
					<xs:documentation>The RMA system shall ensure that this field contains the ID of a record which exists in the system</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="alternateRendition" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.19</xs:documentation>
					<xs:documentation>The RMA system shall ensure that this field contains the ID of a record which exists in the system.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="relatedRecord" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.17</xs:documentation>
					<xs:documentation>The RMA system shall ensure that this field contains the ID of a record which exists in the RMA system.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="supportingInformation" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.3.17</xs:documentation>
					<xs:documentation>This field shall contain text data consisting of actual supporting data or a description of the location of the supporting data (e.g. a URL).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="supplementalMarking" type="xs:string" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.2</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="userDefinedData" type="userDefinedDataType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.16</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:string" use="required">
			<xs:annotation>
				<xs:documentation>DoD 5015.2 6-19-2002 C2.T3.1</xs:documentation>
			</xs:annotation>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="vrReviewCycleType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 DL1.1.95</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="fixedDate" type="fixedDateType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the record or records with which this field is associated should next be reviewed and updated on the date contained in this field.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="periodic" type="durationType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the record or records with which this field is associated should be reviewed on a periodic basis as defined by this field.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="dispositionInstructionsType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 DL1.1.33</xs:documentation>
			<xs:documentation>It is unlcear from DoD 5015.2 6-19-2002 whether disposition instructions serve any purpose other than to associate disposition schedules with record categories.  If disposition instructions contain no other data, then it not necessary to have a specific field for disposition instructions.  A list of record categories and their associated disposition schedules can be easily generated from the record categories themselves.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="categorySchedulePair" type="cateogrySchedulePairType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Each instance of this element identifies a record category, and the disposition schedule which applies to that record category.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="cateogrySchedulePairType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.1</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="recordCategory" type="xs:string">
				<xs:annotation>
					<xs:documentation>This field should contain the ID of a record category which exists in the file plan to which this categorySchedulePair belongs.  Currently this requirement is not enforced by this schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="dispositionSchedule" type="xs:string">
				<xs:annotation>
					<xs:documentation>This field should contain the ID of the dispositionSchedule which belongs to the record category identified by the recordCategory field in this categorySchedulePair.  Currently this requirements is not enforced by this schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="dispositionScheduleType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.1</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="dispositionPhase" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.2</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="dispositionPhaseType">
							<xs:attribute name="sequenceNumber" type="xs:positiveInteger" use="required">
								<xs:annotation>
									<xs:documentation>This attribute is used to identify the order in which the disposition phases within a particular disposition schedule occur.</xs:documentation>
								</xs:annotation>
							</xs:attribute>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:string" use="required"/>
	</xs:complexType>
	<xs:complexType name="dispositionPhaseType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.2</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice name="dispositionType">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.4</xs:documentation>
					<xs:documentation>This choice identifies the type of cutoff and disposition instruction, and the information required for compliance with each.</xs:documentation>
				</xs:annotation>
				<xs:element name="timeDisposition" type="timeDispositionType"/>
				<xs:element name="eventDisposition" type="eventDispositionType"/>
				<xs:element name="timeEventDisposition" type="timeEventDispositionType"/>
			</xs:choice>
			<xs:element name="dispositionAction">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.3.2</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Interim Transfer"/>
						<xs:enumeration value="Accession"/>
						<xs:enumeration value="Permanent"/>
						<xs:enumeration value="Destroy"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="toLocation" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.3.3</xs:documentation>
					<xs:documentation>Note that this field should be mandatory when dispositionAction = Interime Transfer or dispositionAction = Accession and null otherwise.  This is currently not enforced in the schema.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="timeDispositionType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.4.1</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="cutoff" type="cutoffType"/>
			<xs:element name="retentionPeriod" type="retentionPeriodType"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="eventDispositionType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.4.2</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="eventDescription" type="xs:string"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="timeEventDispositionType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.4.3</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="eventDescription" type="xs:string"/>
			<xs:element name="retentionPeriod" type="retentionPeriodType"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="cutoffType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.3</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="fixedDate" type="fixedDateType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the records in this category shall be cutoff on a particular day defined by the content of this field.  For example, if this field contains 'end of month', then records in this category shall be cutoff on the last day of the current month, and on the last day of each following month.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="duration" type="durationType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the records in this category shall be cutoff on a periodic basis as defined by the content of this field.  For example, if this field contains '7 weeks' then records in this category shall be cutoff seven weeks from the start date and every seven weeks thereafter.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="retentionPeriodType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.2.3.1</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="fixedDate" type="fixedDateType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the record is to be retained until the next occurrence of the date indicated by the content of this field.  For example, if this field indicates 'end of calendar year' then the record is eligible for disposition on December 31 of the current year.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="duration" type="durationType">
				<xs:annotation>
					<xs:documentation>Selection of this field indicates that the record is to be retained for the duration specified by the content of this field.  The start date is assumed to be the cutoff date.  For example, if this field contains '3 months' then the record is eligible for disposition 3 months from the cutoff date.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="fixedDateType">
		<xs:annotation>
			<xs:documentation>This type allows cutoff or retention periods to be defined to occur on particular days, such as end of month, end of of fiscal year, etc.</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:annotation>
				<xs:documentation>This choice allows the user to select between the end of an identifiable period (e.g. end of month), a described day within the month (e.g. first Monday), a particular date within the month (e.g. 15th of the month), a particular day within the year (e.g. March 12), or a single, fixed date.</xs:documentation>
			</xs:annotation>
			<xs:element name="endOfPeriod">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="end of week"/>
						<xs:enumeration value="end of month"/>
						<xs:enumeration value="end of calendar year"/>
						<xs:enumeration value="end of fiscal year"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="dayOfMonth" type="dayOfMonthType"/>
			<xs:element name="dateOfMonth">
				<xs:annotation>
					<xs:documentation>Date of month fixed dates are permitted to include day 1 to day 31.  For months which contain fewer than 31 days, the RMA system shall treat this date as the latest possible day which remains in the month, and which has a date less than or equal to the date contained in this field.  for example, if this field contains the value '30', then in February of a non-leap-year, the RMA system must treat this field as if it contains '28'.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:minInclusive value="1"/>
						<xs:maxInclusive value="31"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="dayOfYear" type="xs:gMonthDay"/>
			<xs:element name="date" type="xs:date"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="durationType">
		<xs:annotation>
			<xs:documentation>This type allows cutoff or retention periods to be defined to occur on a periodic basis such as every 3 months, every year, or every 10 years.</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="startDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>When this field is a component of a retention period, the RMA shall automatically set this date to the date of cutoff for the record folder.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="period" type="xs:duration"/>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="dayOfMonthType">
		<xs:annotation>
			<xs:documentation>This type allows fixed days to specified by describing a day of the month (e.g. first Monday, second Thursday, or last Friday).</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="ordinal">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="First"/>
						<xs:enumeration value="Second"/>
						<xs:enumeration value="Third"/>
						<xs:enumeration value="Fourth"/>
						<xs:enumeration value="Last"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="day">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="Monday"/>
						<xs:enumeration value="Tuesday"/>
						<xs:enumeration value="Wednesday"/>
						<xs:enumeration value="Thursday"/>
						<xs:enumeration value="Friday"/>
						<xs:enumeration value="Saturday"/>
						<xs:enumeration value="Sunday"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="retentionStatusType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.4.1</xs:documentation>
			<xs:documentation>This type allows users to specify that a folder or record has been extended or frozen, and why.</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="normal" type="xs:string" fixed="normal"/>
			<xs:element name="extended" type="extendedType"/>
			<xs:element name="frozen" type="frozenType"/>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="frozenType">
		<xs:annotation>
			<xs:documentation>Identifies that a record or folder is frozen and identifies the reason.</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="frozen" type="xs:string" fixed="frozen"/>
			<xs:element name="freezeReason" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>DoD 5015.2 6-19-2002 C2.2.6.4.2</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="extendedType">
		<xs:annotation>
			<xs:documentation>Identifies that a record or folder is extended, may indicate reason, or extension date.</xs:documentation>
		</xs:annotation>
		<xs:all>
			<xs:element name="extended" type="xs:string" fixed="extended"/>
			<xs:element name="extendReason" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>This field is not specified in DoD 5015.2 6-19-2002.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="extendUntil" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation>This field is not specified in DoD 5015.2 6-19-2002.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:all>
	</xs:complexType>
	<xs:complexType name="userDefinedDataType">
		<xs:annotation>
			<xs:documentation>DoD 5015.2 6-19-2002 DL1.1.92</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="dataFieldName" type="xs:string"/>
			<xs:element name="dataFieldValue" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:annotation>This schema implements DoD5015.2, 6/19/2002.  Except where noted, it includes all mandatory requirements which can be enforced through the XML schema; it does not address non-mandatory features such as support for metadata related to classified material.</xs:annotation>
</xs:schema>
