Skip to content

Instantly share code, notes, and snippets.

@jpstroop

jpstroop/capabilities.json

Last active Aug 29, 2015
Embed
What would you like to do?
{
"@context" : [
"http://iiif.io/api/image-api/context.json",
{
"ext" : "http://www.shared-canvas.org/iiif/ext/",
"ext:watermarking" : {"@type" : "xsd:boolean"}
}
],
"@id" : "http://libimages.princeton.edu/loris",
"contact" : "mailto:admin@example.com",
"contentNegotiation" : "true",
"defaultFormat" : "jpg",
"regionByPct" : "true",
"regionByPx" : "true",
"rotationArbitrary" : "true",
"rotationBy90s" : "true",
"sizeByForcedWH" : "true",
"sizeByH" : "true",
"sizeByPct" : "true",
"sizeByW" : "true",
"sizeByWH" : "true",
"ext:watermarking" : "true",
"extensions" : [
{
"@id" : "ext:watermarking",
"description" : "For degraded images, a watermark of the repository will be applied by the server"
}
]
}
{
"@context": {
"@vocab" : "http://iiif.io/api/image-api#",
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"description": "http://purl.org/dc/terms/description",
"http_delete" : { "@type" : "xsd:boolean" },
"http_post" : { "@type" : "xsd:boolean" },
"http_put" : { "@type" : "xsd:boolean" },
"contentNegotiation" : { "@type" : "xsd:boolean" },
"enabled" : { "@type" : "xsd:boolean" },
"feature01325" : { "@type" : "xsd:boolean" },
"regionByPct" : { "@type" : "xsd:boolean" },
"regionByPx" : { "@type" : "xsd:boolean" },
"rotationArbitrary" : { "@type" : "xsd:boolean" },
"rotationBy90s" : { "@type" : "xsd:boolean" },
"sizeByForcedWH" : { "@type" : "xsd:boolean" },
"sizeByH" : { "@type" : "xsd:boolean" },
"sizeByPct" : { "@type" : "xsd:boolean" },
"sizeByW" : { "@type" : "xsd:boolean" },
"sizeByWH" : { "@type" : "xsd:boolean" }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment