DiSSCo / openDS

The home of the open Digital Specimen (openDS) specification
Apache License 2.0
16 stars 9 forks source link

Web batch annotations #93

Closed southeo closed 3 months ago

southeo commented 3 months ago

Schemas for batching web annotations

To batch request batch annotations through DiSSCover, front end sends an AnnotationEvent, which includes the annotation and batch metadata, adhering to the annotation-event-for-web schema. The contents of the annotation are not different from the non-batched annotations, but they are in an array. What's different is that we now require BatchMetadata, which contains search parameters for the batching functionality downstream.

Annotations and BatchMetadata need to be a list containing exactly one item per field.

"place in Batch" is a constant set in the backend. tom, you only need to worry about the search parameters