|
| 1 | +{ |
| 2 | + "@context": "http://iiif.io/api/presentation/4/context.json", |
| 3 | + "id": "https://example.org/iiif/3d/astronaut_comment.json", |
| 4 | + "type": "Manifest", |
| 5 | + "label": { "en": ["Single Model with Comment Annotations"] }, |
| 6 | + "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."] }, |
| 7 | + "items": [ |
| 8 | + { |
| 9 | + "id": "https://example.org/iiif/scene1/page/p1/1", |
| 10 | + "type": "Scene", |
| 11 | + "label": { "en": ["A Scene"] }, |
| 12 | + "items": [ |
| 13 | + { |
| 14 | + "id": "https://example.org/iiif/scene1/page/p1/1", |
| 15 | + "type": "AnnotationPage", |
| 16 | + "items": [ |
| 17 | + { |
| 18 | + "id": "https://example.org/iiif/3d/anno1", |
| 19 | + "type": "Annotation", |
| 20 | + "motivation": ["painting"], |
| 21 | + "body": { |
| 22 | + "id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb", |
| 23 | + "type": "Model", |
| 24 | + "format": "model/gltf-binary" |
| 25 | + }, |
| 26 | + "target": "https://example.org/iiif/scene1/page/p1/1" |
| 27 | + } |
| 28 | + ] |
| 29 | + } |
| 30 | + ], |
| 31 | + "annotations": [ |
| 32 | + { |
| 33 | + "id": "https://example.org/iiif/scene1/page/p2/1", |
| 34 | + "type": "AnnotationPage", |
| 35 | + "items": [ |
| 36 | + { |
| 37 | + "id": "https://example.org/iiif/3d/anno2", |
| 38 | + "type": "Annotation", |
| 39 | + "motivation": ["commenting"], |
| 40 | + "bodyValue": "Glove", |
| 41 | + "target": { |
| 42 | + "type": "SpecificResource", |
| 43 | + "source": [ |
| 44 | + { |
| 45 | + "id": "https://example.org/iiif/scene1/page/p1/1", |
| 46 | + "type": "Scene" |
| 47 | + } |
| 48 | + ], |
| 49 | + "selector": [ |
| 50 | + { |
| 51 | + "type": "PointSelector", |
| 52 | + "x": 1.075, |
| 53 | + "y": 1.894, |
| 54 | + "z": 0.204 |
| 55 | + } |
| 56 | + ] |
| 57 | + } |
| 58 | + }, |
| 59 | + { |
| 60 | + "id": "https://example.org/iiif/3d/anno3", |
| 61 | + "type": "Annotation", |
| 62 | + "motivation": ["commenting"], |
| 63 | + "bodyValue": "Helmet", |
| 64 | + "target": { |
| 65 | + "type": "SpecificResource", |
| 66 | + "source": [ |
| 67 | + { |
| 68 | + "id": "https://example.org/iiif/scene1/page/p1/1", |
| 69 | + "type": "Scene" |
| 70 | + } |
| 71 | + ], |
| 72 | + "selector": [ |
| 73 | + { |
| 74 | + "type": "PointSelector", |
| 75 | + "x": 0.006, |
| 76 | + "y": 3.498, |
| 77 | + "z": 0.703 |
| 78 | + } |
| 79 | + ] |
| 80 | + } |
| 81 | + } |
| 82 | + ] |
| 83 | + } |
| 84 | + ] |
| 85 | + } |
| 86 | + ] |
| 87 | +} |
0 commit comments