-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from IIIF/fix_annotations_in_wrong_place
Tightening up definition of AnnotationPage
- Loading branch information
Showing
4 changed files
with
126 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"@context": "http://iiif.io/api/presentation/3/context.json", | ||
"id": "https://example.com/broken_embedded_annos.json", | ||
"type": "Manifest", | ||
"label": { | ||
"en": [ | ||
"Audio Recording annotation with annotations in Canvas items rather than canvas/annotations" | ||
] | ||
}, | ||
"items": [ | ||
{ | ||
"id": "https://example.com/annos/canvas/1", | ||
"type": "Canvas", | ||
"duration": 107, | ||
"items": [ | ||
{ | ||
"id": "https://example.com/annos/canvas/1/paintings", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "https://example.com/annos/canvas/1/painting/1", | ||
"type": "Annotation", | ||
"motivation": "painting", | ||
"body": { | ||
"id": "https://library.harvard.edu/poetry/audio/listeningbooth/PS3537E915A6x1974/Her_Kind.mp3", | ||
"type": "Sound", | ||
"format": "audio/mp3", | ||
"duration": 107 | ||
}, | ||
"target": "https://example.com/annos/canvas/1" | ||
} | ||
], | ||
"annotations": [ | ||
{ | ||
"id": "https://example.com/annos/annotations.json", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"@context": "http://www.w3.org/ns/anno.jsonld", | ||
"id": "https://example.com/annos/canvas/1/annotation/1", | ||
"type": "Annotation", | ||
"motivation": "commenting", | ||
"body": { | ||
"type": "TextualBody", | ||
"value": "breath", | ||
"format": "text/plain" | ||
}, | ||
"target": { | ||
"source": "https://example.com/annos/canvas/1", | ||
"selector": { | ||
"type": "PointSelector", | ||
"t": "27.660653" | ||
} | ||
} | ||
}, | ||
{ | ||
"@context": "http://www.w3.org/ns/anno.jsonld", | ||
"id": "https://example.com/annos/canvas/1/annotation/2", | ||
"type": "Annotation", | ||
"motivation": "commenting", | ||
"body": { | ||
"type": "TextualBody", | ||
"value": "her kind", | ||
"format": "text/plain" | ||
}, | ||
"target": { | ||
"source": "https://example.com/annos/canvas/1", | ||
"selector": { | ||
"type": "RangeSelector", | ||
"t": "46.734653,47.875068" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters