METS schematron rules
Jump to navigation
Jump to search
Main Page > Development > Development documentation > Metadata elements > METS > METS schematron rules
Root element
- An Archivematica AIP METS file MUST contain 1 root element
- root element MUST contain 1 metsHdr
- root element MUST contain 1 fileSec
- root element MUST contain at least 1 structMap
- root element MUST contain at least 1 amdSec
- root element MAY contain 1 or more dmdSecs
metsHdr
- metsHdr MUST contain 1 CREATEDATE attribute
- metsHdr MAY contain 1 LASTMODDATE attribute
dmdSec
- dmdSec MUST contain 1 ID attribute
- dmdSec MUST contain either 1 mdRef or 1 mdWrap element
- mdRef element MUST contain 1 LABEL attribute
- mdRef element MUST contain 1 xlink attribute
- mdRef element MUST 1 MDTYPE attribute
- mdRef element MUST contain 1 LOCTYPE attribute
- if LOCYTPE attribute is OTHER, mdRef element MUST contain 1 OTHERLOCTYPE attribute
- mdRef element MAY contain 1 XPTR attribute
fileSec
- fileSec MUST contain at least 1 fileGrp element
- fileGrp MUST contain 1 USE attribute
- fileGrp MUST contain at least 1 file element
- file element MUST contain 1 GROUPID attribute
- file element MUST contain 1 ID attribute
- file element MAY contain 1 or more ADMID attributes
- file element MUST contain 1 FLocat element
- FLocat element MUST contain 1 xlink attribute
- FLocat element MUST contain 1 LOCTYPE attribute
- If FLocat LOCTYPE attribute is "OTHER", FLocat element MUST contain 1 OTHERLOCTYPE attribute
structMap
- structMap MUST have 1 ID attribute
- structMap MUST have 1 TYPE attribute
- structMap MUST have 1 LABEL attribute
- structMap MUST have 1 or more div elements
- div element MUST have 1 TYPE attribute
- div element MUST have 1 LABEL attribute
- div element MAY have 1 DMDID attribute
- if div LABEL attribute is "Item", div element MAY have 1 fptr element
- fptr element MUST have 1 FILEID attribute