Skip to content

Instantly share code, notes, and snippets.

@krunal86
Created August 31, 2019 19:48
Show Gist options
  • Save krunal86/98076498e9e86e2792bc123ad356ab5e to your computer and use it in GitHub Desktop.
Save krunal86/98076498e9e86e2792bc123ad356ab5e to your computer and use it in GitHub Desktop.
Annotation List with HTML transcription
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/1bd29987-f44c-4c8c-afa2-ee1c80fad4ea",
"@type": "sc:AnnotationList",
"resources": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/annos/contentAsText/1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@type": "cnt:ContentAsText",
"format": "text/html",
"chars": "<!-- react-empty: 930 --><div data-contents=\"true\"><div class=\"\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"cv9ms-0-0\"><div data-offset-key=\"cv9ms-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"cv9ms-0-0\"><span data-text=\"true\">Page 1</span></span></div></div><div class=\"\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"1b2h3-0-0\"><div data-offset-key=\"1b2h3-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"1b2h3-0-0\"><br data-text=\"true\"></span></div></div><ol class=\"public-DraftStyleDefault-ol\" data-offset-key=\"8qk9i-0-0\"><li class=\"public-DraftStyleDefault-orderedListItem public-DraftStyleDefault-reset public-DraftStyleDefault-depth0 public-DraftStyleDefault-listLTR\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"8qk9i-0-0\"><div data-offset-key=\"8qk9i-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"8qk9i-0-0\"><span data-text=\"true\">Bullet 1</span></span></div></li><li class=\"public-DraftStyleDefault-orderedListItem public-DraftStyleDefault-depth0 public-DraftStyleDefault-listLTR\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"7010p-0-0\"><div data-offset-key=\"7010p-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"7010p-0-0\"><span data-text=\"true\">Bullet 2</span></span></div></li><li class=\"public-DraftStyleDefault-orderedListItem public-DraftStyleDefault-depth0 public-DraftStyleDefault-listLTR\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"8em20-0-0\"><div data-offset-key=\"8em20-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"8em20-0-0\"><span data-text=\"true\">Bullet 3</span></span></div></li></ol><div class=\"\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"96n38-0-0\"><div data-offset-key=\"96n38-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"96n38-0-0\" style=\"font-weight: bold;\"><span data-text=\"true\">BOLD</span></span></div></div><div class=\"\" data-block=\"true\" data-editor=\"7coac\" data-offset-key=\"3bamh-0-0\"><div data-offset-key=\"3bamh-0-0\" class=\"public-DraftStyleDefault-block public-DraftStyleDefault-ltr\"><span data-offset-key=\"3bamh-0-0\" style=\"font-weight: bold; font-style: italic;\"><span data-text=\"true\">Italic</span></span></div></div></div>"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/1bd29987-f44c-4c8c-afa2-ee1c80fad4ea#xywh=0,0,0,0"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment