Skip to content

Instantly share code, notes, and snippets.

@jpstroop
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpstroop/9102706 to your computer and use it in GitHub Desktop.
Save jpstroop/9102706 to your computer and use it in GitHub Desktop.
{
"@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