Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Last active December 6, 2021 04:10
Show Gist options
  • Save baskaufs/ac1e68733d4fcd41d52a2c5be72c3415 to your computer and use it in GitHub Desktop.
Save baskaufs/ac1e68733d4fcd41d52a2c5be72c3415 to your computer and use it in GitHub Desktop.
test IIIF manifest
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://www.nga.gov/content/ngaweb/api/v1/iiif/presentation/manifest.json?cultObj:id=297",
"@type": "sc:Manifest",
"label": "Caney Fork Cabin",
"description": "painting by Gilbert Gaul ",
"logo": "https://www.nga.gov/etc/designs/ngaweb/images/nga-seal.png",
"attribution": "Provided by Vanderbilt University Fine Arts Gallery",
"metadata": [
{
"label": "Artist",
"value": "David Johnson"
},
{
"label": "Accession Number",
"value": "1973.005"
},
{
"label": "Creation Year",
"value": "1914"
},
{
"label": "Title",
"value": "Caney Fork Cabin"
}
],
"viewingDirection": "left-to-right",
"viewingHint": "individuals",
"sequences": [{
"@type": "sc:Sequence",
"label": "Caney Fork Cabin",
"canvases": [{
"@id": "https://cq.nga.gov/content/ngaweb/api/v1/iiif/presentation/manifest/sequence/canvas.json?cultObj:id=297",
"@type": "sc:Canvas",
"width": 4820,
"height": 3065,
"label": "Caney Fork Cabin",
"images": [{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "https://www.nga.gov/content/ngaweb/api/v1/iiif/presentation/manifest/sequence/canvas/resource.json?cultObj:id=297",
"@type": "dctypes:Image",
"format": "image/jpeg",
"height": 4820,
"width": 3065,
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.library.vanderbilt.edu/iiif/3/gallery%2F1973%2F1973.005.tif",
"profile": "http://iiif.io/api/image/2/level2.json"
}
},
"on": "https://cq.nga.gov/content/ngaweb/api/v1/iiif/presentation/manifest/sequence/canvas.json?cultObj:id=297"
}],
"thumbnail": {
"@id": "https://iiif.library.vanderbilt.edu/iiif/3/gallery%2F1973%2F1973.005.tif/full/!100,100/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"width": 100,
"height": 100
}
}]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment