Skip to content

Conversation

@tylerjmchugh
Copy link
Contributor

@tylerjmchugh tylerjmchugh commented Oct 21, 2025

Currently if we want to add additional licenses we need to update the GC_Open_Licenses.rdf. This however introduces an issue as that new license would also cause the record to pass validation.

This PR aims to solve this issue by checking for Open Government licenses specifically instead of checking for any license in the GC_Open_Licenses.rdf.

With these changes we can now add additional optional licenses to GC_Open_Licenses.rdf to be displayed as suggestions while still requiring at least one Open Government license.

Additionally the required licenses are set using a required-licenses variable at the top of the schematron to facilitate customization.

@ianwallen ianwallen added this to the 4.4.10 milestone Oct 24, 2025
@jodygarnett
Copy link
Member

So the challenge is then that GC_Open_Licenses.rdf ... contains licences that are not Open Government Licenses. Okay I think I can see how that makes sense.

@ianwallen ianwallen merged commit 11e211f into metadata101:4.4.x Nov 13, 2025
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

Successfully merging this pull request may close these issues.

3 participants