-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
At the moment the OpenAPI search operations do not contain any JSON-LD context.
I plan to create a JSON-LD context with paging elements using approach done in IIIF
https://iiif.io/api/search/2.0/
It is based on https://www.w3.org/ns/activitystreams# vocabulary.
(see response examples and context in https://iiif.io/api/search/2.0/#responses
Idea is to :
- create a separated search context json file to map json fields (meta, count, page, page_size, results...).
- use id and type the same way.
context : "https://w3id.org/skg-if/context/1.0.1/skg-if.json" + search context
"id": "https://example.org/service/manifest/search?q=bird&motivation=painting",
"type": "AnnotationPage", ( as:OrderedCollection )
we could keep this search context file in api github repository and also mapped in w3id.org
Is this approach ok ?
@essepuntato, @andremann
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
