Difference between revisions of "METS schematron rules"
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
==amdSec== | ==amdSec== | ||
+ | |||
+ | ===techMD=== | ||
# amdSec MUST contain at least 1 techMD | # amdSec MUST contain at least 1 techMD | ||
− | # techMD | + | # techMD MUST contain 1 mdWrap with attribute MDTYPE="PREMIS:OBJECT" |
− | # techMD mdWrap element | + | # techMD mdWrap element MUST contain 1 XML namespace (<xmlns>) attribute |
− | # techMD mdWrap element | + | # techMD mdWrap element MUST contain 1 XML schema location instance (<xsi>) attribute |
− | # techMD mdWrap element | + | # techMD mdWrap element MUST contain 1 xsi:type="file" attribute |
+ | |||
+ | </br> | ||
+ | |||
+ | |||
+ | ===digiprovMD=== | ||
Revision as of 16:30, 28 May 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
- 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
- mdWrap element MUST contain 1 MDTYPE attribute
- mdWrap element MUST contain 1 xmlData element
- if MDTYPE is not OTHER, mdWrap element MUST contain 1 XML namespace (<xmlns>) attribute
- if MDTYPE is not OTHER, mdWrap element MUST contain 1 XML schema location instance (<xsi>) attribute
amdSec
techMD
- amdSec MUST contain at least 1 techMD
- techMD MUST contain 1 mdWrap with attribute MDTYPE="PREMIS:OBJECT"
- techMD mdWrap element MUST contain 1 XML namespace (<xmlns>) attribute
- techMD mdWrap element MUST contain 1 XML schema location instance (<xsi>) attribute
- techMD mdWrap element MUST contain 1 xsi:type="file" attribute
digiprovMD
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