Skip to content

Instantly share code, notes, and snippets.

@edsilv
Created September 20, 2023 13:53
Show Gist options
  • Save edsilv/04001e10299889032762a9439a0ac64c to your computer and use it in GitHub Desktop.
Save edsilv/04001e10299889032762a9439a0ac64c to your computer and use it in GitHub Desktop.
presentation4.json
{
"@context": "http://iiif.io/api/presentation/4/context.json",
"id": "https://example.org/iiif/3d/manifest",
"type": "Manifest",
"label": {
"en": ["I am 3D"]
},
"behavior": ["some", "new", "behaviors", "probably"],
"items": [{
"id": "https://example.org/iiif/scene1",
"type": "Scene",
"label": {
"en": ["a scene!"]
},
"duration": 600,
"ambientLighting": {
"type": "Lighting",
"color": 256,
"intensity": 1.0
},
"items": [{
"id": "https://example.org/iiif/scene1/page/p1/1",
"type": "AnnotationPage",
"items": [{
"id": "https://example.org/iiif/3d/anno1",
"type": "Annotation",
"motivation": ["painting"],
"body": {
"id": "https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb?1542147958948",
"type": "Model",
"format": "application/glb"
},
"target": ["https://example.org/iiif/scene1/page/p1/1"]
}]
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment