Skip to content

Commit ebe82bc

Browse files
committed
add tests for hasAnnotations
1 parent 1458741 commit ebe82bc

3 files changed

Lines changed: 200702 additions & 0 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"@context": "http://iiif.io/api/presentation/3/context.json",
3+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/manifest.json",
4+
"type": "Manifest",
5+
"label": {
6+
"en": [
7+
"Picture of Göttingen taken during the 2019 IIIF Conference"
8+
]
9+
},
10+
"items": [
11+
{
12+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1",
13+
"type": "Canvas",
14+
"height": 3024,
15+
"width": 4032,
16+
"items": [
17+
{
18+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1/annopage-1",
19+
"type": "AnnotationPage",
20+
"items": [
21+
{
22+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1/annopage-1/anno-1",
23+
"type": "Annotation",
24+
"motivation": "painting",
25+
"body": {
26+
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
27+
"type": "Image",
28+
"format": "image/jpeg",
29+
"height": 3024,
30+
"width": 4032,
31+
"service": [
32+
{
33+
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen",
34+
"profile": "level1",
35+
"type": "ImageService3"
36+
}
37+
]
38+
},
39+
"target": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1"
40+
}
41+
]
42+
}
43+
],
44+
"annotations": [
45+
{
46+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1/annopage-2",
47+
"type": "AnnotationPage",
48+
"items": [
49+
{
50+
"id": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1/annopage-2/anno-1",
51+
"type": "Annotation",
52+
"motivation": "commenting",
53+
"body": {
54+
"type": "TextualBody",
55+
"language": "de",
56+
"format": "text/plain",
57+
"value": "Göttinger Marktplatz mit Gänseliesel Brunnen"
58+
},
59+
"target": "https://iiif.io/api/cookbook/recipe/0266-full-canvas-annotation/canvas-1"
60+
}
61+
]
62+
}
63+
]
64+
}
65+
]
66+
}

0 commit comments

Comments
 (0)