Skip to content

Instantly share code, notes, and snippets.

@krunal86
Created August 31, 2019 19:47
Show Gist options
  • Save krunal86/37a708d6626d189487286dfa263b1675 to your computer and use it in GitHub Desktop.
Save krunal86/37a708d6626d189487286dfa263b1675 to your computer and use it in GitHub Desktop.
Sample Manifest
{
"_id": "5d0760f4bc341009f7fe1c4f",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/manifest",
"@type": "sc:Manifest",
"label": "Dalgairns, John Dobrée Bernard, 1818-1876 to Newman, John Henry, 1801-1890",
"metadata": [
{
"label": "Identifier",
"value": "B001-A001-D068"
},
{
"label": "Call Number",
"value": "B001-A001-D068"
},
{
"label": "Collection",
"value": "Birmingham Oratory"
},
{
"label": "Creator",
"value": "Dalgairns, John Dobrée Bernard, 1818-1876"
},
{
"label": "Contributor",
"value": "Newman, John Henry, 1801-1890"
},
{
"label": "Date",
"value": "1845-11-01"
},
{
"label": "Page Count",
"value": "5"
},
{
"label": "Coverage",
"value": "Ratcliffe College"
},
{
"label": "Location",
"value": "Oratory Birmingham,e-resource"
},
{
"label": "Type",
"value": "Text"
},
{
"label": "Content Type",
"value": "Letter"
},
{
"label": "Subject",
"value": "Congregational"
},
{
"label": "Language",
"value": "English"
}
],
"description": "Life at Oscott",
"license": "http://qa.nins.demotrt.com/terms",
"logo": {
"@id": "https://s3.ap-south-1.amazonaws.com/dev.admin.nins.demotrt.com/images/logo/nins-logo.png"
},
"sequences": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/sequence/aa873b68-6f8c-4833-9327-0160931aa266",
"@type": "sc:Sequence",
"viewingDirection": "left-to-right",
"viewingHint": "individuals",
"label": [
{
"@value": "Normal Sequence",
"@language": "en"
}
],
"canvases": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/1bd29987-f44c-4c8c-afa2-ee1c80fad4ea",
"@type": "sc:Canvas",
"width": 4813,
"height": 6500,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D056_P001.jp2",
"protocol": "http://iiif.io/api/image",
"width": 4813,
"height": 6500,
"sizes": [
{
"width": 75,
"height": 102
},
{
"width": 150,
"height": 203
},
{
"width": 301,
"height": 406
},
{
"width": 602,
"height": 813
},
{
"width": 1203,
"height": 1625
},
{
"width": 2407,
"height": 3250
},
{
"width": 4813,
"height": 6500
}
],
"tiles": [
{
"width": 1204,
"height": 1625,
"scaleFactors": [
1,
2,
4,
8,
16,
32,
64
]
}
],
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"on": "http://1bd29987-f44c-4c8c-afa2-ee1c80fad4ea"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/1bd29987-f44c-4c8c-afa2-ee1c80fad4ea"
}
],
"otherContent": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/1bd29987-f44c-4c8c-afa2-ee1c80fad4ea",
"@type": "sc:AnnotationList"
}
]
},
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/dd0021b4-83c6-49ed-8194-2df6d74f0450",
"@type": "sc:Canvas",
"width": 6500,
"height": 5131,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D056_P002.jp2",
"protocol": "http://iiif.io/api/image",
"width": 6500,
"height": 5131,
"sizes": [
{
"width": 102,
"height": 80
},
{
"width": 203,
"height": 160
},
{
"width": 406,
"height": 321
},
{
"width": 813,
"height": 641
},
{
"width": 1625,
"height": 1283
},
{
"width": 3250,
"height": 2566
},
{
"width": 6500,
"height": 5131
}
],
"tiles": [
{
"width": 1625,
"height": 1283,
"scaleFactors": [
1,
2,
4,
8,
16,
32,
64
]
}
],
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"on": "http://dd0021b4-83c6-49ed-8194-2df6d74f0450"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/dd0021b4-83c6-49ed-8194-2df6d74f0450"
}
],
"otherContent": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/dd0021b4-83c6-49ed-8194-2df6d74f0450",
"@type": "sc:AnnotationList"
}
]
},
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/d21a24b1-fe53-47b4-8658-e99fdbda3415",
"@type": "sc:Canvas",
"width": 4186,
"height": 6500,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D056_P003.jp2",
"protocol": "http://iiif.io/api/image",
"width": 4186,
"height": 6500,
"sizes": [
{
"width": 65,
"height": 102
},
{
"width": 131,
"height": 203
},
{
"width": 262,
"height": 406
},
{
"width": 523,
"height": 813
},
{
"width": 1047,
"height": 1625
},
{
"width": 2093,
"height": 3250
},
{
"width": 4186,
"height": 6500
}
],
"tiles": [
{
"width": 1047,
"height": 1625,
"scaleFactors": [
1,
2,
4,
8,
16,
32,
64
]
}
],
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"on": "http://d21a24b1-fe53-47b4-8658-e99fdbda3415"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/d21a24b1-fe53-47b4-8658-e99fdbda3415"
}
],
"otherContent": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/d21a24b1-fe53-47b4-8658-e99fdbda3415",
"@type": "sc:AnnotationList"
}
]
},
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/a6220ea3-00fa-4b71-93bb-bda17b05e2dc",
"@type": "sc:Canvas",
"width": 4239,
"height": 6500,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D057_P001.jp2",
"protocol": "http://iiif.io/api/image",
"width": 4239,
"height": 6500,
"sizes": [
{
"width": 66,
"height": 102
},
{
"width": 132,
"height": 203
},
{
"width": 265,
"height": 406
},
{
"width": 530,
"height": 813
},
{
"width": 1060,
"height": 1625
},
{
"width": 2120,
"height": 3250
},
{
"width": 4239,
"height": 6500
}
],
"tiles": [
{
"width": 1060,
"height": 1625,
"scaleFactors": [
1,
2,
4,
8,
16,
32,
64
]
}
],
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"on": "http://a6220ea3-00fa-4b71-93bb-bda17b05e2dc"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/a6220ea3-00fa-4b71-93bb-bda17b05e2dc"
}
],
"otherContent": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/a6220ea3-00fa-4b71-93bb-bda17b05e2dc",
"@type": "sc:AnnotationList"
}
]
},
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/25c98e3b-91f2-470e-a15b-ddbea9cc47e0",
"@type": "sc:Canvas",
"width": 4419,
"height": 6500,
"images": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D057_P00.jp2",
"protocol": "http://iiif.io/api/image",
"width": 4419,
"height": 6500,
"sizes": [
{
"width": 69,
"height": 102
},
{
"width": 138,
"height": 203
},
{
"width": 276,
"height": 406
},
{
"width": 552,
"height": 813
},
{
"width": 1105,
"height": 1625
},
{
"width": 2210,
"height": 3250
},
{
"width": 4419,
"height": 6500
}
],
"tiles": [
{
"width": 1105,
"height": 1625,
"scaleFactors": [
1,
2,
4,
8,
16,
32,
64
]
}
],
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"jpg",
"tif",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"rotationArbitrary",
"sizeByH",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"on": "http://25c98e3b-91f2-470e-a15b-ddbea9cc47e0"
},
"on": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/canvas/25c98e3b-91f2-470e-a15b-ddbea9cc47e0"
}
],
"otherContent": [
{
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/5d0760f4bc341009f7fe1c4f/contentAsText/25c98e3b-91f2-470e-a15b-ddbea9cc47e0",
"@type": "sc:AnnotationList"
}
]
}
]
}
],
"thumbnail": {
"@id": "http://1bd29987-f44c-4c8c-afa2-ee1c80fad4ea",
"imageUrl": "https://iiif.newmanstudies.org/iiif/2/B1%2FB001%2FA001%2FNewman_B001_A001_D056_P001.jp2/full/100,/0/default.jpg"
},
"seeAlso": [],
"service": [
{
"@context": "http://iiif.io/api/search/0/context.json",
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/annoservices/search/5d0760f4bc341009f7fe1c4f",
"label": "Search within this manifest",
"profile": "http://iiif.io/api/search/0/search",
"service": {
"@id": "https://qa.admin.nins.demotrt.com/v1/digital_document/annoservices/autocomplete/5d0760f4bc341009f7fe1c4f",
"label": "Get suggested words in this manifest",
"profile": "http://iiif.io/api/search/0/autocomplete"
}
}
],
"related": [],
"documentNotes": {
"general_notes": "Corresponds to five-page document B001-A001-D056 and D057",
"document_status": "Original Final",
"publication_origin": " Not Published"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment