Skip to content

Instantly share code, notes, and snippets.

@hadro
Created June 5, 2019 07:03
Show Gist options
  • Save hadro/5ae8fbae0301c6589e5f8db42ef25681 to your computer and use it in GitHub Desktop.
Save hadro/5ae8fbae0301c6589e5f8db42ef25681 to your computer and use it in GitHub Desktop.
Coin with Annotation for DHSI Workshop
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://localhost:8887/coin-after.json",
"@type": "sc:Manifest",
"attribution": "American Numismatic Society",
"label": "Price 3210",
"description": "Obverse: Head of beardless Heracles right wearing lion skin headdress\nReverse: ΑΛΕΞΑΝΔΡΟΥ - Zeus seated on stool-throne left, eagle on outstretched right hand, sceptre in left hand",
"viewingDirection": "left-to-right",
"viewingHint": "individuals",
"sequences": [
{
"@type": "sc:Sequence",
"label": "Default sequence",
"canvases": [
{
"@id": "http://localhost:8887/coin/canvas",
"@type": "sc:Canvas",
"label": "[Monnaie : Tétradrachme, Argent, Damascus, Koïlé Syrie, Alexandre III Le Grand]",
"height": 2610,
"width": 5220,
"images": [
{
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f1",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "http://localhost:8887/coin/canvas#xywh=0,0,2610,2610",
"resource": {
"label": "Obverse",
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f1/full/full/0/native.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 2610,
"width": 2610,
"service": {
"@context": "http://iiif.io/api/image/1/context.json",
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f1",
"profile": "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2"
}
}
},
{
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f2",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "http://localhost:8887/coin/canvas#xywh=2610,0,2610,2610",
"resource": {
"label": "Reverse",
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f2/full/full/0/native.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 2610,
"width": 2610,
"service": {
"@context": "http://iiif.io/api/image/1/context.json",
"@id": "http://gallica.bnf.fr/iiif/ark:/12148/btv1b8499946f/f2",
"profile": "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2"
}
}
}
],
"otherContent": [
{
"@id": "http://localhost:8887/annotation-list.json",
"@type": "sc:AnnotationList"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment