diff --git a/manifests/10_activating_annotations/astronaut_comment_activating_motivation.json b/manifests/10_activating_annotations/astronaut_comment_activating_motivation.json index 2c593ee..6611e13 100644 --- a/manifests/10_activating_annotations/astronaut_comment_activating_motivation.json +++ b/manifests/10_activating_annotations/astronaut_comment_activating_motivation.json @@ -2,13 +2,25 @@ "@context": "http://iiif.io/api/presentation/4/context.json", "id": "https://example.org/iiif/3d/astronaut_comment_activating_motivation.json", "type": "Manifest", - "label": { "en": ["Single Model with Comment Annotations and Custom Views Per Annotation Using Activating Motivation"] }, - "summary": { "en": ["Viewer should render the model at the scene origin and two comment annotations, one targeting a point near the astronaut's glove and the other targeting a point near the astronaut's helmet. Each comment annotation has a specific camera position and view specified for it using annotations with activating motivation."] }, + "label": { + "en": [ + "Single Model with Comment Annotations and Custom Views Per Annotation Using Activating Motivation" + ] + }, + "summary": { + "en": [ + "Viewer should render the model at the scene origin and two comment annotations, one targeting a point near the astronaut's glove and the other targeting a point near the astronaut's helmet. Each comment annotation has a specific camera position and view specified for it using annotations with activating motivation." + ] + }, "items": [ { "id": "https://example.org/iiif/scene1", "type": "Scene", - "label": { "en": ["A Scene"] }, + "label": { + "en": [ + "A Scene" + ] + }, "items": [ { "id": "https://example.org/iiif/scene1/page/p1/1", @@ -17,7 +29,9 @@ { "id": "https://example.org/iiif/3d/model", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", "type": "Model", @@ -31,12 +45,20 @@ { "id": "https://example.org/iiif/3d/cameras/1", "type": "Annotation", - "motivation": ["painting"], - "behavior": ["hidden"], + "motivation": [ + "painting" + ], + "behavior": [ + "hidden" + ], "body": { "id": "https://example.org/iiif/3d/cameras/1/body", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera for Glove"]}, + "label": { + "en": [ + "Perspective Camera for Glove" + ] + }, "lookAt": { "id": "https://example.org/uuid/6799e7d1-89a1-4e76-bcb9-3c0c47065598", "type": "PointSelector", @@ -66,12 +88,20 @@ { "id": "https://example.org/iiif/3d/cameras/2", "type": "Annotation", - "motivation": ["painting"], - "behavior": ["hidden"], + "motivation": [ + "painting" + ], + "behavior": [ + "hidden" + ], "body": { "id": "https://example.org/iiif/3d/cameras/2/body", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera for Helmet"]}, + "label": { + "en": [ + "Perspective Camera for Helmet" + ] + }, "lookAt": { "id": "https://example.org/uuid/80ace027-d43d-48f2-81dc-59bfed7b61cc", "type": "PointSelector", @@ -100,111 +130,139 @@ } ] } - ] - } - ], - "annotations": [ - { - "id": "https://example.org/iiif/scene1/page/p2/1", - "type": "AnnotationPage", - "items": [ + ], + "annotations": [ { - "id": "https://example.org/iiif/3d/comments/1", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "id": "https://example.org/iiif/3d/comments/1/body", - "type": "TextualBody", - "value": "Glove", - "language": ["en"], - "format": "text/plain" - }, - "target": { - "id": "https://example.org/uuid/ab7f9b03-2c13-416c-85d8-13e4ef6d6a3b", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" - }, - "selector": [ - { - "id": "https://example.org/uuid/bfa9c562-3480-4605-aa60-fff02a1d6716", - "type": "PointSelector", - "x": 1.075, - "y": 1.894, - "z": 0.204 + "id": "https://example.org/iiif/scene1/page/p2/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://example.org/iiif/3d/comments/1", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "id": "https://example.org/iiif/3d/comments/1/body", + "type": "TextualBody", + "value": "Glove", + "language": [ + "en" + ], + "format": "text/plain" + }, + "target": { + "id": "https://example.org/uuid/ab7f9b03-2c13-416c-85d8-13e4ef6d6a3b", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "id": "https://example.org/uuid/bfa9c562-3480-4605-aa60-fff02a1d6716", + "type": "PointSelector", + "x": 1.075, + "y": 1.894, + "z": 0.204 + } + ] } - ] - } - }, - { - "id": "https://example.org/iiif/3d/comments/2", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "id": "https://example.org/iiif/3d/comments/2/body", - "type": "TextualBody", - "value": "Helmet", - "language": ["en"], - "format": "text/plain" - }, - "target": { - "id": "https://example.org/uuid/8e6a68cd-a5be-4661-acc2-a373f2e749ae", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" }, - "selector": [ - { - "id": "https://example.org/uuid/7f940815-62f7-4d99-99e9-2f2a1ba0e7c8", - "type": "PointSelector", - "x": 0.006, - "y": 3.498, - "z": 0.703 + { + "id": "https://example.org/iiif/3d/comments/2", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "id": "https://example.org/iiif/3d/comments/2/body", + "type": "TextualBody", + "value": "Helmet", + "language": [ + "en" + ], + "format": "text/plain" + }, + "target": { + "id": "https://example.org/uuid/8e6a68cd-a5be-4661-acc2-a373f2e749ae", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "id": "https://example.org/uuid/7f940815-62f7-4d99-99e9-2f2a1ba0e7c8", + "type": "PointSelector", + "x": 0.006, + "y": 3.498, + "z": 0.703 + } + ] } - ] - } - }, - { - "id": "https://example.org/iiif/3d/activating/1", - "type": "Annotation", - "motivation": ["activating"], - "summary": { "en": ["This annotation with motivation 'activating' links the first comment annotation (for the glove) to its camera. When the comment annotation is activated through user interaction, the camera annotation is shown and made the active camera."] }, - "target": { - "id": "https://example.org/iiif/3d/comments/1", - "type": "Annotation" - }, - "body": { - "id": "https://example.org/iiif/3d/activating/1/body", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/3d/cameras/1", - "type": "Annotation" }, - "action": ["show", "enable", "select"] - } - }, - { - "id": "https://example.org/iiif/3d/activating/2", - "type": "Annotation", - "motivation": ["activating"], - "summary": { "en": ["This annotation with motivation 'activating' links the second comment annotation (for the helmet) to its camera. When the comment annotation is activated through user interaction, the camera annotation is shown and made the active camera."] }, - "target": { - "id": "https://example.org/iiif/3d/comments/2", - "type": "Annotation" - }, - "body": { - "id": "https://example.org/iiif/3d/activating/2/body", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/3d/cameras/2", - "type": "Annotation" + { + "id": "https://example.org/iiif/3d/activating/1", + "type": "Annotation", + "motivation": [ + "activating" + ], + "summary": { + "en": [ + "This annotation with motivation 'activating' links the first comment annotation (for the glove) to its camera. When the comment annotation is activated through user interaction, the camera annotation is shown and made the active camera." + ] + }, + "target": { + "id": "https://example.org/iiif/3d/comments/1", + "type": "Annotation" + }, + "body": { + "id": "https://example.org/iiif/3d/activating/1/body", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/3d/cameras/1", + "type": "Annotation" + }, + "action": [ + "show", + "enable", + "select" + ] + } }, - "action": ["show", "enable", "select"] - } + { + "id": "https://example.org/iiif/3d/activating/2", + "type": "Annotation", + "motivation": [ + "activating" + ], + "summary": { + "en": [ + "This annotation with motivation 'activating' links the second comment annotation (for the helmet) to its camera. When the comment annotation is activated through user interaction, the camera annotation is shown and made the active camera." + ] + }, + "target": { + "id": "https://example.org/iiif/3d/comments/2", + "type": "Annotation" + }, + "body": { + "id": "https://example.org/iiif/3d/activating/2/body", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/3d/cameras/2", + "type": "Annotation" + }, + "action": [ + "show", + "enable", + "select" + ] + } + } + ] } ] } ] -} +} \ No newline at end of file diff --git a/manifests/10_activating_annotations/astronaut_comment_activating_scope.json b/manifests/10_activating_annotations/astronaut_comment_activating_scope.json index e48303c..e8403bf 100644 --- a/manifests/10_activating_annotations/astronaut_comment_activating_scope.json +++ b/manifests/10_activating_annotations/astronaut_comment_activating_scope.json @@ -2,13 +2,25 @@ "@context": "http://iiif.io/api/presentation/4/context.json", "id": "https://example.org/iiif/3d/astronaut_comment_activating_scope.json", "type": "Manifest", - "label": { "en": ["Single Model with Comment Annotations and Custom Views Per Annotation Using Activating Scope"] }, - "summary": { "en": ["Viewer should render the model at the scene origin and two comment annotations, one targeting a point near the astronaut's glove and the other targeting a point near the astronaut's helmet. Each comment annotation has a specific camera position and view specified for it using scope."] }, + "label": { + "en": [ + "Single Model with Comment Annotations and Custom Views Per Annotation Using Activating Scope" + ] + }, + "summary": { + "en": [ + "Viewer should render the model at the scene origin and two comment annotations, one targeting a point near the astronaut's glove and the other targeting a point near the astronaut's helmet. Each comment annotation has a specific camera position and view specified for it using scope." + ] + }, "items": [ { "id": "https://example.org/iiif/scene1", "type": "Scene", - "label": { "en": ["A Scene"] }, + "label": { + "en": [ + "A Scene" + ] + }, "items": [ { "id": "https://example.org/iiif/scene1/page/p1/1", @@ -17,7 +29,9 @@ { "id": "https://example.org/iiif/3d/model", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", "type": "Model", @@ -31,11 +45,17 @@ { "id": "https://example.org/iiif/3d/cameras/1", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://example.org/iiif/3d/cameras/1/body", "type": "PerspectiveCamera", - "label": {"en": ["Default View"]}, + "label": { + "en": [ + "Default View" + ] + }, "lookAt": { "id": "https://example.org/uuid/1799e7d1-89a1-4e76-bcb9-3c0c47065598", "type": "PointSelector", @@ -65,11 +85,17 @@ { "id": "https://example.org/iiif/3d/cameras/2", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://example.org/iiif/3d/cameras/2/body", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera for Glove"]}, + "label": { + "en": [ + "Perspective Camera for Glove" + ] + }, "lookAt": { "id": "https://example.org/uuid/6799e7d1-89a1-4e76-bcb9-3c0c47065598", "type": "PointSelector", @@ -99,11 +125,17 @@ { "id": "https://example.org/iiif/3d/cameras/3", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://example.org/iiif/3d/cameras/3/body", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera for Helmet"]}, + "label": { + "en": [ + "Perspective Camera for Helmet" + ] + }, "lookAt": { "id": "https://example.org/uuid/80ace027-d43d-48f2-81dc-59bfed7b61cc", "type": "PointSelector", @@ -132,85 +164,93 @@ } ] } - ] - } - ], - "annotations": [ - { - "id": "https://example.org/iiif/scene1/page/p2/1", - "type": "AnnotationPage", - "items": [ + ], + "annotations": [ { - "id": "https://example.org/iiif/3d/comments/1", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "id": "https://example.org/iiif/3d/comments/1/body", - "type": "TextualBody", - "value": "Glove", - "language": ["en"], - "format": "text/plain" - }, - "scope": [ + "id": "https://example.org/iiif/scene1/page/p2/1", + "type": "AnnotationPage", + "items": [ { - "id": "https://example.org/iiif/3d/cameras/2", - "type": "Annotation" - } - ], - "target": { - "id": "https://example.org/uuid/ab7f9b03-2c13-416c-85d8-13e4ef6d6a3b", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" - }, - "selector": [ - { - "id": "https://example.org/uuid/bfa9c562-3480-4605-aa60-fff02a1d6716", - "type": "PointSelector", - "x": 1.075, - "y": 1.894, - "z": 0.204 + "id": "https://example.org/iiif/3d/comments/1", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "id": "https://example.org/iiif/3d/comments/1/body", + "type": "TextualBody", + "value": "Glove", + "language": [ + "en" + ], + "format": "text/plain" + }, + "scope": [ + { + "id": "https://example.org/iiif/3d/cameras/2", + "type": "Annotation" + } + ], + "target": { + "id": "https://example.org/uuid/ab7f9b03-2c13-416c-85d8-13e4ef6d6a3b", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "id": "https://example.org/uuid/bfa9c562-3480-4605-aa60-fff02a1d6716", + "type": "PointSelector", + "x": 1.075, + "y": 1.894, + "z": 0.204 + } + ] } - ] - } - }, - { - "id": "https://example.org/iiif/3d/comments/2", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "id": "https://example.org/iiif/3d/comments/2/body", - "type": "TextualBody", - "value": "Helmet", - "language": ["en"], - "format": "text/plain" - }, - "scope": [ - { - "id": "https://example.org/iiif/3d/cameras/3", - "type": "Annotation" - } - ], - "target": { - "id": "https://example.org/uuid/8e6a68cd-a5be-4661-acc2-a373f2e749ae", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" }, - "selector": [ - { - "id": "https://example.org/uuid/7f940815-62f7-4d99-99e9-2f2a1ba0e7c8", - "type": "PointSelector", - "x": 0.006, - "y": 3.498, - "z": 0.703 + { + "id": "https://example.org/iiif/3d/comments/2", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "id": "https://example.org/iiif/3d/comments/2/body", + "type": "TextualBody", + "value": "Helmet", + "language": [ + "en" + ], + "format": "text/plain" + }, + "scope": [ + { + "id": "https://example.org/iiif/3d/cameras/3", + "type": "Annotation" + } + ], + "target": { + "id": "https://example.org/uuid/8e6a68cd-a5be-4661-acc2-a373f2e749ae", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "id": "https://example.org/uuid/7f940815-62f7-4d99-99e9-2f2a1ba0e7c8", + "type": "PointSelector", + "x": 0.006, + "y": 3.498, + "z": 0.703 + } + ] } - ] - } + } + ] } ] } ] -} +} \ No newline at end of file diff --git a/manifests/10_activating_annotations/whale_comment_activating_annotation.json b/manifests/10_activating_annotations/whale_comment_activating_annotation.json index 58dadd3..41465af 100644 --- a/manifests/10_activating_annotations/whale_comment_activating_annotation.json +++ b/manifests/10_activating_annotations/whale_comment_activating_annotation.json @@ -2,13 +2,25 @@ "@context": "http://iiif.io/api/presentation/4/context.json", "id": "https://example.org/iiif/3d/whale_comment_activating_annotation.json", "type": "Manifest", - "label": { "en": ["Whale Cranium and Mandible with Dynamic Commenting Annotations and Custom Per-Anno Views"] }, - "summary": { "en": ["Description TBA"] }, + "label": { + "en": [ + "Whale Cranium and Mandible with Dynamic Commenting Annotations and Custom Per-Anno Views" + ] + }, + "summary": { + "en": [ + "Description TBA" + ] + }, "items": [ { "id": "https://example.org/iiif/scene1", "type": "Scene", - "label": { "en": ["A Scene Containing a Whale Cranium and Mandible"] }, + "label": { + "en": [ + "A Scene Containing a Whale Cranium and Mandible" + ] + }, "items": [ { "id": "https://example.org/iiif/scene1/page/p1/1", @@ -17,7 +29,9 @@ { "id": "https://example.org/iiif/3d/anno1", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/whale/whale_mandible.glb", "type": "Model", @@ -43,7 +57,9 @@ { "id": "https://example.org/iiif/3d/anno2", "type": "Annotation", - "motivation": ["painting"], + "motivation": [ + "painting" + ], "body": { "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/whale/whale_cranium.glb", "type": "Model", @@ -69,15 +85,23 @@ { "id": "https://example.org/iiif/3d/anno8", "type": "Annotation", - "motivation": ["painting"], - "behavior": ["hidden"], + "motivation": [ + "painting" + ], + "behavior": [ + "hidden" + ], "body": { "id": "https://example.org/iiif/3d/anno8/body", "type": "SpecificResource", "source": { "id": "https://example.org/iiif/3d/cameras/mandibular-tooth", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera Pointed At Front of Cranium and Mandible"]}, + "label": { + "en": [ + "Perspective Camera Pointed At Front of Cranium and Mandible" + ] + }, "fieldOfView": 50.0, "near": 0.10, "far": 2000.0 @@ -103,15 +127,23 @@ { "id": "https://example.org/iiif/3d/anno6", "type": "Annotation", - "motivation": ["painting"], - "behavior": ["hidden"], + "motivation": [ + "painting" + ], + "behavior": [ + "hidden" + ], "body": { "id": "https://example.org/iiif/3d/anno6/body", "type": "SpecificResource", "source": { "id": "https://example.org/iiif/3d/cameras/hamulus", "type": "PerspectiveCamera", - "label": {"en": ["Perspective Camera Pointed At Pterygoid Hamulus"]}, + "label": { + "en": [ + "Perspective Camera Pointed At Pterygoid Hamulus" + ] + }, "fieldOfView": 50.0, "near": 0.10, "far": 2000.0 @@ -144,101 +176,117 @@ } ] } - ] - } - ], - "annotations": [ - { - "id": "https://example.org/iiif/scene1/page/p1/annotations/1", - "type": "AnnotationPage", - "items": [ + ], + "annotations": [ { - "id": "https://example.org/iiif/3d/anno7", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "type": "TextualBody", - "value": "Mandibular tooth" - }, - "target": { - "id": "https://example.org/iiif/3d/anno7/target", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" - }, - "selector": [ - { - "type": "PointSelector", - "x": 0.011, - "y": 0.069, - "z": 0.231 + "id": "https://example.org/iiif/scene1/page/p1/annotations/1", + "type": "AnnotationPage", + "items": [ + { + "id": "https://example.org/iiif/3d/anno7", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "type": "TextualBody", + "value": "Mandibular tooth" + }, + "target": { + "id": "https://example.org/iiif/3d/anno7/target", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "type": "PointSelector", + "x": 0.011, + "y": 0.069, + "z": 0.231 + } + ] } - ] - } - }, - { - "id": "https://example.org/iiif/3d/anno5", - "type": "Annotation", - "motivation": ["commenting"], - "body": { - "type": "TextualBody", - "value": "Right pterygoid hamulus" - }, - "target": { - "id": "https://example.org/iiif/3d/anno5/target", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/scene1", - "type": "Scene" }, - "selector": [ - { - "type": "PointSelector", - "x": 0.040, - "y": 0.063, - "z": -0.066 + { + "id": "https://example.org/iiif/3d/anno5", + "type": "Annotation", + "motivation": [ + "commenting" + ], + "body": { + "type": "TextualBody", + "value": "Right pterygoid hamulus" + }, + "target": { + "id": "https://example.org/iiif/3d/anno5/target", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/scene1", + "type": "Scene" + }, + "selector": [ + { + "type": "PointSelector", + "x": 0.040, + "y": 0.063, + "z": -0.066 + } + ] } - ] - } - }, - { - "id": "https://example.org/iiif/3d/activating/tooth", - "type": "Annotation", - "motivation": ["activating"], - "target": { - "id": "https://example.org/iiif/3d/anno7", - "type": "Annotation" - }, - "body": { - "id": "https://example.org/iiif/3d/activating/tooth/body", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/3d/anno8", - "type": "Annotation" }, - "action": ["show", "enable", "select"] - } - }, - { - "id": "https://example.org/iiif/3d/activating/hamulus", - "type": "Annotation", - "motivation": ["activating"], - "target": { - "id": "https://example.org/iiif/3d/anno5", - "type": "Annotation" - }, - "body": { - "id": "https://example.org/iiif/3d/activating/hamulus/body", - "type": "SpecificResource", - "source": { - "id": "https://example.org/iiif/3d/anno6", - "type": "Annotation" + { + "id": "https://example.org/iiif/3d/activating/tooth", + "type": "Annotation", + "motivation": [ + "activating" + ], + "target": { + "id": "https://example.org/iiif/3d/anno7", + "type": "Annotation" + }, + "body": { + "id": "https://example.org/iiif/3d/activating/tooth/body", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/3d/anno8", + "type": "Annotation" + }, + "action": [ + "show", + "enable", + "select" + ] + } }, - "action": ["show", "enable", "select"] - } + { + "id": "https://example.org/iiif/3d/activating/hamulus", + "type": "Annotation", + "motivation": [ + "activating" + ], + "target": { + "id": "https://example.org/iiif/3d/anno5", + "type": "Annotation" + }, + "body": { + "id": "https://example.org/iiif/3d/activating/hamulus/body", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/3d/anno6", + "type": "Annotation" + }, + "action": [ + "show", + "enable", + "select" + ] + } + } + ] } ] } ] -} +} \ No newline at end of file