Changes
Page history
Update IIIF annotation framework
authored
Dec 07, 2022
by
David Rouquet
Show whitespace changes
Inline
Side-by-side
IIIF-annotation-framework.md
View page @
86c63f82
...
...
@@ -82,156 +82,9 @@ or
}
```
###
# Id
###
Complete examples
#### Motivation comment
#### Target
##### Time frame
##### Spatial frame
### Complete example
```
"annotations": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/1",
"type": "AnnotationPage",
"items": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/1/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"language": "fr",
"value": "<a href=\"http://am-cb.net/docs/AMCB-HKN-FicheTech.pdf\" target=\"_blank\">Fiche technique</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1"
}
]
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/2",
"type": "AnnotationPage",
"items": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/2/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"language": "fr",
"value": "<a href=\"http://localhost:8080/data/demo-content/Hakanai/media/01_HKN-StoryBoard2-Dec2013.pdf\" target=\"_blank\">Storyboard</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1"
}
]
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/3",
"type": "AnnotationPage",
"items": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/3/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"language": "fr",
"value": "<a href=\"https://www.am-cb.net/docs/AMCB-HKN-Dossier.pdf\" target=\"_blank\">Dossier de présentation</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1"
}
]
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/4",
"type": "Annotation",
"motivation": "supplementing",
"body": {
"id": "http://localhost:8080/data/demo-content/Hakanai/media/10_HKN-Garges_A2B4243.JPG",
"type": "Image",
"format": "image/jpg",
"value": "<a href=\"http://localhost:8080/data/demo-content/Hakanai/media/10_HKN-Garges_A2B4243.JPG\" target=\"_blank\">Dispositif</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1"
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/5",
"type": "AnnotationPage",
"items": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/5/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"id": "http://localhost:8080/data/demo-content/Hakanai/media/02_HKN-couv.jpg",
"type": "Image",
"format": "image/jpg",
"value": "<a href=\"https://www.am-cb.net/docs/AMCB-HKN-Dossier.pdf\" target=\"_blank\">CARNET : Couverture</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1#xywh=1600,50,301,400&t=5,10"
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/5/2",
"type": "Annotation",
"motivation": "commenting",
"body": {
"id": "http://localhost:8080/data/demo-content/Hakanai/media/06_HKN-2012-10-04.jpg",
"type": "Image",
"format": "image/jpg",
"value": "<a href=\"http://localhost:8080/data/demo-content/Hakanai/media/06_HKN-2012-10-04.jpg\" target=\"_blank\">CARNET : Octobre 2012</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1#xywh=1100,50,818,510&t=10,15"
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/5/3",
"type": "Annotation",
"motivation": "commenting",
"body": {
"id": "http://localhost:8080/data/demo-content/Hakanai/media/07_HKN-2012-10-13.jpg",
"type": "Image",
"format": "image/jpg",
"value": "<a href=\"http://localhost:8080/data/demo-content/Hakanai/media/07_HKN-2012-10-13.jpg\" target=\"_blank\">CARNET : Octobre 2012 (2)</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1#xywh=1100,50,818,510&t=15,20"
}
]
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/1/annotation/6",
"type": "AnnotationPage",
"items": [
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/6/1",
"type": "Annotation",
"motivation": "commenting",
"body": {
"id": "http://localhost:8080/data/demo-content/Hakanai/media/10_HKN-Garges_A2B4243.JPG",
"type": "Image",
"format": "image/jpg"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1#xywh=1100,50,818,510&t=28,40"
},
{
"id": "http://localhost:8080/data/demo-content/Hakanai/canvas/&/annotation/6/2",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"language": "fr",
"value": "<a href=\"http://localhost:8080/data/demo-content/Hakanai/media/10_HKN-Garges_A2B4243.JPG\" target=\"_blank\">Dispositif</a>"
},
"target": "http://localhost:8080/data/demo-content/Hakanai/canvas/1#xywh=100,50,1700,1000&t=30,34"
}
]
}
]
```
Complete exemples are available in the following repo : https://gitlab.tetras-libre.fr/iiif/demo-content/
## With an annotation server
...
...
@@ -247,8 +100,12 @@ A function to incorporate annotations from an annotation server to a manifest co
# "Methods" attached to an annotation
We must be able to achieve the following with an annotation
## View
When opening a manifest (image or video), we must see that annotations exist.The follo
## Navigate
## Open / Consult
...
...
...
...