Last active
September 7, 2023 20:55
-
-
Save benwbrum/e82bb493e495dd16d06213440dfcd675 to your computer and use it in GitHub Desktop.
Mock-up of a v2 annotation list including OCR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": [ | |
"http://iiif.io/api/extension/text-granularity/context.json", | |
"http://iiif.io/api/presentation/2/context.json" | |
], | |
"@id": "https://iiif.archivelab.org/iiif/rbmsbk_ap2-v4_2001_V55N4$1/ocr", | |
"@type": "sc:AnnotationList", | |
"label": "OCR Text", | |
"resources": [ | |
{ | |
"@type": "oa:Annotation", | |
"motivation": "sc:painting", | |
"textGranularity": "page", | |
"on": "https://iiif.archivelab.org/iiif/books/rbmsbk_ap2-v4_2001_V55N4$1/canvas", | |
"resource": { | |
"@id": "https://api.archivelab.org/books/rbmsbk_ap2-v4_2001_V55N4/pages/1/plaintext", | |
"@type": "dctypes:Text", | |
"format": "text/plain" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment