-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V3 annotation, annotationPage and choice object improvements #30
Conversation
|
||
def required_keys | ||
super + %w{ motivation } | ||
super + %w{ id motivation target } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing target
anywhere in the Presentation 3.0 API JSON-examples. Where does this come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annotation itself isn't in the 3.0 API; it has its own spec: http://www.openannotation.org/spec/core/ In the spec it is hasTarget
but our JSON expresses it as target
I learned about Annotations for the Triannon linked data project I did a while ago; but mostly I looked at examples -- our purl, Tom Crane's, etc.
def prohibited_keys | ||
super + CONTENT_RESOURCE_PROPERTIES + | ||
%w{ first last total nav_date viewing_direction start_canvas content_annotations } | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking through the 3.0 (alpha) spec, I couldn't find e.g. content_annotations
. I guess I must be missing something, otherwise you wouldn't have added this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contentAnnotations
is how it would appear in the spec.
I believe the individual commit messages express what this PR is about.
connected to #6