Last active
January 15, 2025 06:32
-
-
Save rsimon/84e7ec24a0e2e6f38f4e4cf8ea6463b2 to your computer and use it in GitHub Desktop.
Test Manifest
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
{ | |
"@context": "http://iiif.io/api/presentation/3/context.json", | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/manifest.json", | |
"type": "Manifest", | |
"label": { | |
"en": [ | |
"Single Image Example" | |
] | |
}, | |
"items": [ | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1", | |
"type": "Canvas", | |
"height": 1800, | |
"width": 1200, | |
"items": [ | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/page/p1/1", | |
"type": "AnnotationPage", | |
"items": [ | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/annotation/p0001-image", | |
"type": "Annotation", | |
"motivation": "painting", | |
"body": { | |
"id": "http://iiif.io/api/presentation/2.1/example/fixtures/resources/page1-full.png", | |
"type": "Image", | |
"format": "image/png", | |
"height": 1800, | |
"width": 1200 | |
}, | |
"target": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1" | |
} | |
] | |
} | |
], | |
"annotations": [ | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1/page/p1", | |
"type": "AnnotationPage", | |
"items": [ | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1/47fecdae-a9be-4248-8afe-02036494018b", | |
"type": "Annotation", | |
"motivation": "commenting", | |
"body": [ | |
{ | |
"created": "2025-01-15T06:11:56.421Z", | |
"creator": "Rainer Simon", | |
"purpose": "commenting", | |
"type": "TextualBody", | |
"format": "text/html", | |
"value": "<p>Test (rectangle)</p>" | |
} | |
], | |
"target": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1#xywh=212,37,795,118" | |
}, | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1/058f22b4-f7d5-43e2-a9bb-12985338aae8", | |
"type": "Annotation", | |
"motivation": "commenting", | |
"body": [ | |
{ | |
"created": "2025-01-15T06:12:07.539Z", | |
"creator": "Rainer Simon", | |
"purpose": "commenting", | |
"type": "TextualBody", | |
"format": "text/html", | |
"value": "<p>Test (polygon)</p>" | |
} | |
], | |
"target": { | |
"type": "SpecificResource", | |
"source": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1", | |
"selector": { | |
"type": "SvgSelector", | |
"value": "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g><polygon points='242,633 340,552 948,1173 859,1249' /></g></svg>" | |
} | |
} | |
}, | |
{ | |
"id": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1/0654ce3a-f0a1-4f01-9a6e-531bb62d1e3e", | |
"type": "Annotation", | |
"motivation": "commenting", | |
"body": [ | |
{ | |
"created": "2025-01-15T06:12:16.154Z", | |
"creator": "Rainer Simon", | |
"purpose": "commenting", | |
"type": "TextualBody", | |
"format": "text/html", | |
"value": "<p>Test (ellipse)</p>" | |
} | |
], | |
"target": { | |
"type": "SpecificResource", | |
"source": "https://iiif.io/api/cookbook/recipe/0001-mvm-image/canvas/p1", | |
"selector": { | |
"type": "SvgSelector", | |
"value": "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g><path d='M270.000000,1900.000000 L1530.000000,1900.000000 L1530.000000,1610.000000 L1315.000000,1300.000000 L1200.000000,986.000000 L904.000000,661.000000 L600.000000,986.000000 L500.000000,1300.000000 L270,1630 L270.000000,1900.000000' /></g></svg>" | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment