Created
March 13, 2023 12:32
-
-
Save benwbrum/5d96d1af0e46edca86455dc6688f0d35 to your computer and use it in GitHub Desktop.
Mockup of OCR Text as annotations on a IIIF v2 manifest
This file contains hidden or 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/presentation/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388/manifest.json", | |
"@type":"sc:Manifest", | |
"attribution":"The Internet Archive", | |
"description":"[18--]: Ballads | 19th century | Judgement Day | Death | Religion", | |
"label":"Can newydd sef myfyrdod ar farwolaeth, ac er anogaeth i bawb ystyried eu diwedd : Cenir ar y dôn Fechan, [gan] Richard Williams a'i cânt", | |
"logo":"https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcReMN4l9cgu_qb1OwflFeyfHcjp8aUfVNSJ9ynk2IfuHwW1I4mDSw", | |
"metadata":[ | |
{ | |
"label":"title", | |
"value":"Can newydd sef myfyrdod ar farwolaeth, ac er anogaeth i bawb ystyried eu diwedd : Cenir ar y dôn Fechan, [gan] Richard Williams a'i cânt" | |
}, | |
{ | |
"label":"publisher", | |
"value":"Abertawy: E. Griffiths arg" | |
}, | |
{ | |
"label":"subject", | |
"value":"Welsh ballads" | |
}, | |
{ | |
"label":"contributor", | |
"value":"Special Collections and Archives, Cardiff University" | |
}, | |
{ | |
"label":"creator", | |
"value":"Williams, Richard (Dic Dywyll), 1790?-1862?" | |
} | |
], | |
"related":"http://archive.org/details/wg35-2-388", | |
"seeAlso":"http://archive.org/metadata/wg35-2-388", | |
"sequences":[ | |
{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388/canvas/default", | |
"@type":"sc:Sequence", | |
"canvases":[ | |
{ | |
"@context":"http://iiif.io/api/presentation/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$0/canvas", | |
"@type":"sc:Canvas", | |
"description":"", | |
"height":2753, | |
"images":[ | |
{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$0/annotation", | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"on":"https://iiif.archivelab.org/iiif/wg35-2-388$0/annotation", | |
"resource":{ | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$0/full/full/0/default.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"height":2753, | |
"service":{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$0", | |
"profile":"https://iiif.io/api/image/2/profiles/level2.json" | |
}, | |
"width":1611 | |
} | |
} | |
], | |
"label":"p. ", | |
"width":1611, | |
"otherContent":[ | |
{ | |
"@type":"sc:AnnotationList", | |
"@id":"https://api.archivelab.org/books/wg35-2-388/pages/1/plaintext", | |
"label":"OCR Text", | |
"textGranularity":"page", | |
"format":"text/plain" | |
} | |
] | |
}, | |
{ | |
"@context":"http://iiif.io/api/presentation/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$1/canvas", | |
"@type":"sc:Canvas", | |
"description":"", | |
"height":2753, | |
"images":[ | |
{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$1/annotation", | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"on":"https://iiif.archivelab.org/iiif/wg35-2-388$1/annotation", | |
"resource":{ | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$1/full/full/0/default.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"height":2753, | |
"service":{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$1", | |
"profile":"https://iiif.io/api/image/2/profiles/level2.json" | |
}, | |
"width":1611 | |
} | |
} | |
], | |
"label":"p. ", | |
"width":1611, | |
"otherContent":[ | |
{ | |
"@type":"sc:AnnotationList", | |
"@id":"https://api.archivelab.org/books/wg35-2-388/pages/2/plaintext", | |
"label":"OCR Text", | |
"textGranularity":"page", | |
"format":"text/plain" | |
} | |
] | |
}, | |
{ | |
"@context":"http://iiif.io/api/presentation/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$2/canvas", | |
"@type":"sc:Canvas", | |
"description":"", | |
"height":2753, | |
"images":[ | |
{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$2/annotation", | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"on":"https://iiif.archivelab.org/iiif/wg35-2-388$2/annotation", | |
"resource":{ | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$2/full/full/0/default.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"height":2753, | |
"service":{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$2", | |
"profile":"https://iiif.io/api/image/2/profiles/level2.json" | |
}, | |
"width":1611 | |
} | |
} | |
], | |
"label":"p. ", | |
"width":1611, | |
"otherContent":[ | |
{ | |
"@type":"sc:AnnotationList", | |
"@id":"https://api.archivelab.org/books/wg35-2-388/pages/3/plaintext", | |
"label":"OCR Text", | |
"textGranularity":"page", | |
"format":"text/plain" | |
} | |
] | |
}, | |
{ | |
"@context":"http://iiif.io/api/presentation/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$3/canvas", | |
"@type":"sc:Canvas", | |
"description":"", | |
"height":2753, | |
"images":[ | |
{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$3/annotation", | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"on":"https://iiif.archivelab.org/iiif/wg35-2-388$3/annotation", | |
"resource":{ | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$3/full/full/0/default.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"height":2753, | |
"service":{ | |
"@context":"http://iiif.io/api/image/2/context.json", | |
"@id":"https://iiif.archivelab.org/iiif/wg35-2-388$3", | |
"profile":"https://iiif.io/api/image/2/profiles/level2.json" | |
}, | |
"width":1611 | |
} | |
} | |
], | |
"label":"p. ", | |
"width":1611, | |
"otherContent":[ | |
{ | |
"@type":"sc:AnnotationList", | |
"@id":"https://api.archivelab.org/books/wg35-2-388/pages/4/plaintext", | |
"label":"OCR Text", | |
"textGranularity":"page", | |
"format":"text/plain" | |
} | |
] | |
} | |
], | |
"label":"default" | |
} | |
], | |
"thumbnail":{ | |
"@id":"https://ia601805.us.archive.org/BookReader/BookReaderPreview.php?id=wg35-2-388\u0026subPrefix=wg35-2-388\u0026itemPath=/7/items/wg35-2-388\u0026server=ia601805.us.archive.org\u0026page=preview\u0026" | |
}, | |
"viewingHint":"paged" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment