IIIF/presentation-validator

Validator does not check for motivation of painting in annotations referenced in items

markpbaggett opened this issue · 1 comments

Today I noticed that there was a change to Recipe 219. One of the changes was that the caption switched its motivation to supplementing, and the annotation was moved from the items property to annotations. This second part caught me by surprise as it was different to what we did for our A/V (here is an example).

In an effort to figure out why the property change, I talked to some others and was pointed to 5.3 of the Presentation specification:

Content that is to be rendered as part of the Canvas must be associated by an Annotation that has the motivation value painting. These Annotations are recorded in the items of one or more Annotation Pages, referred to in the items array of the Canvas. Annotations that do not have the motivation value painting must not be in pages referenced in items, but instead in the annotations property. Referenced, external Annotation Pages must have the id and type properties.

I then checked and discovered that the validator doesn't seem to test for this. If it's helpful, I will try to add this.

Thanks Mark this would be helpful if you can add it.