samvera / iiif_manifest

Other
10 stars 10 forks source link

Allow arbitrary service resources at the manifest level #102

Closed cjcolvar closed 1 year ago

cjcolvar commented 1 year ago

Avalon needs to add a service property to our manifests at the root manifest level to surface an annotation service for our IIIF player Ramp. There isn't a standardized spec for an annotation service so we need to be able to add custom service resources with custom properties. This PR allows a presenter to define a #service method which returns an array of hashes with service definitions which will be added to the manifest wholesale (alongside the service_service and autocomplete_service if defined).