Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save benwbrum/a687fecdd4fee80617119cd5ed3d4b71 to your computer and use it in GitHub Desktop.
Save benwbrum/a687fecdd4fee80617119cd5ed3d4b71 to your computer and use it in GitHub Desktop.
Inline annotation list experiment
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://fromthepage.com/iiif/11/manifest",
"@type": "sc:Manifest",
"label": "George East to Thomas East",
"metadata": [
{
"label": "dc:source",
"value": "record 103-5"
},
{
"label": "Title",
"value": "George East to Thomas East"
},
{
"label": "Description",
"value": "Letter from George East to Thomas East"
},
{
"label": "Created On",
"value": "2010-06-10 13:53:36 UTC"
},
{
"label": "Identifier",
"value": "record 103-5"
},
{
"label": "In Scope",
"value": "true"
}
],
"description": "Letter from George East to Thomas East",
"within": {
"@type": "sc:Collection",
"label": "East Civil War Letters",
"@id": "https://fromthepage.com/iiif/collection/east-civil-war-letters"
},
"related": [
{
"format": "text/html",
"label": "Read George East to Thomas East",
"@id": "https://fromthepage.com/benwbrum/east-civil-war-letters/george-east-to-thomas-east"
},
{
"format": "text/html",
"label": "Table of Contents for George East to Thomas East",
"@id": "https://fromthepage.com/benwbrum/east-civil-war-letters/george-east-to-thomas-east/contents"
}
],
"seeAlso": [
{
"label": "Verbatim Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#verbatim-plaintext-1",
"@id": "https://fromthepage.com/iiif/11/export/plaintext/verbatim"
},
{
"label": "Emended Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#emended-plaintext",
"@id": "https://fromthepage.com/iiif/11/export/plaintext/emended"
},
{
"label": "Verbatim Translation Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#verbatim-translation-plaintext",
"@id": "https://fromthepage.com/iiif/11/export/plaintext/translation/verbatim"
},
{
"label": "Emended Translation Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#emended-translation-plaintext",
"@id": "https://fromthepage.com/iiif/11/export/plaintext/translation/emended"
},
{
"label": "Searchable Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#plaintext-for-full-text-search",
"@id": "https://fromthepage.com/iiif/11/export/plaintext/searchable"
}
],
"service": [
{
"@context": "http://www.fromthepage.org/jsonld/1/context.json",
"@id": "https://fromthepage.com/iiif/11/status",
"label": "Work Status",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#service",
"pctComplete": 100.0,
"pctTranscribed": 100.0,
"pctOcrCorrected": 0.0,
"pctIndexed": 0,
"pctMarkedBlank": 0,
"pctNeedsReview": 0,
"pctTranslationComplete": 0,
"pctTranslated": 0,
"pctTranslationNeedsReview": 0,
"pctTranslationIndexed": 0,
"pctTranslationMarkedBlank": 0,
"metadataStatus": "undescribed",
"lastUpdated": "2021-05-28 19:23:28 UTC"
}
],
"sequences": [
{
"@id": "https://fromthepage.com/iiif/11/sequence/default",
"@type": "sc:Sequence",
"label": "Pages",
"rendering": [
{
"label": "Verbatim Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#verbatim-plaintext",
"@id": "https://fromthepage.com/benwbrum/east-civil-war-letters/11/export/plaintext/verbatim"
},
{
"@id": "https://fromthepage.com/iiif/11/export/html",
"label": "XHTML Export",
"format": "text/html",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#xhtml"
},
{
"@id": "https://fromthepage.com/iiif/11/export/tei",
"label": "TEI Export",
"format": "application/tei+xml",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#tei-xml"
}
],
"canvases": [
{
"@id": "https://fromthepage.com/iiif/11/canvas/1869",
"@type": "sc:Canvas",
"label": "Envelope Front",
"width": 2943,
"height": 1733,
"images": [
{
"@id": "https://fromthepage.com/image-service/1869",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "https://fromthepage.com/image-service/1869/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"width": 2943,
"height": 1733,
"service": {
"@context": "https://iiif.io/api/image/2/context.json",
"@id": "https://fromthepage.com/image-service/1869",
"profile": "https://iiif.io/api/image/2/level1.json"
}
},
"on": "https://fromthepage.com/iiif/11/canvas/1869"
}
],
"related": [
{
"label": "Read this page",
"format": "text/html",
"@id": "https://fromthepage.com/display/display_page?page_id=1869"
},
{
"label": "Transcribe this page",
"format": "text/html",
"@id": "https://fromthepage.com/transcribe/display_page?page_id=1869"
},
{
"label": "Translate this page",
"format": "text/html",
"@id": "https://fromthepage.com/transcribe/translate?page_id=1869"
}
],
"seeAlso": [
{
"label": "HTML Transcription",
"format": "text/html",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#html-transcription",
"@id": "https://fromthepage.com/benwbrum/east-civil-war-letters/george-east-to-thomas-east/annotation/1869/html/transcription"
},
{
"label": "Searchable Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#plaintext-for-full-text-search-1",
"@id": "https://fromthepage.com/iiif/11/export/1869/plaintext/searchable"
},
{
"label": "Verbatim Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#verbatim-plaintext-2",
"@id": "https://fromthepage.com/iiif/11/export/1869/plaintext/verbatim"
},
{
"label": "Emended Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#emended-plaintext-1",
"@id": "https://fromthepage.com/iiif/11/export/1869/plaintext/emended"
}
],
"service": {
"@context": "http://www.fromthepage.org/jsonld/1/context.json",
"@id": "https://fromthepage.com/iiif/11/1869/status",
"label": "Page Status",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#service-1",
"pageStatus": [
"hasTranscript"
]
},
"otherContent": [
{
"@id": "https://example.com/iiif/1869/list/transcription",
"@type": "sc:AnnotationList",
"resources": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://fromthepage.com/iiif/11/canvas/1869#xywh=0,0,2943,1733",
"resource": {
"@id": "https://api.archivelab.org/books/rbmsbk_ap2-v4_2001_V55N4/pages/1/plaintext",
"@type": "dctypes:Text",
"format": "text/plain",
"annotatedBy": [
{
"name": "Sara Carlstead Brumfield"
},
{
"name": "donpedicinijr"
},
{
"name": "Ben W. Brumfield"
}
]
}
}
]
} ]
},
{
"@id": "https://fromthepage.com/iiif/11/canvas/1870",
"@type": "sc:Canvas",
"label": "Letter Front",
"width": 2336,
"height": 3608,
"images": [
{
"@id": "https://fromthepage.com/image-service/1870",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "https://fromthepage.com/image-service/1870/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"width": 2336,
"height": 3608,
"service": {
"@context": "https://iiif.io/api/image/2/context.json",
"@id": "https://fromthepage.com/image-service/1870",
"profile": "https://iiif.io/api/image/2/level1.json"
}
},
"on": "https://fromthepage.com/iiif/11/canvas/1870"
}
],
"related": [
{
"label": "Read this page",
"format": "text/html",
"@id": "https://fromthepage.com/display/display_page?page_id=1870"
},
{
"label": "Transcribe this page",
"format": "text/html",
"@id": "https://fromthepage.com/transcribe/display_page?page_id=1870"
},
{
"label": "Translate this page",
"format": "text/html",
"@id": "https://fromthepage.com/transcribe/translate?page_id=1870"
}
],
"seeAlso": [
{
"label": "HTML Transcription",
"format": "text/html",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#html-transcription",
"@id": "https://fromthepage.com/benwbrum/east-civil-war-letters/george-east-to-thomas-east/annotation/1870/html/transcription"
},
{
"label": "Searchable Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#plaintext-for-full-text-search-1",
"@id": "https://fromthepage.com/iiif/11/export/1870/plaintext/searchable"
},
{
"label": "Verbatim Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#verbatim-plaintext-2",
"@id": "https://fromthepage.com/iiif/11/export/1870/plaintext/verbatim"
},
{
"label": "Emended Plaintext",
"format": "text/plain",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#emended-plaintext-1",
"@id": "https://fromthepage.com/iiif/11/export/1870/plaintext/emended"
}
],
"service": {
"@context": "http://www.fromthepage.org/jsonld/1/context.json",
"@id": "https://fromthepage.com/iiif/11/1870/status",
"label": "Page Status",
"profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#service-1",
"pageStatus": [
"hasTranscript"
]
},
"otherContent": [
{
"@id": "https://fromthepage.com/iiif/1870/list/transcription",
"@type": "sc:AnnotationList",
"label": "Transcription"
},
{
"@id": "https://fromthepage.com/iiif/1870/list/notes",
"@type": "sc:AnnotationList",
"label": "Notes"
}
]
}
]
}
],
"otherContent": [
{
"@id": "https://fromthepage.com/iiif/11/layer/transcription",
"@type": "sc:Layer",
"label": "transcription layer"
},
{
"@id": "https://fromthepage.com/iiif/11/layer/translation",
"@type": "sc:Layer",
"label": "translation layer"
},
{
"@id": "https://fromthepage.com/iiif/11/layer/notes",
"@type": "sc:Layer",
"label": "notes layer"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment