Difference between revisions of "METS schematron rules"

From Archivematica
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Main Page]] > [[Development]] > [[:Category:Development documentation|Development documentation]] > [[Metadata elements]] > [[METS]] > METS schematron rules
 
[[Main Page]] > [[Development]] > [[:Category:Development documentation|Development documentation]] > [[Metadata elements]] > [[METS]] > METS schematron rules
  
==Basic structure==
+
=Archivematica AIP METS schematron rules=
  
# An Archivematica AIP METS file MUST contain 1 METS root element
+
==Root element==
# An Archivematica AIP METS file MUST contain 1 metsHdr within the root element  
+
 
# An Archivematica AIP METS file MUST contain 1 fileSec within the root element  
+
# MUST contain 1 METS root element
# An Archivematica AIP METS file MUST contain at least 1 structMap within the root element  
+
# root element MUST contain 1 metsHdr  
# An Archivematica AIP METS file MUST contain at least 1 amdSec within the root element  
+
# root element MUST contain 1 fileSec
# An Archivematica AIP METS file MAY contain 1 or more dmdSecs within the root element
+
# root element MUST contain at least 1 structMap
 +
# root element MUST contain at least 1 amdSec
 +
# root element MAY contain 1 or more dmdSecs
  
 
</br>
 
</br>
Line 18: Line 20:
 
==metsHdr==
 
==metsHdr==
  
# An Archivematica AIP METS metsHdr MUST contain 1 CREATEDATE attribute
+
# metsHdr MUST contain 1 CREATEDATE attribute
# An Archivematica AIP METS metsHdr MAY contain 1 LASTMODDATE attribute
+
# metsHdr MAY contain 1 LASTMODDATE attribute
  
 
</br>
 
</br>

Revision as of 14:30, 17 April 2014

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

Archivematica AIP METS schematron rules

Root element

  1. MUST contain 1 METS 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


Root element


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 at least 1 Flocat element