Skip to content

Instantly share code, notes, and snippets.

@edsilv
Created June 11, 2020 14:00
Show Gist options
  • Save edsilv/a734005b7355fa15609691317bfc54e5 to your computer and use it in GitHub Desktop.
Save edsilv/a734005b7355fa15609691317bfc54e5 to your computer and use it in GitHub Desktop.
IIIF 3D Manifest (Rendering)
{
"@context": [
"http://www.w3.org/ns/anno.jsonld",
"http://iiif.io/api/presentation//context.json"
],
"id": "https://example.org/iiif/book1/manifest",
"type": "Manifest",
"label": { "en": [ "Image 1" ] },
"items": [
{
"id": "https://example.org/iiif/book1/canvas/p1",
"type": "Canvas",
"height": 1800,
"width": 1200,
"items": [
{
"id": "https://example.org/iiif/book1/page/p1/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/iiif/book1/annotation/p0001-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "http://iiif.io/api/presentation/2.1/example/fixtures/resources/page1-full.png",
"type": "Image",
"format": "image/png",
"height": 1800,
"width": 1200
},
"target": "https://example.org/iiif/book1/canvas/p1"
}
]
}
]
}
],
"rendering": [
{
"id": "https://example.org/iiif/book1.glb",
"type": "Text",
"label": { "en": [ "Download as GLB" ] },
"format": "model/gltf-binary"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment