Skip to content

Instantly share code, notes, and snippets.

@eliotjordan
Last active April 21, 2018 05:45
Show Gist options
  • Save eliotjordan/3c00eff93e3b9626bfeebb3854b83725 to your computer and use it in GitHub Desktop.
Save eliotjordan/3c00eff93e3b9626bfeebb3854b83725 to your computer and use it in GitHub Desktop.
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@type": "sc:Manifest",
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest",
"label": [
"Vega"
],
"description": "I believe consistency and orthogonality are tools of design, not the primary goal in design.",
"viewingHint": "multi-part",
"metadata": [
{
"label": "Created At",
"value": [
"04/17/18 09:43:59 PM UTC"
]
},
{
"label": "Updated At",
"value": [
"04/20/18 09:53:38 PM UTC"
]
},
{
"label": "Identifier",
"value": [
"ark:/99999/fk44j1pz65"
]
},
{
"label": "Title",
"value": [
"Vega"
]
},
{
"label": "Description",
"value": [
"I believe consistency and orthogonality are tools of design, not the primary goal in design."
]
},
{
"label": "Source Metadata Identifier",
"value": [
"1234567"
]
},
{
"label": "PDF Type",
"value": [
"gray"
]
},
{
"label": "Provenance",
"value": [
"the moon"
]
},
{
"label": "Rendered Coverage",
"value": [
"<tr><th></th>\n<td id='accordion'><ul class='tabular'><div id='bbox' class='collapse in'></div>\n <div class=\"row bbox-inputs\">\n <div class=\"col-md-3\">\n <div class=\"input-group\">\n <span class=\"input-group-addon\"><div>North</div></span>\n <input readonly id=\"bbox-north\" type=\"text\" class=\"form-control bbox-input\">\n </div>\n </div>\n <div class=\"col-md-3\">\n <div class=\"input-group\">\n <span class=\"input-group-addon\"><div>East</div></span>\n <input readonly id=\"bbox-east\" type=\"text\" class=\"form-control bbox-input\">\n </div>\n </div>\n <div class=\"col-md-3\">\n <div class=\"input-group\">\n <span class=\"input-group-addon\"><div>South</div></span>\n <input readonly id=\"bbox-south\" type=\"text\" class=\"form-control bbox-input\">\n </div>\n </div>\n <div class=\"col-md-3\">\n <div class=\"input-group\">\n <span class=\"input-group-addon\"><div>West</div></span>\n <input readonly id=\"bbox-west\" type=\"text\" class=\"form-control bbox-input\">\n </div>\n </div>\n </div>\n \n <script>\n boundingBoxSelector({coverage: '', readonly: true});\n </script>\n \n <a data-toggle='collapse' data-parent='accordion' href='#bbox' class='btn btn-default'>\n Toggle Map</a>\n </ul></td></tr>"
]
}
],
"sequences": [
{
"@type": "sc:Sequence",
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/sequence/normal",
"rendering": [
{
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/pdf",
"label": "Download as PDF",
"format": "application/pdf"
}
],
"canvases": [
{
"@type": "sc:Canvas",
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/a703c4f6-24cd-4ca3-aa6f-59645dcd7c30",
"label": "[p. 1]",
"width": "2510",
"height": "1840",
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@type": "dctypes:Image",
"@id": {
"id": "a703c4f6-24cd-4ca3-aa6f-59645dcd7c30"
},
"height": "1840",
"width": "2510",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://localhost:3000/image-service/a703c4f6-24cd-4ca3-aa6f-59645dcd7c30",
"profile": "http://iiif.io/api/image/2/level2.json"
}
},
"on": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/a703c4f6-24cd-4ca3-aa6f-59645dcd7c30"
}
]
},
{
"@type": "sc:Canvas",
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/394a7cd1-d845-4e99-ad7b-a0a763734b79",
"label": "[p. 2]",
"width": "200",
"height": "287",
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@type": "dctypes:Image",
"@id": {
"id": "394a7cd1-d845-4e99-ad7b-a0a763734b79"
},
"height": "287",
"width": "200",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://localhost:3000/image-service/394a7cd1-d845-4e99-ad7b-a0a763734b79",
"profile": "http://iiif.io/api/image/2/level2.json"
}
},
"on": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/394a7cd1-d845-4e99-ad7b-a0a763734b79"
}
]
},
{
"@type": "sc:Canvas",
"@id": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/ecc3f56c-0c61-48ae-a42b-4811e1253f0b",
"label": "[p. 3]",
"width": "200",
"height": "287",
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@type": "dctypes:Image",
"@id": {
"id": "ecc3f56c-0c61-48ae-a42b-4811e1253f0b"
},
"height": "287",
"width": "200",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://localhost:3000/image-service/ecc3f56c-0c61-48ae-a42b-4811e1253f0b",
"profile": "http://iiif.io/api/image/2/level2.json"
}
},
"on": "http://localhost:3000/concern/scanned_maps/ccfba492-79e2-46ba-9390-a5e9a021cb3c/manifest/canvas/ecc3f56c-0c61-48ae-a42b-4811e1253f0b"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment