| SobekCM Repository Community Help |
The first section is the METS header information. This contains information on how to validate this package. It also contains basic information about who created this METS document, and what software was used during the creation.
This METS header specifications include the following components in a METS file:
The SobekCM Identifier must appear in either the OBJECTID in the METS declaration or the ID in the metsHdr node. No other value is valid for either of these attributes in a SobekCM METS file. ( see notes and rules regarding SobekCM Identifier )
The XML declaration is required and it is recommended to have the proper encoding indicated, as this will be used by the XML reader. All standard encodings are supported, although METS files written by the system will always be written in UTF-8. Any METS files which were originally in a different encoding scheme will be converted to UTF-8.
Examples:
Immediately after the XML declaration, optional processing instructions may be included. The processing instructions are analyzed to determine if the instructions are known instructions, upon which action may need to be taken. In particular, the instructions with a name of 'fcla' and 'builder' are analyzed and parsed. Any unanalyzable processing instruction is also retained, to be included in any subsequently written METS file.
The fcla-named instructions can include pseudo-attributes of either 'dl' or 'fda'. The value of each pseudo-parameter must be either 'yes' or 'no'. These processing instructions are reserved for use by the Florida Center for Library Automation.
The builder-named instructions indicate to the SobekCM Builder which specs to use during image creation, if the main thumbnail, page thumbnails, or jpeg images need to be created during the load or post-load process. These builder-named instructions must include a type ( either 'mainthumb', 'pagethumb', or 'jpeg' ) as well as a valid width and height. The width and height provide constraints on the size of the derivative created.
Example:
The processing instructions in the example above indicate:
The METS declaration is required for a valid METS file. In addition, all references schemas should be included here. Depending on the different metadata schemes used within the body of the METS file, the included schemas will vary.
A matching closing METS tag should appear at the very bottom of the METS file.
While several additional attributes are supported by the METS element, the following attributes are used by SobekCM.
ATTRIBUTE NOTES OBJID This field should include the SobekCM Identifier for the resource. ( see notes and rules regarding SobekCM Identifier ) LABEL It is assumed that the title of the resource will be present in a bibSec for the item. When SobekCM METS files are written, the title is included in a LABEL attribute; the LABEL attribute is not read though TYPE It is assumed the the resource type will be present in a bibSec for the item. When SobekCM METS files are written, the type is included in a TYPE attribute; the TYPE attribute is not read though
Example:
The optional metsHdr section within the METS provides information about the METS document itself, such as how and when the METS file was created or edited.
If the optional ID attribute is included, it must correspond to the SobekCM Identifier and should be identical to the OBJECTID attribute on the METS element. ( see notes and rules regarding SobekCM Identifier )
The RECORDSTATUS attribute should be included for all SobekCM METS files. This status is utilized by the builder to determine the level of validation to apply, as indicated by the table below:
VALUE NOTES COMPLETE (default) All of the files mentioned in the fileSec and structMap must be included in the package, or the loading of this item will fail. PARTIAL, or
METADATA_UPDATEThe metadata must validate, but it is assumed that all files referenced in the fileSec and structMap already exist within the resource folder DELETE This special record status indicates that this is a request to delete an existing item, as indicated by the OBJECTID/ID
Various creation information can be stored in the child agent nodes, including:
Some elements within the agent tags are additionally analyzed:
Example: