ArchivesPortalEuropeFoundation / EAG2012

Maintenance of EAG2012, the Encoded Archival Guide for describing institutions with archival holdings
5 stars 1 forks source link

[Major revision] Updates to <timetable> and its sub-elements #138

Open kerstarno opened 1 year ago

kerstarno commented 1 year ago

Provide a general summary of the issue in the Title above. Delete the part of the issue template that does not apply depending on whether you describe a change to an existing element / attribute or the addition of a new one.

Creator of issue

State your name, organisation and ways to reach you. Name: Kerstin Arnold Organisation: Archives Portal Europe Foundation, Working Group on Standards Email: standards@archivesportaleurope.net GitHub username (if applicable): @kerstarno

Changes to existing element / attribute

Give the current name of the element / attribute. Include the tag name and the full name. Name: <timetable>, <opening>, <closing>

Change in context

List all parent elements to which the element / attribute should be added. Furthermore, list all parent elements from which the element / attribute should be removed.

Remove from

Parent element(s): remove <timetable> from <repository>

Add to

Parent element(s): add <timetable> to <description>

Change in availability

For elements, give an indication of their changed availability within each affected parent element ("1..1" for required but not repeatable, "1 (or another number)..n" for required and repeatable, "0..1" for optional but not repeatable", "0..n" for optional and repeatable). For added attributes, indicate their changed availability with "1" for required or "0" for optional within each affected parent element. Changed availability:

Change in content model (elements)

List all sub-elements and attributes that should be removed from or added to the element's content model.

Remove

Attributes (with default values, if applicable):

kerstarno commented 1 year ago

For conversion, the current encoding

<timetable>
  <opening xml:lang="[language of opening1]" source="[source of opening1]" href="[link for opening1]">opening1</opening>
  <opening xml:lang="[language of opening2]" source="[source of opening2]" href="[link for opening2]">opening2</opening>
  <closing xml:lang="[language of closing1]" source="[source of closing1]" standardDate="YYYY-MM-DD">closing1</closing>
  <closing xml:lang="[language of closing2]" source="[source of closing2]" standardDate="YYYY-MM-DD">closing2</closing>
</timetable>

becomes

<control>
  [...]
  <sources>
    <source id="source1">
      <reference>source of opening1</reference>
    </source>
    <source id="source2">
      <reference>source of opening2</reference>
    </source>
    <source id="source3">
      <reference>source of closing1</reference>
    </source>
    <source id="source4">
      <reference>source of closing2</reference>
    </source>
  </sources>
  [...]
</control>
[...]
<timetable>
  <opening languageOfElement="[language of opening1]" sourceReference="#source1" href="[link for opening1]">opening1</opening>
  <opening languageOfElement="[language of opening2]" sourceReference="#source2" href="[link for opening2]">opening2</opening>
  <closing languageOfElement="[language of closing1]" sourceReference="#source3">closing1</closing>
  <closing languageOfElement="[language of closing2]" sourceReference="#source4">closing2</closing>
</timetable>