You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Web Annotation Data Model describes many properties like created, creator, modified, etc. In order to avoid adding all of these to the presentation-validator's json schema, we should probably just allow extras on instances of the class.
The Web Annotation Data Model describes many properties like
created
,creator
,modified
, etc. In order to avoid adding all of these to the presentation-validator's json schema, we should probably just allow extras on instances of the class.Expected behaviour:
If you create an Annotation like so:
creator
,created
, andmodified
should not be dropped.Observed behaviour:
The print statement drops the properties:
Potential bug location(s):
Easiest fix is to add:
to Annotation.
Any other comments:
Again, it seems burdensome to try to add all these possible properties to the validation schema, so this seems like a good use of
Extra.allow
.The text was updated successfully, but these errors were encountered: