From df097ddbdc865e416f31ca265ea54aed9d4ed770 Mon Sep 17 00:00:00 2001 From: Jamie Cope Date: Wed, 14 Jan 2026 10:25:13 -0500 Subject: [PATCH] Adding manifest with comment annotation including a styled image. --- .../astronaut_image_comment.json | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 manifests/9_commenting_annotations/astronaut_image_comment.json diff --git a/manifests/9_commenting_annotations/astronaut_image_comment.json b/manifests/9_commenting_annotations/astronaut_image_comment.json new file mode 100644 index 0000000..658393d --- /dev/null +++ b/manifests/9_commenting_annotations/astronaut_image_comment.json @@ -0,0 +1,109 @@ +{ + "@context": "http://iiif.io/api/presentation/4/context.json", + "id": "https://example.org/iiif/3d/astronaut_image_comment.json", + "type": "Manifest", + "label": { + "en": [ + "Single Model with Image Comment Annotation" + ] + }, + "summary": { + "en": [ + "Viewer should render the model at the scene origin and one comment annotation containing an image and targeting a point near the astronaut's glove." + ] + }, + "items": [ + { + "id": "https://example.org/iiif/scene1", + "type": "Scene", + "label": { + "en": [ + "A Scene" + ] + }, + "backgroundColor": "#33404d", + "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": { + "type": "SpecificResource", + "source": { + "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", + "type": "Model", + "label": { + "en": [ + "Model" + ] + }, + "format": "model/gltf-binary" + } + }, + "target": { + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + } + ] + } + } + ] + } + ], + "annotations": [ + { + "id": "https://example.org/iiif/scene1/page/p2/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://example.org/iiif/3d/anno2", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": [ + { + "type": "Choice", + "items": [ + { + "type": "TextualBody", + "value": "

Glove\n\"\"

", + "language": "en", + "format": "text/html" + } + ] + } + ], + "target": { + "type": "SpecificResource", + "source": [ + { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + } + ], + "selector": [ + { + "type": "PointSelector", + "x": 1.075, + "y": 1.894, + "z": 0.204 + } + ] + } + } + ] + } + ] + } + ] +} \ No newline at end of file