Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CQ5: Preserve license information #5

Open
stain opened this issue Mar 11, 2024 · 2 comments
Open

CQ5: Preserve license information #5

stain opened this issue Mar 11, 2024 · 2 comments
Assignees

Comments

@stain
Copy link
Contributor

stain commented Mar 11, 2024

RO-Crate requires license to be set on the top level Dataset (and optionally on other files). See https://www.researchobject.org/ro-crate/1.1/contextual-entities.html#licensing-access-control-and-copyright

When selecting a corresponding License in Zenodo there may need to be matching by @id and/or it's name as they have a fixed list accessible from the API https://developers.zenodo.org/#licenses

A full list of known open source licenses is available in https://spdx.org/licenses and in machine-readable format in https://github.com/spdx/license-list-data -- however these assume URIs like http://spdx.org/licenses/Apache-2.0 but RO-Crate at best has https://spdx.org/licenses/Apache-2.0.html (note the subtle difference) as that is what is presented in browser.

More commonly licenses in RO-Crate may have the upstream URI like https://www.apache.org/licenses/LICENSE-2.0 or one of the Creative Commons licenses licenses.

@elichad elichad self-assigned this May 13, 2024
@stain
Copy link
Contributor Author

stain commented Jun 4, 2024

May be tricky because licenses that exist can have multiple URIs. SPDX list is bigger list than what is in Zenodo (~300). Perhaps manual testing on the few most common tests but some heuristics still needed here as there is no full mapping.

Zenodo have a list of URIs but it's not spdx so it is not automatic. May want to explore how Zenodo have done codemeta.json support in its github integration

@stain
Copy link
Contributor Author

stain commented Jul 9, 2024

Part-done but you have to be very specific. Main focus now is on ro-crate-inveniordm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants