<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generated on 28.Sep.2003 10:28 by Diversity Information Model Documenter 2.5 (G. Hagedorn) -->
<xsd:schema
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns="http://www.DiversityCampus.net/schema/DiversityResources"
  targetNamespace="http://www.DiversityCampus.net/schema/DiversityResources"
  version="1.1"
>
<xsd:annotation>
<xsd:documentation xml:lang="en">Diversity Workbench: Schema for DiversityResources, version '1.1'.<br />Document last revised on 28.Sep.2003 10:28<br />Copyright 2001-2002 G. Hagedorn. All rights reserved.<br />Suggestions how to correct or improve the schema are welcome!</xsd:documentation>
</xsd:annotation>

<xsd:simpleType name="string80">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="80" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string255">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string20">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="20" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string100">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="100" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string1">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="1" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string50">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="50" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string2">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="2" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string10">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="10" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string65">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="65" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string15">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="15" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="string25">
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="25" />
  </xsd:restriction>
</xsd:simpleType>


<xsd:simpleType name="int_minExclusive0_maxExclusive2147483647">
  <xsd:restriction base="xsd:int">
    <xsd:minExclusive value="0" />
    <xsd:maxExclusive value="2147483647" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="int_minInclusive0_maxInclusive200">
  <xsd:restriction base="xsd:int">
    <xsd:minInclusive value="0" />
    <xsd:maxInclusive value="200" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="int_NonNegative">
  <xsd:restriction base="xsd:int">
    <xsd:minInclusive value="0" />
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="int_minExclusive-2">
  <xsd:restriction base="xsd:int">
    <xsd:minExclusive value="-2" />
  </xsd:restriction>
</xsd:simpleType>



