Skip to content

Instantly share code, notes, and snippets.

@jeffreycwitt
Created May 23, 2019 18:37
Show Gist options
  • Save jeffreycwitt/a7c836ba96ce5e81131858bd25b0a158 to your computer and use it in GitHub Desktop.
Save jeffreycwitt/a7c836ba96ce5e81131858bd25b0a158 to your computer and use it in GitHub Desktop.
sample manifest at upitt
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://a9afb4a7-3ef0-4e8c-b1d8-6fb30d9621a9",
"@type": "sc:Manifest",
"label": "This is my first manifest",
"metadata": [],
"description": [
{
"@value": "This is a grouping of photos I made at UPitt",
"@language": "en"
}
],
"license": "https://creativecommons.org/licenses/by/3.0/",
"attribution": "Attribute it to ME!",
"sequences": [
{
"@id": "http://345a54fd-9029-4751-a5e4-b85f8adb4026",
"@type": "sc:Sequence",
"label": [
{
"@value": "Normal Sequence",
"@language": "en"
}
],
"canvases": [
{
"@id": "http://78571eb1-02f0-4de2-a969-6ecfbc93218e",
"@type": "sc:Canvas",
"label": "This is wendell",
"height": 724,
"width": 724,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://f7618d87-eeef-497b-bb23-17cd119a5094",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/demo.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/demo.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 524176,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 724,
"width": 724
},
"on": "http://78571eb1-02f0-4de2-a969-6ecfbc93218e"
}
],
"related": ""
},
{
"@id": "http://dcfbe27a-2322-4058-b1c6-0654e956d92b",
"@type": "sc:Canvas",
"label": "St. Peter's square",
"height": 3024,
"width": 4032,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://b0de6be6-dc9a-4193-b1f5-e3a950720218",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/image2.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/image2.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 12192768,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 3024,
"width": 4032
},
"on": "http://dcfbe27a-2322-4058-b1c6-0654e956d92b"
}
],
"related": ""
},
{
"@id": "http://d49e5035-21bf-48aa-b874-8e87baed0553",
"@type": "sc:Canvas",
"label": "oculus",
"height": 4032,
"width": 3024,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://116f4794-6da2-4966-8a00-a678e48c590e",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/image3.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/image3.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 12192768,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 4032,
"width": 3024
},
"on": "http://d49e5035-21bf-48aa-b874-8e87baed0553"
}
],
"related": ""
},
{
"@id": "http://31ec1c4c-2984-4171-87fe-83849d8fbda8",
"@type": "sc:Canvas",
"label": "potsdam",
"height": 4032,
"width": 3024,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://42096498-f47f-42f7-9869-ea1dfb1a7097",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/image4.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/image4.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 12192768,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 4032,
"width": 3024
},
"on": "http://31ec1c4c-2984-4171-87fe-83849d8fbda8"
}
],
"related": ""
},
{
"@id": "http://735ceeaa-bf33-4935-8be0-2e14e94fdeb7",
"@type": "sc:Canvas",
"label": "cool statue",
"height": 4032,
"width": 3024,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://259acba2-4b72-442c-a022-03fb1917891e",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/image6.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/image6.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 12192768,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 4032,
"width": 3024
},
"on": "http://735ceeaa-bf33-4935-8be0-2e14e94fdeb7"
}
],
"related": ""
}
]
}
],
"structures": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment