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

Add provider and add properties #8

Open
mathewjordan opened this issue Oct 25, 2022 · 3 comments
Open

Add provider and add properties #8

mathewjordan opened this issue Oct 25, 2022 · 3 comments

Comments

@mathewjordan
Copy link
Member

Hey Stephen,

Currently it seems the best way to add provider is to append after a resource is built and converted to 3.0.

The nature of provider https://iiif.io/api/presentation/3.0/#provider is interesting. Should both Collections, Manifests, and Canvases be able to have an addProvider function? Understanding the structure of provider is a bit heavy with label, homepage, logo, and seeAlso, this might be less than easy.

Best,
Mat

@adamjarling
Copy link
Member

@stephenwf Same here, we're up for helping out with this issue and have it planned into our work Northwestern cycle.

@stephenwf
Copy link
Member

A dedicated provider helper sounds very useful. I think the provider can be on any resource, so would fit nicely into the BaseEntityBuilder I think.

@stephenwf
Copy link
Member

@adamjarling @mathewjordan I've added some extra documentation to the README for how the builders work internally
https://github.com/stephenwf/iiif-builder/blob/main/README.md#baseentitybuilder

If there is anything unclear, please let me know!

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

3 participants