<xsd:complexType name="ResourceCollection">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Defines common properties for a set of related information resources of various quality levels. A collection is defined by management (managing users, storage locations, etc.). Compare 'Presentation' for thematic collections!</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceCollectionID" type="int_minExclusive0_maxExclusive2147483647" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Resource collection ID, unique system generated value (primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string80" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique user readable title, identifying the resource collection. Example: 'Ascochyta images from Melnik (1977)'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="xsd:string" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Short description of the resource collection, ca. a single paragraph long. Basic xhtml formatting tags are permitted.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Coverage" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The extent or scope of the content of the resource. Coverage will typically include spatial location (e.g. a place name), temporal period (a period label, date, or date range) or taxonomic group [DC 1.1!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Authors" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A list of authors displayed on the title page of the entire collection. Authors or editors of a collection need not be identical with resource managers, or creators of resources.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Editors" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A list of editors displayed on the title page of the entire collection. The creators of a resource collection can decide whether they are Authors or Editors, but at least one of the two must be used.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Contributors" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A list of contributors displayed on the title page of the entire collection.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceDescription" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Where applicable, a general description of the source or origin of the resources covered in the current collection. Compare SourceReferenceID if source is a publication.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceReferenceID" type="string20" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">For resources that are present in published sources: the reference ID as defined in a bibliographic reference manager like DiversityReferences (RefID, foreign key). Example: 'ABE_1990_MPL' for figures from a book recorded under this ID.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceRefDescriptionCache" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A readable description (author, year, etc.) corresponding to SourceReferenceID, automatically updated from the reference management subsystem.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="AcknowledgementID" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Refers to an acknowledgement definition that documents source and intellectual property rights, and provides a formatted acknowledgement (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Rights" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">If not already covered by acknowledgment: documentation of copyright or usage agreements, including dates and the name of the responsible person or institution with which an agreement was reached.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternalNotes" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal notes and remarks. Not published in public reports.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconURI" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">URI of a icon or logo, usually a small gif file that can be displayed next to the collection title.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconLinkURI" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A URI that may optionally be placed behind the collection icon, to create a hyperlink to another site on the world-wide-web.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconLinkHidden" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">True = no link border around icon image (default); False = a colored link border is added around icon image.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconDescription" type="string100" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Text used for the alternative text of the image; usually this text is also displayed when the mouse hovers over the image.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconWidth" type="int_minInclusive0_maxInclusive200" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Width of image in pixels (improves speed with which html pages can be displayed). Set to 0 if no width is available.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IconHeight" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Height of image in pixels (improves speed with which html pages can be displayed). Set to 0 if no height is available.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ReleaseDate" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A date which may be up to 1 year in the future to prevent public access to the resource collection prior to this date (set by the managers of the collection).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ReleaseNotes" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Required whenever ReleaseDate postpones the public release: Documentation of the motives for the postponement, and name of responsible user (esp. if multiple collection managers exist).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ManagedContent" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">True: the organization hosting the DiversityResources metadata management application is also legally responsible for the server from which the resource content is provided. Editable only by site managers, not by resource collection managers!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialControl" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">True if editorial control is required (always necessary for managed content). Editable only by site managers, not by resource collection managers! If set to false, EditorialReleaseBy/When are updated to document decisions.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialControlDelegated" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Default is false = only site managers can set EditorialRelease, if true EditorialRelease can be set by all managers of the resource collection. Editable only by site managers, not by resource collection managers!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialControlDocumentation" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">If EditorialControl is false or EditorialControlDelegated true, a documentation about the rejection or delegation is required. In the case of a delegation the responsibility must accepted a signed paper or agreement by email exchange should be cited.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialControlSetBy" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The responsible site manager who delegated the editorial control. Editable only by site managers, not by resource collection managers!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialControlSetWhen" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Date/time when the EditorialControl was delegated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialReleaseBy" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The editorial review mechanism guarantees that no unwanted information is presented on the website. Important for images uploaded by external users. Editability depends on EditorialControlDelegated attribute.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EditorialReleaseWhen" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Date/time up to which the all resources in the collection have been reviewed and found suitable for public release. Instances added at a later date are automatically prevented from being available in the internet. Editability like EditorialReleaseBy.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_LastTestWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The data and time when the last routine availability check of all resource instances of this collection was performed. Compare also CheckAvailability_LastTestWhen of individual resource instances.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_Interval" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The number of days after which a routine availability check of all resource instances shall be performed. Set to 999999 to disable routine test.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IsTemplate" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">True for templates used to create a new resource collection together with the relevant resource classes. System attribute, not user editable, default is false.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created. Also serves as publication date of the collection (use of ReleaseDate is not indicated, may later be changed to temporarily lock the collection).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceCollectionManager">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">A resource manager defines one or several persons that manage a ResourceCollection. Multiple resource managers can share the management responsibility equally, but no prioritization is yet possible.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceCollectionID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of the resource collection (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ManagingUserID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of user who may manages the resource information in the resource collection (foreign key, referring to DiversityUsers.UserID).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceQualityClass">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Quality classes contains instances of abstract items. Defined separately for each resource collection, but collectively for all providers. Examples of quality classes are preview or thumbnail versions, compressed versions, or high quality versions.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceCollectionID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Refers to a resource collection (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="QualityLevel" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A quality level for this resource class resources, as defined in RscQualityLevel_Enum (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="OnlineAvailability" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Online availability scope (managers, login, intranet, internet) of resource instances of this quality class (also restricted by ItemOnlineAvailability of abstract item!).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RequestAvailability" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Availabilty scope of meta information (description, keywords); access information (URI) is available only on explicit request by electronic or postal means  (also restricted by ItemRequestAvailability of abstract item!).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Part2" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional string, inserted between URI_Part1 (see ResourceProvider) and the individual resource name URI_Part3 (see ResourceAbstractItem).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Part4" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional string, appended to the individual resource name (URL_Part3). This may be part of the filename + quality-level typical extension, e.g. '_thumbn.gif.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RecommendedPresentation" type="string1" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Recommended presentation mode (Link, New-window-link, Download, Embed). The web interface may either follow the recommendation or implement its own rules.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="AutoGenerateMethodID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Defines a method used to automatically generate instances for this class based on another resource class (usually of higher quality level). ID = 0 disables autogeneration.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternalNotes" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal notes regarding this quality version of the resource (history of editing, steps taken to generate this version, compression rate, etc.).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who updated this record the last time.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceProvider">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Defines providers (primary/backup mirror/load balancing mirrors, online/offline status, etc.) of the content of a resource collection.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceCollectionID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Refers to a resource collection (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ProviderOrder" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Number defining the order in which mirrored backup providers are accessed. Unique within a ResourceCollection (part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Status" type="string1" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Defines status as: Online primary location, Online load balancing, Online backup/mirror, Offline backup.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Part1" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The first part of the URI, before the variable part defined in the individual resource. It should include protocol, server, and beginning of path. Example: 'http://www.example.net/images'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Part1_Write" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">An alternative version of the first part of the URI, allowing write access (e.g. for updating mirrors or autogenerating instances). Example: 'user:pass@ftp://www.example.net/images'. URI_Part1 may rarely allow write access, URI_Part_Write always does.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternalNotes" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal notes and remarks.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who updated this record the last time.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceAbstractItem">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">The abstract resource item defines general information that applies to all duplicates or quality versions of a resource .</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="int_minExclusive0_maxExclusive2147483647" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique system generated value (primary key). Resource ID is a public ID. It may be stored outside of DiversityResources and should therefore not be changed after creation.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ResourceCollectionID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Each resource belongs to a single resource collection (foreign key). The res. collection supplies general information not present in each item.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Part3" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The part of the URI that is specific to the abstract resource item (applicable to all quality instances of the item). Inserted between the optional Class attributes URI_Part2 &amp; Part4. Example: 'figure13.gif'. Required even if URI_ManualOverride is used.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ItemOnlineAvailability" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Online availability scope (managers, login, intranet, internet) of resource instances of this abstract item (also restricted by OnlineAvailability of resource class!).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ItemRequestAvailability" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Availabilty scope of meta information (description, keywords); access information (URI) is available only on explicit request by electronic or postal means  (also restricted by RequestAvailability of resource class!).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="NumberingCategory" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">For reports where the resource will be embedded in another document: Defines a numbering sequence category (fig., tab., etc.) to be used.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LinkAssociatedIcon" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional for hyperlinks: Complete URI of an icon that shall be displayed in addition to the text link (e.g. icon of a online journal, computer application, etc.).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="UpdateStatus" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The update status (normal, new, updated) of a resource can be defined; this can be used to automatically add appropriate icons to alert users to changes.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceReferenceID" type="string20" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">For resources from published sources: the reference ID as defined in a bibliographic reference manager like DiversityReferences (RefID, foreign key). Compare also ResourceCollection.SourceReferenceID!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceRefDescriptionCache" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A readable description (author, year, etc.) corresponding to SourceReferenceID, automatically updated from the reference management subsystem.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceDetail" type="string50" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Information how to locate original information in source, esp. page numbers. Do not add 'page' or 'p.'  for page numbers (incl. roman numbers) -- Specimen/culture collections: accession number or storage location code.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceLabel" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">An identifier code used in the source from which a digitized resource is derived. This may, e. g. be the slide number of a digitized slide, or the page and figure number in a publication.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceOrder" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">For resources from published sources: An ascending number reflecting the sequence of resources in the source.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SourceCaption" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The full, unchanged text of the original caption of the resource in the source, esp. in the case of images (if resource has fragments/parts, the captions of all fragments are entered here).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RatingCountCache" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The number of times this item was rated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RatingAverageCache" type="xsd:float" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The average rating score as obtained by averaging all values in ResourceAbstractItem_Rating for this abstract item.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_ParentResourceID" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: if the current resource is a modified version derived from another resource available in the system, this points to the original resource (ResourceID foreign key) [** not implemented, prepared for future versions**]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IsTemplate" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Defines a template for new abstract items. Default is false, should be true only a single time within each collection. A template may already include dependent records for descriptions, taxa, and keywords.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who updated this record the last time.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceAbstractItem_Rating">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Individual rating scores of abstract item (relating to content, not presentation quality!).</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="int_minExclusive0_maxExclusive2147483647" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique system generated value (primary key). Resource ID is a public ID. It may be stored outside of DiversityResources and should therefore not be changed after creation.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="EntryDate" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Time when the rating was entered.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Rating" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A numerical rating value.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RatingComment" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">An optional comment associated with a rating.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RatingID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal unique primary key number.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceDescription">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Description of an entire resource (or an optional resource fragment). The entity combines the description and the resource fragment definition, which could also be modeled in a 1:1 relationship.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of external resource to which this description applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentID" type="int_NonNegative" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A number that is unique within a resource ID, identifying the resource fragment. Use '0' for entire resource. The FragmentID is used by external modules to identify a resource fragment and should therefore not be changed after creation.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentLabel" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">For fragments of resources: label identifying resource part, fragment, or component (e.g. figures in a composite image labeled a, b, etc.; tracks on audio resources, etc.). Use description like 'top', 'left side', etc. for unlabeled parts!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentStart" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: Definition in technical units of the start of this part of a multipart resource. Empty for entire resource! Use percent of height/width for images (not pixel, they are quality dependent!), seconds for audio/video, bookmark-code for text, etc.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentEnd" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: Definition in technical units of the end of this part of a multipart resource. Empty for entire resource! Compare FragmentStart for examples of technical units.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Creator" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: Author(s), photographer, director, etc. Person(s) or institution(s) responsible for the creation of the abstract resource item (not of the instance, e.g. a scan of an image). [DC11!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CreationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Creation date (optionally also time) of the original resource. For digitized resources this should refer to the original creation (of the abstract item, e.g. when picture was drawn or photographed), not the digitization process.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CreationMetadata" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: additional information regarding the creation process, e.g. image lens, scale, exposure time, etc.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Rights" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: Information about rights (copyright, intellectual property) held in and over the resource. Enter esp. name of person or institution holding the copyright. Leave empty if unknown or if rights are globally described in resource collection. [DC11!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Language" type="string2" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Language of the resource itself. Empty = not yet analysed; hyphen ('-') = language neutral (e.g. images without text). Compare also language of resource title or description meta data under DescriptionTranslation. 2 letter ISO code of language  [DC 1.1!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternalNotes" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal notes, applying to the entire resource or parts of the resource. Visible only to managers of the resource collection.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created this record.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogCreatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was created.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who updated this record the last time.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceDescriptionTranslation">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Defines language specific, translatable elements associated with a resource item. The web interface supports any language for which the language or audience specific elements have been defined for the requested resource items.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of external resource to which this description applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentID" type="int_NonNegative" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of fragment ('0' for entire resource) to which the display element applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Language" type="string2" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Language of the current title, description, keywords, etc. (i.e. language of meta data to the resource object; the language of the resource itself is defined in xxx). 2 letter ISO code of language  [DC 1.1!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A title for the resource item, esp. used as link text if hyperlink to resource is created. If possible, the title should be unique within a resource collection (not enforced!) [DC 1.1!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Short description of the entire resource, primarily intended for use in hyperlink lists. Basic xhtml character formatting tags may be used. If no separate Caption is used, this is also used as caption for embedded resources  [DC 1.1!]</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Caption" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional: If Description does not already provides an adequate caption for embedded resource display, a caption may be defined here. Basic xhtml formatting tags may be used. For images: the measurement scale (example: 'bar=10 &#181;m') should be included here.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="DisplayOrderOverride" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Normally the attribute is empty and resources are sorted by title. If filled, used to sort resources in a presentation. Example: 'The Area of New York' shall be sorted under 'New York''. Numbers are sorted as text, i.e. '10'&lt;'9', use '09', '10'!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="DisplayOrderCache" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Computed field, set to DisplayOrderOverride if present, otherwise to Title. The cache is introduced to allow indexing and fast sorting.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created/updated the keyword.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceKeyword">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Resource management subsystem: Keywords (general keywords applicable to the entire resource, not taxon-specific).</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of external resource to which the keyword applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentID" type="int_NonNegative" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of fragment ('0' for entire resource) to which the keyword applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Keyword" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A keyword, including subject headings or private markers. A keyword entry may consist of multiple words or phrases (e. g. 'red herring').</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created/updated the keyword.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceTaxon">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Defines organism names, features or characteristics of the organism, and topics (nomenclature, description, distribution, etc.) covered.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of external resource to which the taxon applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FragmentID" type="int_NonNegative" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of fragment ('0' for entire resource) to which the taxon applies (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal number providing a primary key. A combined primary key would be ResourceID, FragmentID, and either TaxonomicName or VernacularName (one of which must be filled). Such an alternative use of fields is, however, not possible in a primary key.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="TaxonomicName" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Scientific name of taxon (if possible include authors). Any name can be entered, regardless of whether it is present in taxonomy or not.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="VernacularName" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Non-scientific name of organism (e.g. 'white fir') or non-taxonomic name ('conifer', 'hardwood').</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="NomID" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique ID code of the taxon. Refers to the NomID code of TaxonomyName (= foreign key) in the database DiversityTaxonomy.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IdentificationQualifier" type="string10" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Qualification of the identification e.g. 'cf.', 'aff.', 'sp. nov.'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IdentificationResponsible" type="string50" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">'ORIGINAL' = according to original description (e.g. publication), else name of person responsible for a later identification.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="FeatureList" type="xsd:string" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Semicolon-separated list of features of the taxon, e.g. 'ascomata; asci; ascospores; germination'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_TopicNomenclature" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">*** All fields starting with underscore are present only as a reminder, not yet decided upon!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_TopicDescription" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">0 = not covered (or negligible), 1 = partly covered, 2 = primary topic of resource.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_TopicGeography" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">0 = not covered (or negligible), 1 = partly covered, 2 = primary topic of resource.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_TopicPhylogeny" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">0 = not covered (or negligible), 1 = partly covered, 2 = primary topic of resource.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_IDQuality" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">*** assessment of identification quality?</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_IDQualityResponsible" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">*** person responsible for setting IDQuality?</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedBy" type="xsd:int" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The user who created/updated this record the last time.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="ResourceInstance">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Resource instances define attributes that apply to a specific quality instance of an abstract information resource. Inherits information from collection, abstract item, provider, and quality class.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ResourceID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID of external resource to which this association applies (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ResourceCollectionID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Refers to a resource collection (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ProviderOrder" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Refers to one of possible several resource providers within a resource collection (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="QualityLevel" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A quality level for this resource class resources, as defined in RscQualityLevel_Enum (foreign key and part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_ManualOverride" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">If this attribute is filled with a complete URI, it is directly used, ignoring URI_Part1 to URI_Part4.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="URI_Cache" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The complete URI address. If URI_ManualOverride is empty, it is generated from URI_Part1 to URI_Part4 (for digital resources that are available online).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="OnlineAvailabilityCache" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">(calculated value; = Min(Class.OnlineAvailability, ItemOnlineAvailability) AND current date &gt; Collection.ReleaseDate AND (Collection.EditorialReleaseWhen (date) &gt; Instance creation date OR Not EditorialControl)).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="RequestAvailabilityCache" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">(calculated value; = Min(Class.RequestAvailability, ItemRequestAvailability) AND current date &gt; Collection.ReleaseDate AND (Collection.EditorialReleaseWhen (date) &gt; Instance creation date OR Not EditorialControl)).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_LastResult" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The result of the last availability test (set by a link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_LastStatusCode" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Http status code of last availability test as defined in RFC 2616; contains 0 if status code not applicable (e. g. non-http request) or not evaluated (set by a link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_LastTestWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time the availability was last tested (set by a link checking program). A standard testing cycle might retest every 3-6 days. The date is no longer updated when instance is deactivated.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_LastSuccessWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when the availability test result was positive the last time (set by a link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_Deactivated" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Automatically deactivated if LastResult is negative and LastSuccessWhen more than 14 days ago (set by a link checking program). Date and time when the resource instance was deactivated can be found in CheckAvailability_LastTestWhen.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_Attempts" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The total number of availability tests since the last ResetWhen (set by a link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_Failures" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The total number of failed availability tests since the last ResetWhen (set by a link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CheckAvailability_ResetWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Date and time when the attributes Attempts and Failures were last reset to 0 (automatically set by the reset routine of the link checking program).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="MediaTypeID" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Media type according to MIME, refers to RscMediaType_Enum (foreign key). May be determined based on information in http requests or using recognized file extension (compare RscMediaTypeExtension_Enum). 0 indicates an unknown media type.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ContentLength" type="int_minExclusive-2" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Size of resource in bytes: file size or content length of download stream. The information is used to add size indications to links, helping resource consumers to make appropriate choices. The value is -1 if the size is unknown.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LastModified" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Last-Modified date obtained during resource request (e. g. from http-header). Used to identify updated instances and update attributes that can be automatically obtained (e.g. size, pixel, etc.).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgPixelHeight" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional for images: The height/width in pixel; esp. used for internet presentations; pages can be displayed better if height is known before the image is fully loaded. The value is 0 if the height is not available.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgPixelWidth" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional for images: The height/width in pixel; esp. used for internet presentations; pages can be displayed better if height is known before the image is fully loaded. The value is 0 if the width is not available.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgColorDepth" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional for images: The color depth in bits/pixel. The value is 0 if the color depth is not available.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LogUpdatedWhen" type="xsd:dateTime" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The date and time when this record was last updated. The creation time is not recorded, since instance records are automatically created and deleted with item, provider, or quality class records.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscAutoGenerateMethod_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Definitions how to create automatically generate instances for resource quality classes based on other classes.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="AutoGenerateMethodID" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique ID for the autogeneration method (primary key). The method with ID=0 is special, it defines &quot;autogeneration is disabled&quot;.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string65" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">User readable, short and unique description of autogeneration method.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgPixelExtension" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Maximum extension (height or width) of autogenerated images in pixel. The other dimension will be scaled so that the aspect ratio remains constant. AutoGeneratePixelHeight/Width should both be 0.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgPixelHeight" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Height of autogenerated images in pixel. Enter 0 to keep aspect ratio of the image and resize based on width. AutoGeneratePixelExtension should be = 0 if used.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgPixelWidth" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Width of autogenerated images in pixel. Enter 0 to keep aspect ratio of the image and resize based on heigth. AutoGeneratePixelExtension should be = 0 if used.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgCropping" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Border around the original image in percent to be cropped, cropping occurs before reducing the size as requested in ImgPixelExtension/Height/Width. In a 1000x500 pixel image, ImgCropping=10 will leave 900 x 450 pixel after cropping (5% left, 5% right).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgColorDepth" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">If autogeneration is requested: The color depth in bits/pixel. The value 0 indicates that the color depth shall remain unchanged.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ImgGrayscale" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">True if image shall be gray-scale.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_Format" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Destination format for resource instance (currently as file extension, may later be changed to MIME types) // Not used, format is already defined in URI-components through file extension!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_Compression" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Compression factor for compression algorithms causing information loss. PROBLEM: unclear how to define for all formats!</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternalNotes" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Internal notes regarding this quality version of the resource (history of editing, steps taken to generate this version, compression rate, etc.).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscHTTP11StatusCode_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Contains definitions of http status codes as defined in RFC 2616. Used in the context of the Availability Check (ResourceInstance) to report messages.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="Code" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Code number according to internet standard RFC 2616.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="CodeText" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Short title.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Category" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Heading or category.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="TechnicalDescriptionRFC2616" type="xsd:string" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Full text of description.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscMediaType_CompleteImported">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">Temporary table, documenting possible MIME media types. Not all media types should be made available in the system!</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="ID" type="xsd:int" minOccurs="1" maxOccurs="1" />

  <xsd:element name="Type" type="string255" minOccurs="0" maxOccurs="1" />

  <xsd:element name="Subtype" type="string255" minOccurs="0" maxOccurs="1" />

  <xsd:element name="Description" type="string255" minOccurs="0" maxOccurs="1" />

  <xsd:element name="Used" type="xsd:boolean" minOccurs="0" maxOccurs="1" />

  <xsd:element name="DoNotUse" type="xsd:boolean" minOccurs="0" maxOccurs="1" />

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscMediaType_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide enumeration of resource media types, according to MIME (rfc 2046; e.g. file format image/gif).</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="MediaTypeID" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique internal ID number for a media type.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="MediaType" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Media type according to MIME (rfc 2046; e.g. file format: image/gif).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Description of the media type, displayed in user interface.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_WebCompatible" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">The quality level is compatible with current internet browsers.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_HtmlEmbeddableImage" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Resources of this format can be embedded in html files using the html image tag.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_HtmlEmbeddableText" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Resources of this format can be embedded in html files directly (header/body less html resources designed to be included elsewhere).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscMediaTypeExtension_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide definition of file extensions to be recognized as a media type (e.g. '.gif' for image/gif).</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="RecognizedFileExtension" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">File extension recognized for a media type.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="MediaTypeID" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID number of media type (foreign key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscMediaTypeIcon_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide enumeration of generic icon images for resource media types (file formats), optionally quality level dependent.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="MediaTypeID" type="xsd:short" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">ID number of media type (foreign key + 1st part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="QualityLevel" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">A quality level as defined in RscQualityLevel_Enum (foreign key + 2nd part of primary key).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SmallIconURI" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Complete URI of icon image used to symbolize all resource instances of this quality level. Different quality levels may have the same or different icons.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SmallIconWidth" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Width of small icon image in pixel.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="SmallIconHeight" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Height of small icon image in pixel.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LargeIconURI" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Like SmallIconURI, but for a larger icon size.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LargeIconWidth" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Width of large icon image in pixel.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LargeIconHeight" type="xsd:unsignedByte" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Height of large icon image in pixel.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscPresentationMode_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide enumeration of possible presentation modes (link, embedded, etc.).</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="Mode" type="string1" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique 1 letter code defining a presentation mode (primary key). Code values are fixed and may be directly evaluated by applications.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string65" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">User readable, unique title for presentation mode.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional additional description of presentation mode.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="DisplayOrder" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Display order / sequence.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscProviderStatus_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide enumeration of provider status, used in ResourceProvider.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="Status" type="string1" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique 1 letter code defining a provider status (primary key). Code values are fixed and may be directly evaluated by applications.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string65" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">User readable, unique title for provider status.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="string255" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Optional additional description of provider status.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="AccessType" type="string15" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">'Internet', 'LAN', 'offline storage'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="IsOnline" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Is the provider available online?</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="InternetAccess" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">In the provider available on the Internet?</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="LoadBalancing" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Is the access load shared between multiple providers?</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="ContentMaster" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">This provider provides the original resource version, from which backup or load balancing mirrors may be updated (if they are present).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="DisplayOrder" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Display order / sequence.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>

<xsd:complexType name="RscQualityLevel_Enum">
  <xsd:annotation>
  <xsd:documentation xml:lang="en">System wide enumeration of quality levels, used in ResourceQualityClass.</xsd:documentation>
  </xsd:annotation>
<xsd:all>

  <xsd:element name="QualityLevel" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Unique ID for the quality level (primary key). A higher level indicates a higher quality.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Abbreviation" type="string25" minOccurs="0" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Short abbreviated description of the quality level, may displayed in the user interface.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Title" type="string65" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">User readable, unique title for quality level, e.g. 'original version' or 'modified'; for images: 'full resolution', 'default compressed', or 'thumbnail image'.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="Description" type="string255" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Additional description of quality level.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_PresentationDefault" type="string1" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Default for recommended presentation mode (Link, New-window-link, Download, Embed) of new ResourceQualityClass records based on this quality level.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_ImageAutoGenerateDefault" type="xsd:int" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Default for recommended method to automatically generate instances for ResourceClasses of this quality level (currently only for images).</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_Abridged" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Information in this quality level is abridged, e.g. thumbnail image preview, or short preview video sequences.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

  <xsd:element name="_Internal" type="xsd:boolean" minOccurs="1" maxOccurs="1">
   <xsd:annotation>
   <xsd:documentation xml:lang="en">Information of this quality level is normally not intended for public use, esp. original scans, internal backup copies, etc.</xsd:documentation>
   </xsd:annotation>
  </xsd:element>

</xsd:all>
</xsd:complexType>



<xsd:element name="DiversityResources">
 <xsd:annotation>
 <xsd:documentation xml:lang="en">(potential root element for the namespace of current database subsystem)</xsd:documentation>
 </xsd:annotation>
<xsd:complexType>
  <xsd:choice minOccurs="0" maxOccurs="unbounded">

<xsd:element name="ResourceCollection" type="ResourceCollection">
  <xsd:key name="ResourceCollectionResourceCollectionIDKey">
    <xsd:selector xpath="ResourceCollection" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:key>
  <xsd:unique name="ResourceCollectionTitleUnique">
    <xsd:selector xpath="ResourceCollection" />
    <xsd:field xpath="Title" />
  </xsd:unique>
  <xsd:unique name="ResourceCollectionAuthorsUnique">
    <xsd:selector xpath="ResourceCollection" />
    <xsd:field xpath="Authors" />
  </xsd:unique>
  <xsd:unique name="ResourceCollectionEditorsUnique">
    <xsd:selector xpath="ResourceCollection" />
    <xsd:field xpath="Editors" />
  </xsd:unique>
  <xsd:keyref name="ResourceAbstractItemResourceCollectionIDKeyRef" refer="ResourceCollectionResourceCollectionIDKey">
    <xsd:selector xpath="ResourceAbstractItem" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceCollectionManagerResourceCollectionIDKeyRef" refer="ResourceCollectionResourceCollectionIDKey">
    <xsd:selector xpath="ResourceCollectionManager" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceProviderResourceCollectionIDKeyRef" refer="ResourceCollectionResourceCollectionIDKey">
    <xsd:selector xpath="ResourceProvider" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceQualityClassResourceCollectionIDKeyRef" refer="ResourceCollectionResourceCollectionIDKey">
    <xsd:selector xpath="ResourceQualityClass" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceCollectionManager" type="ResourceCollectionManager" />

<xsd:element name="ResourceQualityClass" type="ResourceQualityClass">
  <xsd:keyref name="ResourceInstanceResourceCollectionID_QualityLevelKeyRef" refer="ResourceQualityClassResourceCollectionID_QualityLevelKey">
    <xsd:selector xpath="ResourceInstance" />
    <xsd:field xpath="ResourceCollectionID" />
    <xsd:field xpath="QualityLevel" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceProvider" type="ResourceProvider">
  <xsd:keyref name="ResourceQualityClassResourceCollectionIDKeyRef" refer="ResourceProviderResourceCollectionIDKey">
    <xsd:selector xpath="ResourceQualityClass" />
    <xsd:field xpath="ResourceCollectionID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceInstanceResourceCollectionID_ProviderOrderKeyRef" refer="ResourceProviderResourceCollectionID_ProviderOrderKey">
    <xsd:selector xpath="ResourceInstance" />
    <xsd:field xpath="ResourceCollectionID" />
    <xsd:field xpath="ProviderOrder" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceAbstractItem" type="ResourceAbstractItem">
  <xsd:key name="ResourceAbstractItemResourceIDKey">
    <xsd:selector xpath="ResourceAbstractItem" />
    <xsd:field xpath="ResourceID" />
  </xsd:key>
  <xsd:keyref name="ResourceAbstractItem_RatingResourceIDKeyRef" refer="ResourceAbstractItemResourceIDKey">
    <xsd:selector xpath="ResourceAbstractItem_Rating" />
    <xsd:field xpath="ResourceID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceDescriptionResourceIDKeyRef" refer="ResourceAbstractItemResourceIDKey">
    <xsd:selector xpath="ResourceDescription" />
    <xsd:field xpath="ResourceID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceInstanceResourceIDKeyRef" refer="ResourceAbstractItemResourceIDKey">
    <xsd:selector xpath="ResourceInstance" />
    <xsd:field xpath="ResourceID" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceAbstractItem_Rating" type="ResourceAbstractItem_Rating">
  <xsd:key name="ResourceAbstractItem_RatingRatingIDKey">
    <xsd:selector xpath="ResourceAbstractItem_Rating" />
    <xsd:field xpath="RatingID" />
  </xsd:key>
</xsd:element>


<xsd:element name="ResourceDescription" type="ResourceDescription">
  <xsd:keyref name="ResourceDescriptionTranslationResourceID_FragmentIDKeyRef" refer="ResourceDescriptionResourceID_FragmentIDKey">
    <xsd:selector xpath="ResourceDescriptionTranslation" />
    <xsd:field xpath="ResourceID" />
    <xsd:field xpath="FragmentID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceDisplayElementResourceID_FragmentIDKeyRef" refer="ResourceDescriptionResourceID_FragmentIDKey">
    <xsd:selector xpath="ResourceDisplayElement" />
    <xsd:field xpath="ResourceID" />
    <xsd:field xpath="FragmentID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceKeywordResourceID_FragmentIDKeyRef" refer="ResourceDescriptionResourceID_FragmentIDKey">
    <xsd:selector xpath="ResourceKeyword" />
    <xsd:field xpath="ResourceID" />
    <xsd:field xpath="FragmentID" />
  </xsd:keyref>
  <xsd:keyref name="ResourceTaxonResourceID_FragmentIDKeyRef" refer="ResourceDescriptionResourceID_FragmentIDKey">
    <xsd:selector xpath="ResourceTaxon" />
    <xsd:field xpath="ResourceID" />
    <xsd:field xpath="FragmentID" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceDescriptionTranslation" type="ResourceDescriptionTranslation">
  <xsd:keyref name="ResourceTaxonResourceID_FragmentIDKeyRef" refer="ResourceDescriptionTranslationResourceID_FragmentIDKey">
    <xsd:selector xpath="ResourceTaxon" />
    <xsd:field xpath="ResourceID" />
    <xsd:field xpath="FragmentID" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="ResourceKeyword" type="ResourceKeyword" />

<xsd:element name="ResourceTaxon" type="ResourceTaxon">
  <xsd:key name="ResourceTaxonRecordIDKey">
    <xsd:selector xpath="ResourceTaxon" />
    <xsd:field xpath="RecordID" />
  </xsd:key>
</xsd:element>


<xsd:element name="ResourceInstance" type="ResourceInstance" />

<xsd:element name="RscAutoGenerateMethod_Enum" type="RscAutoGenerateMethod_Enum">
  <xsd:key name="RscAutoGenerateMethod_EnumAutoGenerateMethodIDKey">
    <xsd:selector xpath="RscAutoGenerateMethod_Enum" />
    <xsd:field xpath="AutoGenerateMethodID" />
  </xsd:key>
  <xsd:unique name="RscAutoGenerateMethod_EnumTitleUnique">
    <xsd:selector xpath="RscAutoGenerateMethod_Enum" />
    <xsd:field xpath="Title" />
  </xsd:unique>
  <xsd:keyref name="ResourceQualityClassAutoGenerateMethodIDKeyRef" refer="RscAutoGenerateMethod_EnumAutoGenerateMethodIDKey">
    <xsd:selector xpath="ResourceQualityClass" />
    <xsd:field xpath="AutoGenerateMethodID" />
  </xsd:keyref>
  <xsd:keyref name="RscQualityLevel_Enum_ImageAutoGenerateDefaultKeyRef" refer="RscAutoGenerateMethod_EnumAutoGenerateMethodIDKey">
    <xsd:selector xpath="RscQualityLevel_Enum" />
    <xsd:field xpath="_ImageAutoGenerateDefault" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="RscHTTP11StatusCode_Enum" type="RscHTTP11StatusCode_Enum">
  <xsd:key name="RscHTTP11StatusCode_EnumCodeKey">
    <xsd:selector xpath="RscHTTP11StatusCode_Enum" />
    <xsd:field xpath="Code" />
  </xsd:key>
</xsd:element>


<xsd:element name="RscMediaType_CompleteImported" type="RscMediaType_CompleteImported">
  <xsd:key name="RscMediaType_CompleteImportedIDKey">
    <xsd:selector xpath="RscMediaType_CompleteImported" />
    <xsd:field xpath="ID" />
  </xsd:key>
</xsd:element>


<xsd:element name="RscMediaType_Enum" type="RscMediaType_Enum">
  <xsd:key name="RscMediaType_EnumMediaTypeIDKey">
    <xsd:selector xpath="RscMediaType_Enum" />
    <xsd:field xpath="MediaTypeID" />
  </xsd:key>
  <xsd:keyref name="ResourceInstanceMediaTypeIDKeyRef" refer="RscMediaType_EnumMediaTypeIDKey">
    <xsd:selector xpath="ResourceInstance" />
    <xsd:field xpath="MediaTypeID" />
  </xsd:keyref>
  <xsd:keyref name="RscMediaTypeExtension_EnumMediaTypeIDKeyRef" refer="RscMediaType_EnumMediaTypeIDKey">
    <xsd:selector xpath="RscMediaTypeExtension_Enum" />
    <xsd:field xpath="MediaTypeID" />
  </xsd:keyref>
  <xsd:keyref name="RscMediaTypeIcon_EnumMediaTypeIDKeyRef" refer="RscMediaType_EnumMediaTypeIDKey">
    <xsd:selector xpath="RscMediaTypeIcon_Enum" />
    <xsd:field xpath="MediaTypeID" />
  </xsd:keyref>
</xsd:element>


<xsd:element name="RscMediaTypeExtension_Enum" type="RscMediaTypeExtension_Enum">
  <xsd:key name="RscMediaTypeExtension_EnumRecognizedFileExtensionKey">
    <xsd:selector xpath="RscMediaTypeExtension_Enum" />
    <xsd:field xpath="RecognizedFileExtension" />
  </xsd:key>
</xsd:element>


<xsd:element name="RscMediaTypeIcon_Enum" type="RscMediaTypeIcon_Enum" />

<xsd:element name="RscPresentationMode_Enum" type="RscPresentationMode_Enum">
  <xsd:key name="RscPresentationMode_EnumModeKey">
    <xsd:selector xpath="RscPresentationMode_Enum" />
    <xsd:field xpath="Mode" />
  </xsd:key>
  <xsd:unique name="RscPresentationMode_EnumTitleUnique">
    <xsd:selector xpath="RscPresentationMode_Enum" />
    <xsd:field xpath="Title" />
  </xsd:unique>
</xsd:element>


<xsd:element name="RscProviderStatus_Enum" type="RscProviderStatus_Enum">
  <xsd:key name="RscProviderStatus_EnumStatusKey">
    <xsd:selector xpath="RscProviderStatus_Enum" />
    <xsd:field xpath="Status" />
  </xsd:key>
  <xsd:unique name="RscProviderStatus_EnumTitleUnique">
    <xsd:selector xpath="RscProviderStatus_Enum" />
    <xsd:field xpath="Title" />
  </xsd:unique>
</xsd:element>


<xsd:element name="RscQualityLevel_Enum" type="RscQualityLevel_Enum">
  <xsd:key name="RscQualityLevel_EnumQualityLevelKey">
    <xsd:selector xpath="RscQualityLevel_Enum" />
    <xsd:field xpath="QualityLevel" />
  </xsd:key>
  <xsd:unique name="RscQualityLevel_EnumTitleUnique">
    <xsd:selector xpath="RscQualityLevel_Enum" />
    <xsd:field xpath="Title" />
  </xsd:unique>
  <xsd:keyref name="ResourceQualityClassQualityLevelKeyRef" refer="RscQualityLevel_EnumQualityLevelKey">
    <xsd:selector xpath="ResourceQualityClass" />
    <xsd:field xpath="QualityLevel" />
  </xsd:keyref>
  <xsd:keyref name="RscMediaTypeIcon_EnumQualityLevelKeyRef" refer="RscQualityLevel_EnumQualityLevelKey">
    <xsd:selector xpath="RscMediaTypeIcon_Enum" />
    <xsd:field xpath="QualityLevel" />
  </xsd:keyref>
</xsd:element>

  </xsd:choice>
</xsd:complexType>
</xsd:element>

</xsd:schema>