pkp-lib
pkp-lib copied to clipboard
[OMP] Add license data to ONIX export
License information is not currently present in the ONIX export, and DOAB would like for it to be included.
DOAB suggests we use the following ONIX field(s):
DescriptiveDetail EpubLicense/EpubLicenseExpression/EpubLicenseExpressionLink or DescriptiveDetail/EpubLicense/EpubLicenseName
See ONIX documentation: https://www.editeur.org/files/ONIX%203/APPNOTE%20Describing%20Open%20Access%20monographs%20in%20ONIX%203.0%20and%203.1.pdf
This will require an update to the ONIX schema version, as the <EpubLicense> was introduced in 3.0.2 (we are using 3.0.1).
@kaitlinnewson, I would support bumping to the latest 3.0.x -- that's 3.0.8, I think. Going to 3.1 would mean a bit more consultation, but 3.0.8 should be backwards-compatible with 3.0.1.
Re: ONIX schema version bump: https://github.com/pkp/pkp-lib/issues/10086
PR ready for review, and will forward-port once approved:
- OMP 3_3_0: https://github.com/pkp/omp/pull/1650
- OMP 3_4_0: https://github.com/pkp/omp/pull/1663
- OMP main: https://github.com/pkp/omp/pull/1664
@bozana Are you able to review?
This only adds license data to the export if one of the pre-existing CC licenses is being used, and does not add custom licenses. This is because it's required to have a license name in Onix, and there is no option to enter a license name when a custom license URL is entered.
Hi @kaitlinnewson, I merged the PR for stable-3_3_0. Can you port it to other branches?
@bozana Ported and added to the list of PRs above.
All merged. Thanks a lot @kaitlinnewson! Closing...