Difference between revisions of "METS schematron rules"

From Archivematica
Jump to navigation Jump to search
Line 24: Line 24:
  
 
==fileSec==
 
==fileSec==
 +
 +
# An Archivematica AIP METS fileSec MUST contain at least 1 fileGrp element
 +
# An Archivematica AIP METS fileGrp MUST contain 1 USE attribute
 +
# An Archivematica AIP METS fileGrp MUST contain at least 1 file element
 +
# An Archivematica AIP METS file element MUST contain 1 GROUPID attribute
 +
# An Archivematica AIP METS file element MUST contain 1 ID attribute
 +
# An Archivematica AIP METS file element MAY contain 1 or more ADMID attributes
 +
# An Archivematica AIP METS file element MUST contain at least 1 Flocat element

Revision as of 14:21, 17 April 2014

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

Basic structure

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


Root element


metsHdr

  1. An Archivematica AIP METS metsHdr MUST contain 1 CREATEDATE attribute
  2. An Archivematica AIP METS metsHdr MAY contain 1 LASTMODDATE attribute


fileSec

  1. An Archivematica AIP METS fileSec MUST contain at least 1 fileGrp element
  2. An Archivematica AIP METS fileGrp MUST contain 1 USE attribute
  3. An Archivematica AIP METS fileGrp MUST contain at least 1 file element
  4. An Archivematica AIP METS file element MUST contain 1 GROUPID attribute
  5. An Archivematica AIP METS file element MUST contain 1 ID attribute
  6. An Archivematica AIP METS file element MAY contain 1 or more ADMID attributes
  7. An Archivematica AIP METS file element MUST contain at least 1 Flocat element