diff --git a/migrate/maps.py b/migrate/maps.py index 10dcba1..da86ffd 100644 --- a/migrate/maps.py +++ b/migrate/maps.py @@ -37,8 +37,9 @@ # creator/contributor roles # ! NOTE cast terms to LOWERCASE before using this map. Our metadata is inconsistent between title case and lowercase. -# MODS (uses MARC list): https://www.loc.gov/marc/relators/relaterm.html +# MODS (uses MARC list): https://www.loc.gov/marc/relators/relaterm.html | https://id.loc.gov/vocabulary/relators.html # Invenio roles: https://github.com/inveniosoftware/invenio-rdm-records/blob/master/invenio_rdm_records/fixtures/data/vocabularies/roles.yaml +# Another option: https://art-and-rare-materials-bf-ext.github.io/arm/v1.0/vocabularies/relator.html # Maps from our existing values of mods/name/role/roleTerm to terms either in the MARC relator list of the Invenio roles vocab. role_map: dict[str, str] = { # 2 FASHN items, person is creator/artist diff --git a/migrate/record.py b/migrate/record.py index fc77e10..4e1c1ee 100644 --- a/migrate/record.py +++ b/migrate/record.py @@ -267,6 +267,8 @@ def descriptions(self) -> list[dict[str, Any]]: # /api/vocabularies/descriptiontypes # types: abstract, methods, series-information, table-of-contents, technical-info, other # https://datacite-metadata-schema.readthedocs.io/en/4.5/properties/description/#a-descriptiontype + # ? do we want to define our own description types? + # One option: https://art-and-rare-materials-bf-ext.github.io/arm/v1.0/vocabularies/note_types.html desc = [] if len(self.abstracts) > 1: