Difference between revisions of "Metadata import"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
#*If the metadata are for compound objects, the csv file must contain a "parts" column listing the names of the directories containing the component files | #*If the metadata are for compound objects, the csv file must contain a "parts" column listing the names of the directories containing the component files | ||
#At the generate METS micro-service, Archivematica parses the metadata in ''metadata.csv'' to the METS file, as follows: | #At the generate METS micro-service, Archivematica parses the metadata in ''metadata.csv'' to the METS file, as follows: | ||
− | #*All Dublin Core elements are used to generate a | + | #*All Dublin Core elements are used to generate a dmdSec for each directory or file with MDTYPE="DC" |
− | #*All non-Dublin Core elements are used to generate a dmdSec for each directory or file with | + | #*All non-Dublin Core elements are used to generate a dmdSec for each directory or file with MDTYPE="OTHER" OTHERMDTYPE="CUSTOM" |
#*The dmdSecs are linked to their directories or files in the structMap | #*The dmdSecs are linked to their directories or files in the structMap | ||
+ | |||
+ | </br> | ||
+ | ==File-level metadata== | ||
+ | |||
+ | This section provides csv file and METS file examples for files | ||
+ | |||
+ | ===CSV file=== | ||
Revision as of 11:34, 1 October 2012
Main Page > Development > Development documentation > Metadata import
This page documents the workflow and METS content for lower-level metadata import - i.e. metadata to be attached to subdirectories and files within a SIP.
Workflow
- The user adds a csv file to the metadata folder for the transfer entitled metadata.csv
- The first row of the csv file consists of field names
- Dublin Core field names must contain the "dc" element in the name, eg "dc.title"
- Each subsequent row contains the complete set of field values for a single directory or file
- If the metadata are for compound objects, the csv file must contain a "parts" column listing the names of the directories containing the component files
- At the generate METS micro-service, Archivematica parses the metadata in metadata.csv to the METS file, as follows:
- All Dublin Core elements are used to generate a dmdSec for each directory or file with MDTYPE="DC"
- All non-Dublin Core elements are used to generate a dmdSec for each directory or file with MDTYPE="OTHER" OTHERMDTYPE="CUSTOM"
- The dmdSecs are linked to their directories or files in the structMap
File-level metadata
This section provides csv file and METS file examples for files
CSV file