pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.

Home Page:https://pkp.sfu.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[OMP] Add license data to ONIX export

asmecher opened this issue · comments

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: #10086

PR ready for review, and will forward-port once approved:

@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.

commented

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.