Open thehabes opened 1 year ago
Note we have a number of Cookbook recipes also using the ImageAPISelector:
Currently they are using the presentation context only but we can update to reflect what is decided.
@thehabes - it does provide a context! It's here: https://iiif.io/api/annex/openannotation/context.json. An updated version in a new location is coming soon. The PR is here: https://github.com/IIIF/api/pull/2231
The IIIF Image API supports a kind of
selector
as defined in https://iiif.io/api/annex/openannotation/#iiif-image-api-selector. It states:The annex does not offer a
context.json
file or a specific link to an ontology beyond the mention of Web Annotation and the IIIF context.The Web Annotation and IIIF Contexts are listed below.
The annex offers this table to give definition to the properties it expects to find in this format.
From which minted JSON looks like
The terms from the table listed above are all described in the IIIF Image API 2 & 3's specification body, which can be their vocabulary. The Presentation API does not list these terms. At this time, the terms in the able are not present in any IIIF API context.json file, nor are they available through Web Annotation. For example, there is no context.json entry like
An entry for the type class
ImageApiSelector
is also not present in any available context.json file.Without these context entries, there is no proper link between the actual
properties
described in the table above and their ontological reference and resulting vocabulary, even though the vocabulary can be found in multiple IIIF API documents.