Skip to content

Instantly share code, notes, and snippets.

@kdlogan19
Created February 17, 2021 01:00
Show Gist options
  • Save kdlogan19/a315339629a98203de602180ba8b5242 to your computer and use it in GitHub Desktop.
Save kdlogan19/a315339629a98203de602180ba8b5242 to your computer and use it in GitHub Desktop.
{
"@context": [
"http://iiif.io/api/image/3/context.json"
],
"id": "https://example.org/image-service/abcd12345/1E34750D-38DB-4825-A38A-B60A345E591C",
"type": "ImageService3",
"protocol": "http://iiif.io/api/image",
"profile": "level2",
"width": 6000,
"height": 4000,
"seeAlso": [
{
"id": "https://example.org/image1.xml",
"label": { "en": [ "Technical image metadata" ] },
"type": "Dataset",
"format": "text/xml",
"profile": "https://example.org/profiles/imagedata"
}
],
"partOf": [
{
"id": "https://example.org/manifest/1",
"type": "Manifest",
"label": { "en": [ "A Book" ] }
}
],
"service": [
{
"@id": "https://example.org/auth/login",
"@type": "AuthCookieService1",
"profile": "http://iiif.io/api/auth/1/login",
"label": "Login to Example Institution"
}
]
}
5.9. Complete Response
The following shows an image information response including all of the required and optional properties.
{
"@context": [
"http://example.org/extension/context1.json",
"http://iiif.io/api/image/3/context.json"
],
"id": "https://example.org/image-service/abcd1234/1E34750D-38DB-4825-A38A-B60A345E591C",
"type": "ImageService3",
"protocol": "http://iiif.io/api/image",
"profile": "level1",
"width": 6000,
"height": 4000,
"maxWidth": 3000,
"maxHeight": 2000,
"maxArea": 4000000,
"sizes": [
{ "width": 150, "height": 100 },
{ "width": 600, "height": 400 },
{ "width": 3000, "height": 2000 }
],
"tiles": [
{ "width": 512, "scaleFactors": [ 1, 2, 4 ] },
{ "width": 1024, "height": 2048, "scaleFactors": [ 8, 16 ] }
],
"rights": "http://rightsstatements.org/vocab/InC-EDU/1.0/",
"preferredFormats": [ "png", "gif"],
"extraFormats": [ "png", "gif", "pdf" ],
"extraQualities": [ "color", "gray" ],
"extraFeatures": [ "canonicalLinkHeader", "rotationArbitrary", "profileLinkHeader" ],
"service": [
{
"id": "https://example.org/service/example",
"type": "Service",
"profile": "https://example.org/docs/example-service.html"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment