<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns = "http://www.ddb.de/LMER"
	 targetNamespace = "http://www.ddb.de/LMER"
	 xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
	 xmlns:lmerObject = "http://www.ddb.de/LMERobject"
	 xmlns:lmerProcess = "http://www.ddb.de/LMERprocess"
	 xmlns:lmerFile = "http://www.ddb.de/LMERfile"
	 xmlns:lmerModification = "http://www.ddb.de/LMERmodification"
	 xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
	 version = "1.2"
	 elementFormDefault = "qualified"
	 xsi:schemaLocation = "http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd">
	<xsd:import namespace = "http://www.ddb.de/LMERobject" schemaLocation = "lmer-object.xsd"/>
	<xsd:import namespace = "http://www.ddb.de/LMERprocess" schemaLocation = "lmer-process.xsd"/>
	<xsd:import namespace = "http://www.ddb.de/LMERfile" schemaLocation = "lmer-file.xsd"/>
	<xsd:import namespace = "http://www.ddb.de/LMERmodification" schemaLocation = "lmer-modification.xsd"/>

	<!-- LMER: Long-term preservation Metadata for Electronic Resources -->
	<!-- Copyright 2005 Die Deutsche Bibliothek -->

	<xsd:element name = "lmer">
		<xsd:annotation>
			<xsd:documentation xml:lang = "de">LMER - Langzeitarchivierungsmetadaten fÃ¼r elektronische Ressourcen</xsd:documentation>
			<xsd:documentation xml:lang = "en">LMER - Long-term preservation Metadata for Electronic Resources</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name = "object" type = "objectType" minOccurs = "0"/>
				<xsd:element name = "modification" type = "modificationType" minOccurs = "0" maxOccurs = "unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name = "objectType">
		<xsd:sequence>
			<xsd:element ref = "lmerObject:objectIdentifier" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:name" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:persistentIdentifier" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:transferURL" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:transferFormat" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerObject:transferMimeType" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:transferChecksum" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerObject:groupIdentifier" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerObject:objectVersion" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:masterCreationDate" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:metadataCreationDate" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:metadataRecordCreator" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:startFile" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:numberOfFiles"/>
			<xsd:element ref = "lmerObject:status" minOccurs = "0"/>
			<xsd:element ref = "lmerObject:comments" minOccurs = "0"/>
			<xsd:element name = "process" type = "processType" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element name = "file" type = "fileType" minOccurs = "0" maxOccurs = "unbounded"/>
		</xsd:sequence>
		<xsd:attribute name = "ID" type = "xsd:ID"/>
	</xsd:complexType>
	<xsd:complexType name = "processType">
		<xsd:sequence>
			<xsd:element ref = "lmerProcess:oldMetadataRecordCreator" minOccurs = "0"/>
			<xsd:element ref = "lmerProcess:oldObjectIdentifier" minOccurs = "0"/>
			<xsd:element ref = "lmerProcess:oldObjectVersion" minOccurs = "0"/>
			<xsd:element ref = "lmerProcess:purpose"/>
			<xsd:element ref = "lmerProcess:processCreator"/>
			<xsd:element ref = "lmerProcess:permission" minOccurs = "0"/>
			<xsd:element ref = "lmerProcess:permissionDate" minOccurs = "0"/>
			<xsd:element ref = "lmerProcess:steps"/>
			<xsd:element ref = "lmerProcess:result"/>
			<xsd:element ref = "lmerProcess:completionDate"/>
			<xsd:element ref = "lmerProcess:comments" minOccurs = "0"/>
		</xsd:sequence>
		<xsd:attribute name = "ID" type = "xsd:ID"/>
	</xsd:complexType>
	<xsd:complexType name = "fileType">
		<xsd:sequence>
			<xsd:element ref = "lmerFile:fileIdentifier"/>
			<xsd:element ref = "lmerFile:path" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:name"/>
			<xsd:element ref = "lmerFile:size" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:fileDateTime" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:fileChecksum" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerFile:mimeType" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:format" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerFile:formatInfos" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerFile:creatorApplication" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:viewerApplication" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:linkedTo" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element ref = "lmerFile:comments" minOccurs = "0"/>
			<xsd:element ref = "lmerFile:category"/>
			<xsd:element ref = "lmerFile:xmlData" minOccurs = "0" maxOccurs = "unbounded"/>
			<xsd:element name = "process" type = "processType" minOccurs = "0" maxOccurs = "unbounded"/>
		</xsd:sequence>
		<xsd:attribute name = "ID" type = "xsd:ID"/>
	</xsd:complexType>
	<xsd:complexType name = "modificationType">
		<xsd:sequence>
			<xsd:element ref = "lmerModification:modifier"/>
			<xsd:element ref = "lmerModification:dateTime"/>
			<xsd:element ref = "lmerModification:fieldModified"/>
			<xsd:element ref = "lmerModification:data"/>
			<xsd:element ref = "lmerModification:comments" minOccurs = "0"/>
		</xsd:sequence>
		<xsd:attribute name = "ID" type = "xsd:ID"/>
	</xsd:complexType>
</xsd:schema>
