diff --git a/iiif_utils.py b/iiif_utils.py index 69418c964edb150ca69bfd09d8a78519f8869423..70e786090a0c21be1082ad73655ade741c58356d 100644 --- a/iiif_utils.py +++ b/iiif_utils.py @@ -72,8 +72,6 @@ def add_annotations(list_of_boundingboxes, manifest): "@type": "oa:Annotation", "motivation": "sc:painting", "resource": { - "@type": "oa:Choice", - "default": { "@type": "oa:SpecificResource", "selector": { "@type": "oa:FragmentSelector", @@ -81,8 +79,7 @@ def add_annotations(list_of_boundingboxes, manifest): }, "style": "rect", "label": "Detected figure" - } - }, + }, "on": f"{id}" } ]