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

Rights value must be a string in V3, but osullivan requires an array of hashes #89

Open
seanaery opened this issue May 29, 2024 · 0 comments

Comments

@seanaery
Copy link

The IIIF Presentation API v3.0 spec states unambiguously that the rights property MUST be a string:
https://iiif.io/api/presentation/3.0/#rights

However, per the changes in this commit, osullivan currently raises an IIIF::V3::Presentation::IllegalValueError if you try to provide a string value. It will currently only validate if rights is an Array of hashes, each with an id key.

The presence of this bug makes it impossible to represent a Rights URI from CreativeCommons.org or RightsStatements.org in an osullivan-generated manifest and subsequently have it display in a viewer like Mirador.

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

1 participant