METS schematron rules

From Archivematica
Revision as of 18:01, 17 April 2014 by Evelyn (talk | contribs)
Jump to navigation Jump to search

Main Page > Development > Development documentation > Metadata elements > METS > METS schematron rules


Root element

  1. An Archivematica AIP METS file MUST contain 1 root element
  2. root element MUST contain 1 metsHdr
  3. root element MUST contain 1 fileSec
  4. root element MUST contain at least 1 structMap
  5. root element MUST contain at least 1 amdSec
  6. root element MAY contain 1 or more dmdSecs


metsHdr

  1. metsHdr MUST contain 1 CREATEDATE attribute
  2. metsHdr MAY contain 1 LASTMODDATE attribute


fileSec

  1. fileSec MUST contain at least 1 fileGrp element
  2. fileGrp MUST contain 1 USE attribute
  3. fileGrp MUST contain at least 1 file element
  4. file element MUST contain 1 GROUPID attribute
  5. file element MUST contain 1 ID attribute
  6. file element MAY contain 1 or more ADMID attributes
  7. file element MUST contain 1 FLocat element
  8. FLocat element MUST contain 1 xlink attribute
  9. FLocat element MUST contain 1 LOCTYPE attribute
  10. If FLocat LOCTYPE attribute is "OTHER", FLocat element MUST contain 1 OTHERLOCTYPE attribute


structMap

  1. structMap MUST have 1 ID attribute
  2. structMap MUST have 1 TYPE attribute
  3. structMap MUST have 1 LABEL attribute
  4. structMap MUST have 1 or more div elements
  5. div element MUST have 1 TYPE attribute
  6. div element MUST have 1 LABEL attribute
  7. div element MAY have 1 DMDID attribute
  8. if div LABEL attribute is "Item", div element MAY have 1 fptr element
  9. fptr MUST have 1 FILEID attribute
  10. fptr element MUST have 1 FILEID attribute
  1. fptr element