Skip to content

Instantly share code, notes, and snippets.

@tomcrane
Last active June 6, 2023 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tomcrane/2dc7151c93560a82677ea22fb0290277 to your computer and use it in GitHub Desktop.
Save tomcrane/2dc7151c93560a82677ea22fb0290277 to your computer and use it in GitHub Desktop.
{
"@context": "http://iiif.io/api/presentation/4/context.json",
"id": "https://example.org/iiif/3d/manifest",
"type": "Manifest",
"label": { "en": [ "I am 3D" ] },
// all your favourite IIIF props are exactly the same
"behavior": [ "some", "new", "behaviors", "probably" ],
"items": [
{
"id": "https://example.org/iiif/scene1",
"type": "Scene",
"label": { "en": [ "a scene!" ] },
// .... dimensions - not w,h,d - how do we specify the space?
// (if we do that at all... maybe always 0,0,0 and unbound)
"items": [
{
"id": "https://example.org/iiif/scene1/page/p1/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://example.org/iiif/3d/anno1",
"type": "Annotation",
"motivation": ["painting"], // maybe
"body": {
"id": "https://example.org/iiif/my-model.someFormat",
"type": "Model",
"format": "application/something",
// dimensions of the thing to be painted/placed
},
"target": {
// ?????????
}
}
]
}
]
}
],
"structures": [
// yep can do these too
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment