iiif-templates

IIIF Resource Templates

https://github.com/dasch-swiss/iiif-templates

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary

Keywords

iiif json-ld
Last synced: 6 months ago · JSON representation ·

Repository

IIIF Resource Templates

Basic Info
  • Host: GitHub
  • Owner: dasch-swiss
  • License: apache-2.0
  • Default Branch: main
  • Homepage:
  • Size: 53.7 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
iiif json-ld
Created almost 4 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Citation

README.md

iiif-templates

The repository is comprised of: 1. Various templates designed to be used to serialise resources compatible with the International Image Interoperability Framework (IIIF) Presentation API 3.0 based on use cases hosted by DaSCH 2. Activity Streams Templates compatible with the IIIF Change Discovery API 1.0

IIIF Presentation API 3.0 Resources

On the table below are the main types of resources that could be compliant with the IIIF Presentation API 3.0, which kb:Representation subclass the content has, which type of IIIF Resource they belong to (either Manifest or Collection) as well as the boilerplate in JSON-LD. | Type | kb:Representation subclass of the content | IIIF Resource | Boilerplate | |---------------------------|----------------------------------|-------------------|--------------------------------------------------| | Single image | StillImageRepresentation | Manifest | boilerplate 1 | | Series of images | StillImageRepresentation | Manifest| boilerplate 2 | | | Audio | AudioRepresentation | Manifest | boilerplate 3 | | | Video | MovingImageRepresentation | Manifest | | | 3D representation | DDDrepresentation | Manifest | | | Versatile Object | ObjectWithDifferentRepresentations | Manifest | | | Collection of Manifests | - | Collection | boilerplate 6 | | | Collection of Collections | - | Collection | |

Boilerplate elements

IIIF Manifest

  1. Metadata about the IIIF resource (context, id, type)
  2. Summary (summary)
  3. Descriptive Metadata about the object
  4. Rights Information (rights, requiredStatement)
  5. Related links (logo,homepage, seeAlso, provider, rendering, start)
  6. Presentation information (viewing Direction, navDate, thumbnail)
  7. List of Canvases (items + id, type, label for each resource - see below)

The Canvas represents an individual page or view and acts as a central point for assembling the different content resources that make up the display.

Here is a detailed view of the first boilerplate:

{ "id": "https://raw.githubusercontent.com/dasch-swiss/iiif-templates/main/boilerplates/boilerplate01/canvas/p1", "type": "Canvas", "label": { "none": [ "1383232" ] }, "height": 3276, "width": 2440, "items": [ { "id": "https://raw.githubusercontent.com/dasch-swiss/iiif-templates/main/boilerplates/boilerplate01/canvas/p1/1", "type": "AnnotationPage", "items": [ { "id": "https://raw.githubusercontent.com/dasch-swiss/iiif-templates/main/boilerplates/boilerplate01/p0001-image", "type": "Annotation", "motivation": "painting", "body": { "id": "https://iiif.dasch.swiss/0801/4VjgCwiTn8p-CTaooIqSZBO.jpx/full/max/0/default.jpg", "type": "Image", "format": "image/jpeg", "height": 3276, "width": 2440, "service": [ { "id": "https://iiif.dasch.swiss/0801/4VjgCwiTn8p-CTaooIqSZBO.jpx/", "type": "ImageService3", "profile": "level2" } ] }, "target": "https://raw.githubusercontent.com/dasch-swiss/iiif-templates/main/boilerplates/boilerplate01/canvas/p1/1" } ] } ] }

IIIF Collection

The form for use cases 3 and 4 will have the following components:

  1. Metadata about the IIIF resource (context, id, type)
  2. Summary (summary)
  3. Related links (logo, provider)
  4. List of Manifests/Collections (items + id, type, label for each resource)

Activity Streams Templates

Based on the IIIF Change Discovery API endpoint from the Bodleian Libraries, the following templates were created: - an OrderedCollection (all-changes) - a first OrderedCollectionPage (page-0) - the subsequent pages pointing to each of the IIIF resource boilerplates (either Manifest or Collection) which are all Create activities and can be found in this directory.

Python script

See the daschiiify repository that leverages the iiif-prezi3 library.

Owner

  • Name: DaSCH - Swiss National Data and Service Center for the Humanities
  • Login: dasch-swiss
  • Kind: organization
  • Email: info@dasch.swiss
  • Location: Switzerland

Development repositories of the DaSCH.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Raemy"
  given-names: "Julien Antoine"
  orcid: "https://orcid.org/0000-0002-4711-5759"
title: "iiif-templates"
version: 0.9.0
doi: 
date-released: 2023-03-06
url: "https://github.com/dasch-swiss/iiif-templates"

GitHub Events

Total
Last Year