created on 2014-10-17+02:00

An initial Schematron Schema for any EAD to validate for EHRI-preprocess

Version: 0.1

this is before any EHRI preprocess. after validating according to the ead.xsd, this establishes some rules, according to Deliverable 17.3, for ead's provided to EHRI. It may be used as a starting point for data providers.

Version History:

0.1 (2014-10-07) : Initial rules

0.2 (2014-10-17) DEFINITIONS MSCW:ADVICE MUST-WP19: mandatory for import process according to WP19 MUST-EAD: mandatory according to the EAD specification of LoC SHOULD-WP17: mandatory for description process according to WP17 SHOULD-WP19: desirable for description process according to WP19 COULD: desirable for description process to WP17

  1. EAD header
  2. did's
  3. unitdate's
  4. level attribute
  5. type attribute
  6. archdesc's and c-levels

EAD header

the EAD header contains useful information, like language of description, eadid etc.

  1. MUST-WP19: eadid MUST contain text
  2. SHOULD-WP17: eadid SHOULD contain a mainagencycode attribute
  3. MUST-WP19: eadheader MUST contain a profiledesc
  4. MUST-WP19: eadheader MUST specify a langusage
  5. SHOULD-WP17: eadheader SHOULD specify a creation
  6. COULD: eadheader COULD have a non-empty creation-date
  7. SHOULD-WP17: eadheader SHOULD specify a publisher
  8. SHOULD-WP17: a revisiondesc SHOULD have a non-empty date

did's

  1. SHOULD-WP17: a did SHOULD have a unitdate, according 17.3
  2. COULD: unitdates COULD have a label, describing the type of date, according 17.3
  3. SHOULD-WP17: a did SHOULD have a non-empty physdesc-extent, according to 17.3
  4. MUST-WP19: a did MUST have a unitid, according 17.3 and WP19
  5. SHOULD-WP17: a did SHOULD have a unittitle, according 17.3
  6. MUST-WP19: a did MUST have at least one non-empty unittitle
  7. MUST-WP19: unitid's MUST be unique within one eadfile, according 17.3
  8. SHOULD-WP17: a unitid SHOULD not be empty

unitdate's

the xsd imposes a regexp on the 'normal' attribute. the unitdate itself however is free-text.

  1. SHOULD-WP17: unitdate SHOULD be non-empty or have a non-empty @normal attribute
  2. SHOULD-WP19: unitdate SHOULD have a non-empty @normal attribute

level attribute

  1. MUST-EAD: archdesc/c-level with @level 'otherlevel' MUST have an @otherlevel attribute describing the level
  2. SHOULD-WP19: ONLY the archdesc can be fonds level
  3. SHOULD-WP19: recordgrp SHOULD be a child of another recordgrp
  4. SHOULD-WP19: subgrp SHOULD be a child of another subgrp or a recordgrp
  5. SHOULD-WP19: subseries SHOULD be a child of another subseries or a series

type attribute

TYPE – required? (according to the LoC DTD information, this is not required, however they state in their text that it is required.)

  1. MUST-EAD: dsc MUST have a @type attribute

  1. MUST-EAD: dsc with @type 'othertype' MUST have an @othertype attribute describing the type

archdesc's and c-levels

  1. MUST-WP19: archdesc MUST have a level-attribute
  2. COULD: archdesc COULD have a non-empty origination
  3. SHOULD-WP17: archdesc-processinfo SHOULD have a date
  4. SHOULD-WP17: archdesc-level SHOULD be 'fonds', 'recordgrp', 'collection' or 'otherlevel'
  5. COULD: archdesc COULD have a langmaterial
  6. COULD: archdesc COULD have a custodhist
  7. COULD: archdesc COULD have an otherfindaid
  8. COULD: archdesc COULD have an originalsloc
  9. COULD: archdesc COULD have an altformavail
  10. COULD: archdesc COULD have a bibliography
  11. COULD: archdesc COULD have an odd
  12. COULD: archdesc COULD have a note
  13. COULD: archdesc COULD have a scopecontent
  14. COULD: archdesc COULD have a controlaccess
  15. COULD: controlaccess COULD have a subject
  16. COULD: controlaccess COULD have a place
  17. COULD: controlaccess COULD have a persname
  18. COULD: controlaccess COULD have an orgname
  19. SHOULD-WP17: archdesc SHOULD have a non-empty processinfo
  20. SHOULD-WP17: archdesc SHOULD have a non-empty processinfo-date
  21. MUST-WP19: language MUST contain a langcode attribute
  22. SHOULD-WP17: language SHOULD contain a scriptcode attribute
  23. MUST-WP19: c01 MUST have a level-attribute
  24. MUST-WP19: c02 MUST have a level-attribute
  25. MUST-WP19: c03 MUST have a level-attribute
  26. MUST-WP19: c04 MUST have a level-attribute
  27. MUST-WP19: c05 MUST have a level-attribute
  28. MUST-WP19: c06 MUST have a level-attribute