Skip to content

Instantly share code, notes, and snippets.

@glenrobson
Created October 1, 2020 22:19
Show Gist options
  • Save glenrobson/9400d168e336a31d8925bd87759d0037 to your computer and use it in GitHub Desktop.
Save glenrobson/9400d168e336a31d8925bd87759d0037 to your computer and use it in GitHub Desktop.
{
"@type" : "sc:AnnotationList",
"resources" : [ {
"resource" : [ {
"http://dev.llgc.org.uk/sas/full_text" : "Annotation 2",
"@type" : "dctypes:Text",
"format" : "text/html",
"chars" : "<p>Annotation 2</p>"
} ],
"@type" : "oa:Annotation",
"motivation" : [ "oa:commenting" ],
"dcterms:created" : "2020-10-01T22:16:23",
"@id" : "http://sas.gdmrdigital.com/annotation/1601590583902",
"dcterms:modified" : "2020-10-01T22:16:23",
"@context" : [ {
"viewingDirection" : {
"@type" : "@id",
"@id" : "sc:viewingDirection"
},
"metadata" : {
"@type" : "@id",
"@id" : "sc:metadataLabels",
"@container" : "@list"
},
"language" : {
"@id" : "dc:language"
},
"iiif" : "http://iiif.io/api/image/2#",
"individuals" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:individualsHint"
},
"collections" : {
"@type" : "@id",
"@id" : "sc:hasCollections",
"@container" : "@list"
},
"continuous" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:continuousHint"
},
"dcterms" : "http://purl.org/dc/terms/",
"logo" : {
"@type" : "@id",
"@id" : "foaf:logo"
},
"foaf" : "http://xmlns.com/foaf/0.1/",
"height" : {
"@type" : "xsd:integer",
"@id" : "exif:height"
},
"dctypes" : "http://purl.org/dc/dcmitype/",
"stylesheet" : {
"@type" : "@id",
"@id" : "oa:styledBy"
},
"thumbnail" : {
"@type" : "@id",
"@id" : "foaf:thumbnail"
},
"images" : {
"@type" : "@id",
"@id" : "sc:hasImageAnnotations",
"@container" : "@list"
},
"item" : {
"@type" : "@id",
"@id" : "oa:item"
},
"svcs" : "http://rdfs.org/sioc/services#",
"bottom-to-top" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:bottomToTopDirection"
},
"resource" : {
"@type" : "@id",
"@id" : "oa:hasBody",
"@container" : "@set"
},
"profile" : {
"@type" : "@id",
"@id" : "dcterms:conformsTo"
},
"format" : {
"@id" : "dc:format"
},
"non-paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:nonPagedHint"
},
"encoding" : {
"@id" : "cnt:characterEncoding"
},
"license" : {
"@type" : "@id",
"@id" : "dcterms:license"
},
"startCanvas" : {
"@type" : "@id",
"@id" : "sc:hasStartCanvas"
},
"canvases" : {
"@type" : "@id",
"@id" : "sc:hasCanvases",
"@container" : "@list"
},
"left-to-right" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:leftToRightDirection"
},
"style" : {
"@id" : "oa:styleClass"
},
"exif" : "http://www.w3.org/2003/12/exif/ns#",
"full" : {
"@type" : "@id",
"@id" : "oa:hasSource"
},
"top-to-bottom" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:topToBottomDirection"
},
"ranges" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"motivation" : {
"@type" : "@id",
"@id" : "oa:motivatedBy",
"@container" : "@set"
},
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"description" : {
"@id" : "dc:description"
},
"rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
"sequences" : {
"@type" : "@id",
"@id" : "sc:hasSequences",
"@container" : "@list"
},
"seeAlso" : {
"@type" : "@id",
"@id" : "foaf:page"
},
"sc" : "http://iiif.io/api/presentation/2#",
"oa" : "http://www.w3.org/ns/oa#",
"default" : {
"@type" : "@id",
"@id" : "oa:default"
},
"related" : {
"@type" : "@id",
"@id" : "dcterms:relation"
},
"top" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:topHint"
},
"selector" : {
"@type" : "@id",
"@id" : "oa:hasSelector"
},
"value" : {
"@id" : "rdf:value"
},
"on" : {
"@type" : "@id",
"@id" : "oa:hasTarget"
},
"viewingHint" : {
"@type" : "@id",
"@id" : "sc:viewingHint"
},
"paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:pagedHint"
},
"within" : {
"@type" : "@id",
"@id" : "dcterms:isPartOf"
},
"cnt" : "http://www.w3.org/2011/content#",
"structures" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"resources" : {
"@type" : "@id",
"@id" : "sc:hasAnnotations",
"@container" : "@list"
},
"label" : {
"@id" : "rdfs:label"
},
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"service" : {
"@type" : "@id",
"@id" : "svcs:has_service"
},
"bytes" : {
"@id" : "cnt:bytes"
},
"manifests" : {
"@type" : "@id",
"@id" : "sc:hasManifests",
"@container" : "@list"
},
"width" : {
"@type" : "xsd:integer",
"@id" : "exif:width"
},
"attribution" : {
"@id" : "sc:attributionLabel"
},
"right-to-left" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:rightToLeftDirection"
},
"otherContent" : {
"@type" : "@id",
"@id" : "sc:hasLists",
"@container" : "@list"
},
"chars" : {
"@id" : "cnt:chars"
},
"dc" : "http://purl.org/dc/elements/1.1/"
} ],
"on" : [ {
"within" : {
"@type" : "sc:Manifest",
"@id" : "https://iiif.archivelab.org/iiif/iiif-test/manifest.json"
},
"@type" : "oa:SpecificResource",
"selector" : {
"default" : {
"@type" : "oa:FragmentSelector",
"value" : "xywh=2786,3271,1340,1155"
},
"item" : {
"@type" : "oa:SvgSelector",
"value" : "<svg xmlns='http://www.w3.org/2000/svg'><path xmlns=\"http://www.w3.org/2000/svg\" d=\"M2786.32035,3270.70906h670.16216v0h670.16216v577.37917v577.37917h-670.16216h-670.16216v-577.37917z\" data-paper-data=\"{&quot;strokeWidth&quot;:1,&quot;rotation&quot;:0,&quot;deleteIcon&quot;:null,&quot;rotationIcon&quot;:null,&quot;group&quot;:null,&quot;editable&quot;:true,&quot;annotation&quot;:null}\" id=\"rectangle_9e9abf45-a6d7-4a8b-ad91-8559acfb379a\" fill-opacity=\"0\" fill=\"#00bfff\" fill-rule=\"nonzero\" stroke=\"#00bfff\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"/></svg>"
},
"@type" : "oa:Choice"
},
"full" : "https://iiif.archivelab.org/iiif/iiif-test/canvas"
} ]
}, {
"resource" : [ {
"http://dev.llgc.org.uk/sas/full_text" : "Annotation 1",
"@type" : "dctypes:Text",
"format" : "text/html",
"chars" : "<p>Annotation 1</p>"
} ],
"@type" : "oa:Annotation",
"motivation" : [ "oa:commenting" ],
"dcterms:created" : "2020-10-01T22:16:13",
"@id" : "http://sas.gdmrdigital.com/annotation/1601590573361",
"dcterms:modified" : "2020-10-01T22:16:13",
"@context" : [ {
"viewingDirection" : {
"@type" : "@id",
"@id" : "sc:viewingDirection"
},
"metadata" : {
"@type" : "@id",
"@id" : "sc:metadataLabels",
"@container" : "@list"
},
"language" : {
"@id" : "dc:language"
},
"iiif" : "http://iiif.io/api/image/2#",
"individuals" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:individualsHint"
},
"collections" : {
"@type" : "@id",
"@id" : "sc:hasCollections",
"@container" : "@list"
},
"continuous" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:continuousHint"
},
"dcterms" : "http://purl.org/dc/terms/",
"logo" : {
"@type" : "@id",
"@id" : "foaf:logo"
},
"foaf" : "http://xmlns.com/foaf/0.1/",
"height" : {
"@type" : "xsd:integer",
"@id" : "exif:height"
},
"dctypes" : "http://purl.org/dc/dcmitype/",
"stylesheet" : {
"@type" : "@id",
"@id" : "oa:styledBy"
},
"thumbnail" : {
"@type" : "@id",
"@id" : "foaf:thumbnail"
},
"images" : {
"@type" : "@id",
"@id" : "sc:hasImageAnnotations",
"@container" : "@list"
},
"item" : {
"@type" : "@id",
"@id" : "oa:item"
},
"svcs" : "http://rdfs.org/sioc/services#",
"bottom-to-top" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:bottomToTopDirection"
},
"resource" : {
"@type" : "@id",
"@id" : "oa:hasBody",
"@container" : "@set"
},
"profile" : {
"@type" : "@id",
"@id" : "dcterms:conformsTo"
},
"format" : {
"@id" : "dc:format"
},
"non-paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:nonPagedHint"
},
"encoding" : {
"@id" : "cnt:characterEncoding"
},
"license" : {
"@type" : "@id",
"@id" : "dcterms:license"
},
"startCanvas" : {
"@type" : "@id",
"@id" : "sc:hasStartCanvas"
},
"canvases" : {
"@type" : "@id",
"@id" : "sc:hasCanvases",
"@container" : "@list"
},
"left-to-right" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:leftToRightDirection"
},
"style" : {
"@id" : "oa:styleClass"
},
"exif" : "http://www.w3.org/2003/12/exif/ns#",
"full" : {
"@type" : "@id",
"@id" : "oa:hasSource"
},
"top-to-bottom" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:topToBottomDirection"
},
"ranges" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"motivation" : {
"@type" : "@id",
"@id" : "oa:motivatedBy",
"@container" : "@set"
},
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"description" : {
"@id" : "dc:description"
},
"rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
"sequences" : {
"@type" : "@id",
"@id" : "sc:hasSequences",
"@container" : "@list"
},
"seeAlso" : {
"@type" : "@id",
"@id" : "foaf:page"
},
"sc" : "http://iiif.io/api/presentation/2#",
"oa" : "http://www.w3.org/ns/oa#",
"default" : {
"@type" : "@id",
"@id" : "oa:default"
},
"related" : {
"@type" : "@id",
"@id" : "dcterms:relation"
},
"top" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:topHint"
},
"selector" : {
"@type" : "@id",
"@id" : "oa:hasSelector"
},
"value" : {
"@id" : "rdf:value"
},
"on" : {
"@type" : "@id",
"@id" : "oa:hasTarget"
},
"viewingHint" : {
"@type" : "@id",
"@id" : "sc:viewingHint"
},
"paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:pagedHint"
},
"within" : {
"@type" : "@id",
"@id" : "dcterms:isPartOf"
},
"cnt" : "http://www.w3.org/2011/content#",
"structures" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"resources" : {
"@type" : "@id",
"@id" : "sc:hasAnnotations",
"@container" : "@list"
},
"label" : {
"@id" : "rdfs:label"
},
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"service" : {
"@type" : "@id",
"@id" : "svcs:has_service"
},
"bytes" : {
"@id" : "cnt:bytes"
},
"manifests" : {
"@type" : "@id",
"@id" : "sc:hasManifests",
"@container" : "@list"
},
"width" : {
"@type" : "xsd:integer",
"@id" : "exif:width"
},
"attribution" : {
"@id" : "sc:attributionLabel"
},
"right-to-left" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:rightToLeftDirection"
},
"otherContent" : {
"@type" : "@id",
"@id" : "sc:hasLists",
"@container" : "@list"
},
"chars" : {
"@id" : "cnt:chars"
},
"dc" : "http://purl.org/dc/elements/1.1/"
} ],
"on" : [ {
"within" : {
"@type" : "sc:Manifest",
"@id" : "https://iiif.archivelab.org/iiif/iiif-test/manifest.json"
},
"@type" : "oa:SpecificResource",
"selector" : {
"default" : {
"@type" : "oa:FragmentSelector",
"value" : "xywh=827,1044,1464,1160"
},
"item" : {
"@type" : "oa:SvgSelector",
"value" : "<svg xmlns='http://www.w3.org/2000/svg'><path xmlns=\"http://www.w3.org/2000/svg\" d=\"M826.63116,1043.91733h732.01749v0h732.01749v580.19078v580.19078h-732.01749h-732.01749v-580.19078z\" data-paper-data=\"{&quot;strokeWidth&quot;:1,&quot;rotation&quot;:0,&quot;deleteIcon&quot;:null,&quot;rotationIcon&quot;:null,&quot;group&quot;:null,&quot;editable&quot;:true,&quot;annotation&quot;:null}\" id=\"rectangle_078d3d97-b227-4710-b0a4-d8d02e5b48c2\" fill-opacity=\"0\" fill=\"#00bfff\" fill-rule=\"nonzero\" stroke=\"#00bfff\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"/></svg>"
},
"@type" : "oa:Choice"
},
"full" : "https://iiif.archivelab.org/iiif/iiif-test/canvas"
} ]
}, {
"resource" : [ {
"http://dev.llgc.org.uk/sas/full_text" : "Annotation 3",
"@type" : "dctypes:Text",
"format" : "text/html",
"chars" : "<p>Annotation 3</p>"
} ],
"@type" : "oa:Annotation",
"motivation" : [ "oa:commenting" ],
"dcterms:created" : "2020-10-01T22:16:32",
"@id" : "http://sas.gdmrdigital.com/annotation/1601590592745",
"dcterms:modified" : "2020-10-01T22:16:32",
"@context" : [ {
"viewingDirection" : {
"@type" : "@id",
"@id" : "sc:viewingDirection"
},
"metadata" : {
"@type" : "@id",
"@id" : "sc:metadataLabels",
"@container" : "@list"
},
"language" : {
"@id" : "dc:language"
},
"iiif" : "http://iiif.io/api/image/2#",
"individuals" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:individualsHint"
},
"collections" : {
"@type" : "@id",
"@id" : "sc:hasCollections",
"@container" : "@list"
},
"continuous" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:continuousHint"
},
"dcterms" : "http://purl.org/dc/terms/",
"logo" : {
"@type" : "@id",
"@id" : "foaf:logo"
},
"foaf" : "http://xmlns.com/foaf/0.1/",
"height" : {
"@type" : "xsd:integer",
"@id" : "exif:height"
},
"dctypes" : "http://purl.org/dc/dcmitype/",
"stylesheet" : {
"@type" : "@id",
"@id" : "oa:styledBy"
},
"thumbnail" : {
"@type" : "@id",
"@id" : "foaf:thumbnail"
},
"images" : {
"@type" : "@id",
"@id" : "sc:hasImageAnnotations",
"@container" : "@list"
},
"item" : {
"@type" : "@id",
"@id" : "oa:item"
},
"svcs" : "http://rdfs.org/sioc/services#",
"bottom-to-top" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:bottomToTopDirection"
},
"resource" : {
"@type" : "@id",
"@id" : "oa:hasBody",
"@container" : "@set"
},
"profile" : {
"@type" : "@id",
"@id" : "dcterms:conformsTo"
},
"format" : {
"@id" : "dc:format"
},
"non-paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:nonPagedHint"
},
"encoding" : {
"@id" : "cnt:characterEncoding"
},
"license" : {
"@type" : "@id",
"@id" : "dcterms:license"
},
"startCanvas" : {
"@type" : "@id",
"@id" : "sc:hasStartCanvas"
},
"canvases" : {
"@type" : "@id",
"@id" : "sc:hasCanvases",
"@container" : "@list"
},
"left-to-right" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:leftToRightDirection"
},
"style" : {
"@id" : "oa:styleClass"
},
"exif" : "http://www.w3.org/2003/12/exif/ns#",
"full" : {
"@type" : "@id",
"@id" : "oa:hasSource"
},
"top-to-bottom" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:topToBottomDirection"
},
"ranges" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"motivation" : {
"@type" : "@id",
"@id" : "oa:motivatedBy",
"@container" : "@set"
},
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"description" : {
"@id" : "dc:description"
},
"rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
"sequences" : {
"@type" : "@id",
"@id" : "sc:hasSequences",
"@container" : "@list"
},
"seeAlso" : {
"@type" : "@id",
"@id" : "foaf:page"
},
"sc" : "http://iiif.io/api/presentation/2#",
"oa" : "http://www.w3.org/ns/oa#",
"default" : {
"@type" : "@id",
"@id" : "oa:default"
},
"related" : {
"@type" : "@id",
"@id" : "dcterms:relation"
},
"top" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:topHint"
},
"selector" : {
"@type" : "@id",
"@id" : "oa:hasSelector"
},
"value" : {
"@id" : "rdf:value"
},
"on" : {
"@type" : "@id",
"@id" : "oa:hasTarget"
},
"viewingHint" : {
"@type" : "@id",
"@id" : "sc:viewingHint"
},
"paged" : {
"@type" : "sc:ViewingHint",
"@id" : "sc:pagedHint"
},
"within" : {
"@type" : "@id",
"@id" : "dcterms:isPartOf"
},
"cnt" : "http://www.w3.org/2011/content#",
"structures" : {
"@type" : "@id",
"@id" : "sc:hasRanges",
"@container" : "@list"
},
"resources" : {
"@type" : "@id",
"@id" : "sc:hasAnnotations",
"@container" : "@list"
},
"label" : {
"@id" : "rdfs:label"
},
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"service" : {
"@type" : "@id",
"@id" : "svcs:has_service"
},
"bytes" : {
"@id" : "cnt:bytes"
},
"manifests" : {
"@type" : "@id",
"@id" : "sc:hasManifests",
"@container" : "@list"
},
"width" : {
"@type" : "xsd:integer",
"@id" : "exif:width"
},
"attribution" : {
"@id" : "sc:attributionLabel"
},
"right-to-left" : {
"@type" : "sc:ViewingDirection",
"@id" : "sc:rightToLeftDirection"
},
"otherContent" : {
"@type" : "@id",
"@id" : "sc:hasLists",
"@container" : "@list"
},
"chars" : {
"@id" : "cnt:chars"
},
"dc" : "http://purl.org/dc/elements/1.1/"
} ],
"on" : [ {
"within" : {
"@type" : "sc:Manifest",
"@id" : "https://iiif.archivelab.org/iiif/iiif-test/manifest.json"
},
"@type" : "oa:SpecificResource",
"selector" : {
"default" : {
"@type" : "oa:FragmentSelector",
"value" : "xywh=1566,2647,1183,857"
},
"item" : {
"@type" : "oa:SvgSelector",
"value" : "<svg xmlns='http://www.w3.org/2000/svg'><path xmlns=\"http://www.w3.org/2000/svg\" d=\"M1566.08347,2646.53259h591.4372v0h591.4372v428.36407v428.36407h-591.4372h-591.4372v-428.36407z\" data-paper-data=\"{&quot;strokeWidth&quot;:1,&quot;rotation&quot;:0,&quot;deleteIcon&quot;:null,&quot;rotationIcon&quot;:null,&quot;group&quot;:null,&quot;editable&quot;:true,&quot;annotation&quot;:null}\" id=\"rectangle_e4a591de-3bf5-4ff4-9af9-e1df03451ea8\" fill-opacity=\"0\" fill=\"#00bfff\" fill-rule=\"nonzero\" stroke=\"#00bfff\" stroke-width=\"1\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-dasharray=\"\" stroke-dashoffset=\"0\" font-family=\"none\" font-weight=\"none\" font-size=\"none\" text-anchor=\"none\" style=\"mix-blend-mode: normal\"/></svg>"
},
"@type" : "oa:Choice"
},
"full" : "https://iiif.archivelab.org/iiif/iiif-test/canvas"
} ]
} ],
"@id" : "http://sas.gdmrdigital.com/annotation/list/fd1739ce06ad8e7f4d3a60e79fc17b50.json",
"@context" : "http://iiif.io/api/presentation/2/context.json"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment