Skip to content

Commit 804f00c

Browse files
Merge pull request #57 from IIIF/astronaut_commenting
Add astronaut draft manifest with glove and helmet comments
2 parents 25b3e0e + 90e40c8 commit 804f00c

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
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

Comments
 (0)