From 3772304c7ab2df9a14bb99183407530b3ee86789 Mon Sep 17 00:00:00 2001 From: minusdavid Date: Wed, 21 Mar 2018 10:08:22 +1100 Subject: [PATCH] Update annotation.rb --- lib/iiif/presentation/annotation.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/iiif/presentation/annotation.rb b/lib/iiif/presentation/annotation.rb index be464df..e218316 100644 --- a/lib/iiif/presentation/annotation.rb +++ b/lib/iiif/presentation/annotation.rb @@ -12,6 +12,7 @@ def required_keys def string_only_keys super + %w{ on } + end def abstract_resource_only_keys super + [ { key: 'resource', type: IIIF::Presentation::Resource } ]