Record Metadata Schema

Introduction

The Record Metadata Schema is designed to convey metadata about individual records, for example the time they were last modified or their size. This schema reflects the SRW record metadata index set.

Schema Element Guide

The schema itself is available here. The target namespace for the schema is: http://srw.o-r-g.org/schemas/rec/1.0/
For people who would rather read a DTD, one is available.

size

The size of the record, in bytes.

id

A single local identifier for the record within the database, equivalent to the ID attribute in XML.

lang

A single language used in the record description, equivalent to the LANG attribute in XML.

within

A single structure within which the record exists in the database. Examples include a directory, file or name of an SQL table.

score

The relevance score generated for the record when a relevance ranked search is performed. This has no equivalent in the record metadata index set, but is appropriate for use when the 'relevant' relation modifier is used.

modifiableBy

A single agent which is able to modify the record.

history

A wrapper element which contains the modification history of the record.

created

The ISO-XXXX compliant time stamp at which the record was created.

createdBy

The agent which created the record.

modification

A wrapper element to keep associated 'modified' and 'modifiedBy' elements together.

modified

A time stamp at which the record was modified.

modifiedBy

The agent which modified the record at the given time stamp.

lastModified

The time stamp for when the record was last modified.

lastModifiedBy

The agent which last modified the record.

Example

An example of the use of the RMS:


<record>
  <size>51200</size>
  <score>100</score>
  <id>3</id>
  <lang>en</lang>
  <within>DATA/hub/liverpool/</within>
  <modifiableBy>azaroth</modifiableBy>
  <history>
    <created>2002-12-09T12:00:00</created>
    <createdBy>azaroth</createdBy>
    <modification>
      <modified>2002-12-09T12:10:00</modified>
      <modifiedBy>azaroth</modifiedBy>
    </modification>
    <lastModified>2002-12-09T12:30:00</lastModified>
    <lastModifiedBy>azaroth</lastModifiedBy>  
  </history>
</record>