Created
February 2, 2015 14:34
-
-
Save sdellis/9eeea02a3862a5107be1 to your computer and use it in GitHub Desktop.
Manifest JSON Sample
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/2/context.json", | |
"@type":"sc:Manifest", | |
"@id":"http://www.example.org/iiif/book1/manifest", | |
"label":"Book 1", | |
"metadata": [ | |
{"label":"Author", "value":"Anne Author"}, | |
{"label":"Published", "value": [ | |
{"@value": "Paris, circa 1400", "@language":"en"}, | |
{"@value": "Paris, environ 14eme siecle", "@language":"fr"} | |
] | |
} | |
], | |
"description":"A longer description of this example book. It should give some real information.", | |
"license":"http://www.example.org/license.html", | |
"attribution":"Provided by Example Organization", | |
"service": { | |
"@context": "http://example.org/ns/jsonld/context.json", | |
"@id": "http://example.org/service/example", | |
"profile": "http://example.org/docs/example-service.html" | |
}, | |
"seeAlso": | |
{ | |
"@id": "http://www.example.org/library/catalog/book1.marc", | |
"format": "application/marc" | |
}, | |
"within":"http://www.example.org/collections/books/", | |
"sequences" : [ | |
{ | |
"@id":"http://www.example.org/iiif/book1/sequence/normal", | |
"@type":"sc:Sequence", | |
"label":"Current Page Order", | |
"viewingDirection":"left-to-right", | |
"viewingHint":"paged", | |
"canvases": [ | |
{ | |
"@id":"http://www.example.org/iiif/book1/canvas/p1", | |
"@type":"sc:Canvas", | |
"label":"p. 1", | |
"height":1000, | |
"width":750, | |
"images": [ | |
{ | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"resource":{ | |
"@id":"http://www.example.org/iiif/book1/res/page1.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"service": { | |
"@context": "http://iiif.io/api/image/2/context.json", | |
"@id": "http://www.example.org/images/book1-page1", | |
"profile":"http://iiif.io/api/image/2/level1.json" | |
}, | |
"height":2000, | |
"width":1500 | |
}, | |
"on":"http://www.example.org/iiif/book1/canvas/p1" | |
} | |
], | |
"otherContent": [ | |
{ | |
"@id":"http://www.example.org/iiif/book1/list/p1", | |
"@type":"sc:AnnotationList" | |
} | |
] | |
}, | |
{ | |
"@id":"http://www.example.org/iiif/book1/canvas/p2", | |
"@type":"sc:Canvas", | |
"label":"p. 2", | |
"height":1000, | |
"width":750, | |
"images": [ | |
{ | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"resource":{ | |
"@id":"http://www.example.org/images/book1-page2/full/1500,2000/0/default.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"height":2000, | |
"width":1500, | |
"service": { | |
"@context": "http://iiif.io/api/image/2/context.json", | |
"@id": "http://www.example.org/images/book1-page2", | |
"profile":"http://iiif.io/api/image/2/level1.json", | |
"height":8000, | |
"width":6000, | |
"tiles" : [{"width": 512, "scaleFactors": [1,2,4,8,16]}] | |
} | |
}, | |
"on":"http://www.example.org/iiif/book1/canvas/p2" | |
} | |
], | |
"otherContent": [ | |
{ | |
"@id":"http://www.example.org/iiif/book1/list/p2", | |
"@type":"sc:AnnotationList" | |
} | |
] | |
}, | |
{ | |
"@id":"http://www.example.org/iiif/book1/canvas/p3", | |
"@type":"sc:Canvas", | |
"label":"p. 3", | |
"height":1000, | |
"width":750, | |
"images": [ | |
{ | |
"@type":"oa:Annotation", | |
"motivation":"sc:painting", | |
"resource":{ | |
"@id":"http://www.example.org/iiif/book1/res/page3.jpg", | |
"@type":"dctypes:Image", | |
"format":"image/jpeg", | |
"service": { | |
"@context": "http://iiif.io/api/image/2/context.json", | |
"@id": "http://www.example.org/images/book1-page3", | |
"profile":"http://iiif.io/api/image/2/level1.json" | |
}, | |
"height":2000, | |
"width":1500 | |
}, | |
"on":"http://www.example.org/iiif/book1/canvas/p3" | |
} | |
], | |
"otherContent": [ | |
{ | |
"@id":"http://www.example.org/iiif/book1/list/p3", | |
"@type":"sc:AnnotationList" | |
} | |
] | |
} | |
] | |
} | |
], | |
"structures": [ | |
{ | |
"@id": "http://www.example.org/iiif/book1/range/r1", | |
"@type":"sc:Range", | |
"label":"Introduction", | |
"canvases": [ | |
"http://www.example.org/iiif/book1/canvas/p1", | |
"http://www.example.org/iiif/book1/canvas/p2", | |
"http://www.example.org/iiif/book1/canvas/p3#xywh=0,0,750,300" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment