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

Generate restricted license metadata snippets from embargo tags #13

Open marksparkza opened 10 months ago

marksparkza commented 10 months ago

Embargoes on MIMS data have previously been managed by the AMS system. With the migration of MIMS datasets from the AMS to NextCloud, the curation team will begin using ODP embargo tags to manage MIMS embargoes. [To be confirmed]

Although not yet in use, embargo tags have the effect of stripping out download links from metadata records when publishing. Going forward, embargo tags should also set the relevant license snippet in the metadata record, as follows:

"rightsList": [
    {
        "rights": "Embargoed",
        "rightsURI": "https://repository.saeon.ac.za/index.php/s/PzfgExZEQ3ysGKK",
        "schemeURI": "https://spdx.org/licenses/",
        "rightsIdentifier": "Embargoed",
        "rightsIdentifierScheme": "SPDX"
    }
],

This could possibly be done at publishing time only. Or it could be done on record create/update (as with copying the record DOI into the metadata).