Difference between revisions of "Metadata (ePistolarium)"

From XML
Jump to: navigation, search
(Add page)
 
(Clarify use of dates.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The metadata in the ePistolarium documents is contained in the <code>teiHeader</code> element. Each item is a <code>meta</code> milestone element with attributes <code>type</code> and <code>value</code>. The standard types are as follows:
 
The metadata in the ePistolarium documents is contained in the <code>teiHeader</code> element. Each item is a <code>meta</code> milestone element with attributes <code>type</code> and <code>value</code>. The standard types are as follows:
 
; uuid : the unique identifier of the letter.
 
; uuid : the unique identifier of the letter.
; correspondence : the identifier of the correspondence.
+
; correspondence : the identifier of the correspondence; required.
; id : the identifier of letter in the correspondence.
+
; id : the identifier of letter in the correspondence; required, must be unique in the correspondence.
; date : the date of writing of the letter. Values are encoded in the [http://www.loc.gov/standards/datetime/ Extended Date/Time Format] .
+
; date : the date of writing of the letter. Values are encoded in the [http://www.loc.gov/standards/datetime/ Extended Date/Time Format]. We use the Gregorian calendar, so Julian dates must be converted. Furthermore, if multiple dates are used in a letter, the last one is used because it approximates the date of sending best (ranges are used for uncertainty).
; sender : the identifier of the sender (may occur multiple times).
+
; sender : the identifier of the sender (may occur multiple times); use value "?" if unknown.
; senderloc : the identifier for the location where the letter was sent.
+
; senderloc : the identifier for the location where the letter was sent; use value "?" if unknown.
; recipient : the identifier of the recipient  (may occur multiple times).
+
; recipient : the identifier of the recipient  (may occur multiple times); use value "?" if unknown.
; recipientloc : the identifier for the location where the letter was received.
+
; recipientloc : the identifier for the location where the letter was received; use value "?" if unknown.
 +
 
 +
Each metadata item is allowed only once, except for "sender" and "recipient.
  
 
Example: https://correspondence.huygens.knaw.nl/documents/301ba075-dde3-4fa4-a82e-0c9ba668bb06
 
Example: https://correspondence.huygens.knaw.nl/documents/301ba075-dde3-4fa4-a82e-0c9ba668bb06

Latest revision as of 15:56, 15 February 2018

The metadata in the ePistolarium documents is contained in the teiHeader element. Each item is a meta milestone element with attributes type and value. The standard types are as follows:

uuid 
the unique identifier of the letter.
correspondence 
the identifier of the correspondence; required.
id 
the identifier of letter in the correspondence; required, must be unique in the correspondence.
date 
the date of writing of the letter. Values are encoded in the Extended Date/Time Format. We use the Gregorian calendar, so Julian dates must be converted. Furthermore, if multiple dates are used in a letter, the last one is used because it approximates the date of sending best (ranges are used for uncertainty).
sender 
the identifier of the sender (may occur multiple times); use value "?" if unknown.
senderloc 
the identifier for the location where the letter was sent; use value "?" if unknown.
recipient 
the identifier of the recipient (may occur multiple times); use value "?" if unknown.
recipientloc 
the identifier for the location where the letter was received; use value "?" if unknown.

Each metadata item is allowed only once, except for "sender" and "recipient.

Example: https://correspondence.huygens.knaw.nl/documents/301ba075-dde3-4fa4-a82e-0c9ba668bb06

<TEI>
<teiHeader>
<meta type="uuid" value="301ba075-dde3-4fa4-a82e-0c9ba668bb06"/>
<meta type="correspondence" value="desc004"/>
<meta type="id" value="1001"/>
<meta type="date" value="1619-01-24"/>
<meta type="sender" value="descartes.rene.1596-1650"/>
<meta type="senderloc" value="se:breda.nld"/>
<meta type="recipient" value="beeckman.isaac.1588-1637"/>
<meta type="recipientloc" value="se:middelburg.nld"/>
</teiHeader>
...