An initial Schematron Schema for any EAD to validate for EHRI-preprocess
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
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 according to WP17
EAD header
the EAD header contains useful information, like language of description, eadid etc.
eadid MUST contain text
eadheader MUST contain a profiledesc
eadheader MUST specify a langusage/language
did's
a did MUST have a unitid, according 17.3 and WP19
unitid's MUST be unique within one eadfile, according 17.3
a did MUST have a unittitle, according 17.3
a did MUST have at least one non-empty unittitle
unitdate's
the xsd imposes a regexp on the 'normal' attribute. the unitdate itself however is free-text.
level attribute
archdesc/c-level with @level 'otherlevel' MUST have an @otherlevel attribute describing the level
dsc with @type 'othertype' MUST have an @othertype attribute describing the type
archdesc's and c-levels
archdesc MUST have a level-attribute
language MUST contain a langcode attribute
c01 MUST have a level-attribute
c02 MUST have a level-attribute
c03 MUST have a level-attribute
c04 MUST have a level-attribute
c05 MUST have a level-attribute
c06 MUST have a level-attribute