zooniverse / iiif-annotations

A proof-of-concept, annotating a IIIF manifest with Zooniverse classification data.
https://zooniverse.github.io/iiif-annotations/README/
Apache License 2.0
4 stars 1 forks source link

Assign IDs to annotations #3

Closed eatyourgreens closed 2 years ago

eatyourgreens commented 2 years ago

Annotations are published as an array of items inside each AnnotationPage, but don't have annotation IDs at the moment.

Annotations must have their own HTTP(S) URIs, conveyed in the id property. The JSON-LD description of the Annotation should be returned if the URI is dereferenced, according to the Web Annotation Protocol.

https://iiif.io/api/presentation/3.0/#56-annotation

glenrobson commented 2 years ago

It looks like Annotation Ids are important to get them to work correctly in Mirador. See this demo:

https://glenrobson.github.io/iiif_stuff/zooniverse/with_id/

compared with annotations without ids:

https://glenrobson.github.io/iiif_stuff/zooniverse/split/

eatyourgreens commented 2 years ago

Thanks Glen. I’ll add IDs to the annotations tomorrow. It’s exciting to see the Zooniverse and BL data side-by-side in Mirador.

snblickhan commented 2 years ago

This is really cool to see, thanks Glen!

eatyourgreens commented 2 years ago

I've assigned IDs based on the project slug and item index, which should work for workflows that only have one annotation task. These should get the annotations working in Mirador.