Difference between revisions of "METS schematron rules"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
# metsHdr MUST contain 1 CREATEDATE attribute | # metsHdr MUST contain 1 CREATEDATE attribute | ||
# metsHdr MAY contain 1 LASTMODDATE attribute | # metsHdr MAY contain 1 LASTMODDATE attribute | ||
+ | |||
+ | </br> | ||
+ | |||
+ | ==dmdSec== | ||
+ | |||
+ | # dmdSec MUST contain 1 ID attribute | ||
+ | # dmdSec MUST contain either 1 mdRef or 1 mdWrap element | ||
</br> | </br> |
Revision as of 17:48, 21 April 2014
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
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