Skip to content
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

Support v3 AnnotationBody Services #3

Open
christopher-johnson opened this issue Jul 23, 2018 · 0 comments
Open

Support v3 AnnotationBody Services #3

christopher-johnson opened this issue Jul 23, 2018 · 0 comments

Comments

@christopher-johnson
Copy link

Related to IIIF-Commons/manifesto#34, the current ExternalResource implementation here, does not expect an AnnotationBody to have a service as it returns the "id" by default. The method also assumes the presence of the v2.1 "images" property.

For reference, I am testing with Annotations that look like this:

{
  "id": "https://iiif.ub.uni-leipzig.de/0000005815/anno/e27bdd76-a3aa-4f5c-99a7-d3ff603718c3",
  "type": "Annotation",
  "motivation": "painting",
  "body": {
    "id": "https://iiif.ub.uni-leipzig.de/0000005815/00000451.jpg",
    "type": "Image",
    "format": "image/jpeg",
    "service": [
      {
        "id": "https://iiif.ub.uni-leipzig.de/iiif/j2k/0000/0058/0000005815/00000451.jpx",
        "type": "ImageService2",
        "profile": "level1"
      }
    ],
    "height": 5760,
    "width": 3840,
    "label": {
      "@none": [
        "2r mit Farbkeil"
      ]
    }
  },
  "target": "https://iiif.ub.uni-leipzig.de/0000005815/canvas/00000451"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant