Skip to content

Instantly share code, notes, and snippets.

@wsalesky
Created August 30, 2023 15:40
Show Gist options
  • Save wsalesky/9105d4df819056aede8a8d6134252efa to your computer and use it in GitHub Desktop.
Save wsalesky/9105d4df819056aede8a8d6134252efa to your computer and use it in GitHub Desktop.
Test IIIF manifest
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://architecturasinica.org/iiif/manifest/gallery/52938328347/52938328347.json",
"@type": "sc:Manifest",
"label": "jiashan 假山",
"description": "jiashan of yellow stone, "Yungang," Wangshiyuan (Master of the Nets Garden), Qing dynasty, Suzhou, Jiangsu Province, detail showing interior "grotto" 網師園雲崗假山, 局部,黃石下有洞,江蘇省蘇州(photo: Jin Yinuo 金一諾, 2023)",
"attribution": "Architectura Sinica",
"metadata": [
{
"label": "Title",
"value": "jiashan 假山"
},
{
"label": "Description",
"value": "jiashan of yellow stone, "Yungang," Wangshiyuan (Master of the Nets Garden), Qing dynasty, Suzhou, Jiangsu Province, detail showing interior "grotto" 網師園雲崗假山, 局部,黃石下有洞,江蘇省蘇州(photo: Jin Yinuo 金一諾, 2023)"
},
{
"label": "Tags",
"value": [
"master",
"fishing",
"nets",
"garden",
"suzhou",
"網師園",
"江蘇省蘇州"
]
}
],
"sequences": [
{
"@type": "sc:Sequence",
"label": "jiashan 假山",
"canvases": [
{
"@id": "https://architecturasinica.org/iiif/manifest/gallery/52938328347/52938328347/canvas/1",
"@type": "sc:Canvas",
"width": 4032,
"height": 3024,
"label": "jiashan 假山",
"images": {
"@type": "oa:Annotation",
"motivation": "sc:tagging",
"resource": {
"@id": "https://iiif.library.vanderbilt.edu/iiif/2/attcat%2F52938328347.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpg",
"width": 4032,
"height": 3024,
"service": {
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://iiif.library.vanderbilt.edu/iiif/2/attcat%2F52938328347.jpg",
"profile": "http://iiif.io/api/image/2/level2.json"
}
},
"on": "https://architecturasinica.org/iiif/manifest/gallery/52938328347/52938328347_1"
},
"thumbnail": {
"@id": "https://iiif.library.vanderbilt.edu/iiif/2/attcat%2F52938328347.jpg/full/!100,100/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpg",
"width": 100,
"height": 100
}
}
]
}
]
}
@wsalesky
Copy link
Author

Testing IIIF manifest creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment