Created
February 18, 2021 20:19
-
-
Save mcwhitaker/b7fe171cb3d279764d4019591a259d11 to your computer and use it in GitHub Desktop.
IIIF Manifest that models the use case of a transcript file not convertible to webAnnotations for lack of time codes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": [ | |
"http://www.w3.org/ns/anno.jsonld", | |
"http://iiif.io/api/presentation/3/context.json" | |
], | |
"type": "Manifest", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest", | |
"label": { | |
"@none": [ | |
"Multi-section Item" | |
] | |
}, | |
"metadata": [ | |
{ | |
"label": { | |
"@none": [ | |
"Title" | |
] | |
}, | |
"value": { | |
"@none": [ | |
"Multi-section Item" | |
] | |
} | |
}, | |
{ | |
"label": { | |
"@none": [ | |
"Date Issued" | |
] | |
}, | |
"value": { | |
"@none": [ | |
"2019" | |
] | |
} | |
} | |
], | |
"rendering": [ | |
{ | |
"id": "https://path/to/my/transcript.txt", | |
"type": "Text", | |
"label": { | |
"en": [ | |
"Transcript" | |
] | |
}, | |
"format": "text/txt" | |
} | |
], | |
"homepage": { | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280", | |
"type": "Text", | |
"label": { | |
"@none": [ | |
"View in Repository" | |
] | |
}, | |
"format": "text/html" | |
}, | |
"items": [ | |
{ | |
"type": "Canvas", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/canvas/c821gj948", | |
"items": [ | |
{ | |
"type": "AnnotationPage", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/canvas/c821gj948/annotation_page/100a06f8-3938-4cc3-8546-b5744b6fc59e", | |
"items": [ | |
{ | |
"type": "Annotation", | |
"motivation": "painting", | |
"target": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/canvas/c821gj948", | |
"body": { | |
"type": "Choice", | |
"choiceHint": "user", | |
"items": [ | |
{ | |
"id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/auto.m3u8", | |
"type": "Sound", | |
"duration": 397.531, | |
"label": { | |
"@none": [ | |
"auto" | |
] | |
}, | |
"service": [ | |
{ | |
"context": "http://iiif.io/api/auth/1/context.json", | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_in?login_popup=1", | |
"@type": "AuthCookieService1", | |
"confirmLabel": "Login", | |
"description": "Avalon Application requires that you log in with your account to view this content.", | |
"failureDescription": "\\u003ca href=\"http://example.org/policy\"\\u003eAccess Policy\\u003c/a\\u003e", | |
"failureHeader": "Authentication Failed", | |
"header": "Please Log In", | |
"label": "Login Required", | |
"profile": "http://iiif.io/api/auth/1/login", | |
"service": [ | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/auto.m3u8", | |
"@type": "AuthProbeService1", | |
"profile": "http://iiif.io/api/auth/1/probe" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/iiif_auth_token/c821gj948", | |
"@type": "AuthTokenService1", | |
"profile": "http://iiif.io/api/auth/1/token" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_out", | |
"@type": "AuthLogoutService1", | |
"label": "Log out", | |
"profile": "http://iiif.io/api/auth/1/logout" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/high.m3u8", | |
"type": "Sound", | |
"duration": 397.531, | |
"label": { | |
"@none": [ | |
"high" | |
] | |
}, | |
"service": [ | |
{ | |
"context": "http://iiif.io/api/auth/1/context.json", | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_in?login_popup=1", | |
"@type": "AuthCookieService1", | |
"confirmLabel": "Login", | |
"description": "Avalon Application requires that you log in with your account to view this content.", | |
"failureDescription": "\\u003ca href=\"http://example.org/policy\"\\u003eAccess Policy\\u003c/a\\u003e", | |
"failureHeader": "Authentication Failed", | |
"header": "Please Log In", | |
"label": "Login Required", | |
"profile": "http://iiif.io/api/auth/1/login", | |
"service": [ | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/high.m3u8", | |
"@type": "AuthProbeService1", | |
"profile": "http://iiif.io/api/auth/1/probe" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/iiif_auth_token/c821gj948", | |
"@type": "AuthTokenService1", | |
"profile": "http://iiif.io/api/auth/1/token" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_out", | |
"@type": "AuthLogoutService1", | |
"label": "Log out", | |
"profile": "http://iiif.io/api/auth/1/logout" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/medium.m3u8", | |
"type": "Sound", | |
"duration": 397.531, | |
"label": { | |
"@none": [ | |
"medium" | |
] | |
}, | |
"service": [ | |
{ | |
"context": "http://iiif.io/api/auth/1/context.json", | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_in?login_popup=1", | |
"@type": "AuthCookieService1", | |
"confirmLabel": "Login", | |
"description": "Avalon Application requires that you log in with your account to view this content.", | |
"failureDescription": "\\u003ca href=\"http://example.org/policy\"\\u003eAccess Policy\\u003c/a\\u003e", | |
"failureHeader": "Authentication Failed", | |
"header": "Please Log In", | |
"label": "Login Required", | |
"profile": "http://iiif.io/api/auth/1/login", | |
"service": [ | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/master_files/c821gj948/medium.m3u8", | |
"@type": "AuthProbeService1", | |
"profile": "http://iiif.io/api/auth/1/probe" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/iiif_auth_token/c821gj948", | |
"@type": "AuthTokenService1", | |
"profile": "http://iiif.io/api/auth/1/token" | |
}, | |
{ | |
"@id": "https://spruce.dlib.indiana.edu/users/sign_out", | |
"@type": "AuthLogoutService1", | |
"label": "Log out", | |
"profile": "http://iiif.io/api/auth/1/logout" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
} | |
] | |
} | |
], | |
"width": null, | |
"height": null, | |
"duration": 397.531 | |
} | |
], | |
"structures": [ | |
{ | |
"type": "Range", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/range/r19d32083-8b38-444a-9bc0-ac31bac6c304", | |
"label": null, | |
"behavior": "top", | |
"items": [ | |
{ | |
"type": "Range", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/range/r7a5dabd8-c2ab-48ef-aa1d-9743a58e6475", | |
"label": null, | |
"items": [ | |
{ | |
"type": "Canvas", | |
"id": "https://spruce.dlib.indiana.edu/media_objects/9593tv280/manifest/canvas/c821gj948#t=0," | |
} | |
] | |
} | |
] | |
} | |
], | |
"thumbnail": [ | |
{ | |
"id": "/assets/audio_icon-7782bcf9fd5d81f1e3e3f260ed569c24dea47d0a2a5bd0a4629328c76e8886c6.png", | |
"type": "Image" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment