You cannot create a target for an Annotation with a SpecificResource that has a string value for selector (see https://iiif.io/api/cookbook/recipe/0261-non-rectangular-commenting/ for an example)
Expected behaviour:
SpecificResource would allow the SvgSelector construct
Observed behaviour:
The selector attribute gets omitted completely when the JSON is printed
Potential bug location(s):
https://github.com/iiif-prezi/iiif-prezi3/blob/main/iiif_prezi3/skeleton.py#L97-L103
SpecificResource currently requires either AnyUrl or an AnnoSelectorItem class, neither of which has the value property required by SvgSelector
Any other comments:
It looks like this construct was added to the schema (IIIF/presentation-validator@6a3a901) but after the last skeleton regeneration - so hopefully a regeneration should fix things pretty easily.
You cannot create a target for an
Annotationwith aSpecificResourcethat has a string value forselector(see https://iiif.io/api/cookbook/recipe/0261-non-rectangular-commenting/ for an example)Expected behaviour:
SpecificResourcewould allow theSvgSelectorconstructObserved behaviour:
The selector attribute gets omitted completely when the JSON is printed
Potential bug location(s):
https://github.com/iiif-prezi/iiif-prezi3/blob/main/iiif_prezi3/skeleton.py#L97-L103
SpecificResourcecurrently requires eitherAnyUrlor anAnnoSelectorItemclass, neither of which has thevalueproperty required by SvgSelectorAny other comments:
It looks like this construct was added to the schema (IIIF/presentation-validator@6a3a901) but after the last skeleton regeneration - so hopefully a regeneration should fix things pretty easily.