SAEON / odp-server

Source code for the SAEON Open Data Platform server components.
GNU Affero General Public License v3.0
0 stars 2 forks source link

Batch update to remove invalid HasMetadata related identifiers #12

Open marksparkza opened 11 months ago

marksparkza commented 11 months ago

Implement a once-off migration to remove invalid HasMetadata related identifiers.

There are a large number of records (only in the wider SAEON catalogue, not MIMS), with:

    "relatedIdentifiers": [
        {
            "schemeType": "http://datacite.org/schema/kernel-3",
            "relationType": "HasMetadata",
            "relatedIdentifier": "http://datacite.org/schema/kernel-3",
            "relatedIdentifierType": "URL"
        }
    ]

This is an artifact of the SASDI to ODP v1 migration. It's a meaningless related identifier and the URL returns a 404.