Overview

IIIF Server is a module for delivering IIIF manifests from Omeka S.

In this article, we examine the output content of these IIIF manifests (specifically, IIIF Presentation API version 2).

Example

The following is an example of a IIIF manifest for an item with ID test-111 on an Omeka S instance published at https://shared.ldas.jp/omeka-s.

{
    "@context": "http://iiif.io/api/presentation/2/context.json",
    "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/manifest",
    "@type": "sc:Manifest",
    "label": "Sample Item",
    "thumbnail": {
        "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/!200,200/0/default.jpg",
        "@type": "dctypes:Image",
        "format": "image/jpeg",
        "width": 200,
        "height": 200
    },
    "license": "https://shared.ldas.jp/omeka-s/s/test/page/reuse",
    "attribution": "サンプル機関",
    "related": {
        "@id": "https://shared.ldas.jp/omeka-s",
        "format": "text/html"
    },
    "seeAlso": {
        "@id": "https://shared.ldas.jp/omeka-s/api/items/1270",
        "format": "application/ld+json"
    },
    "metadata": [
        {
            "label": "Title",
            "value": "Sample Item"
        },
        {
            "label": "Identifier",
            "value": "test-111"
        }
    ],
    "sequences": [
        {
            "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/sequence/normal",
            "@type": "sc:Sequence",
            "label": "Current Page Order",
            "viewingDirection": "left-to-right",
            "canvases": [
                {
                    "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/canvas/p1",
                    "@type": "sc:Canvas",
                    "label": "1",
                    "thumbnail": {
                        "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/!200,200/0/default.jpg",
                        "@type": "dctypes:Image",
                        "format": "image/jpeg",
                        "width": 200,
                        "height": 200
                    },
                    "width": 6401,
                    "height": 4810,
                    "images": [
                        {
                            "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/annotation/p0001-image",
                            "@type": "oa:Annotation",
                            "motivation": "sc:painting",
                            "resource": {
                                "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/full/0/default.jpg",
                                "@type": "dctypes:Image",
                                "format": "image/jpeg",
                                "width": 6401,
                                "height": 4810,
                                "service": {
                                    "@context": "http://iiif.io/api/image/2/context.json",
                                    "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif",
                                    "profile": "http://iiif.io/api/image/2/level1.json"
                                }
                            },
                            "on": "https://shared.ldas.jp/omeka-s/iiif/test-111/canvas/p1"
                        }
                    ]
                },
                {
                    "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/canvas/p2",
                    "@type": "sc:Canvas",
                    "label": "2枚目",
                    "thumbnail": {
                        "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0002.tif/full/!200,200/0/default.jpg",
                        "@type": "dctypes:Image",
                        "format": "image/jpeg",
                        "width": 200,
                        "height": 200
                    },
                    "width": 6401,
                    "height": 4810,
                    "images": [
                        {
                            "@id": "https://shared.ldas.jp/omeka-s/iiif/test-111/annotation/p0002-image",
                            "@type": "oa:Annotation",
                            "motivation": "sc:painting",
                            "resource": {
                                "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0002.tif/full/full/0/default.jpg",
                                "@type": "dctypes:Image",
                                "format": "image/jpeg",
                                "width": 6401,
                                "height": 4810,
                                "service": {
                                    "@context": "http://iiif.io/api/image/2/context.json",
                                    "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0002.tif",
                                    "profile": "http://iiif.io/api/image/2/level1.json"
                                }
                            },
                            "on": "https://shared.ldas.jp/omeka-s/iiif/test-111/canvas/p2"
                        }
                    ],
		    "metadata": [
			    {
			      "label": "Title",
			      "value": "2枚目"
			    }
			  ]
                }
            ]
        }
    ]
}

Below, I will explain each type.

Note that the Image API descriptions are treated as fixed.

sc:Manifest

Information about the sc:Manifest.

{
    "@context": "http://iiif.io/api/presentation/2/context.json",
    "@id": "{Omeka public URL}/iiif/{item ID}/manifest",
    "@type": "sc:Manifest",
    "label": "{item title}",
    "thumbnail": {
        "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/!200,200/0/default.jpg",
        "@type": "dctypes:Image",
        "format": "image/jpeg",
        "width": 200,
        "height": 200
    },
    "license": "{URL to terms of use page}",
    "attribution": "{institution name}",
    "related": {
        "@id": "{Omeka public URL}",
        "format": "text/html"
    },
    "seeAlso": {
        "@id": "{URL to machine-readable data}",
        "format": "application/ld+json"
    },
    "metadata": [
        {
            "label": "{metadata field 1}",
            "value": "{metadata value 1}"
        },
        {
            "label": "{metadata field 2}",
            "value": "{metadata value 2}"
        }
    ],
    "sequences": []
}

sc:Sequence

Information about the sc:Sequence.

{
      "@id": "{Omeka public URL}/iiif/{item ID}/sequence/normal",
      "@type": "sc:Sequence",
      "label": "Current Page Order",
      "viewingDirection": "{page turning direction setting}",
      "canvases": []
}

sc:Canvas

Information about the sc:Canvas.

{
  "@id": "{Omeka public URL}/iiif/{item ID}/canvas/p{image index, starting from 1}",
  "@type": "sc:Canvas",
  "label": "{image index | image title}",
  "thumbnail": {
    "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/!200,200/0/default.jpg",
	"@type": "dctypes:Image",
	"format": "image/jpeg",
	"width": 200,
	"height": 200
  },
  "width": 6401,
  "height": 4810,
  "images": [
    {
      "@id": "{Omeka public URL}/iiif/{item ID}/annotation/p{image index, displayed in 4 digits}-image",
      "@type": "oa:Annotation",
      "motivation": "sc:painting",
      "resource": {
	"@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif/full/full/0/default.jpg",
	"@type": "dctypes:Image",
	"format": "image/jpeg",
	"width": 6401,
	"height": 4810,
	"service": {
	  "@context": "http://iiif.io/api/image/2/context.json",
	  "@id": "https://iiif.dl.itc.u-tokyo.ac.jp/iiif/kunshujou/A00_6010/001/001_0001.tif",
	  "profile": "http://iiif.io/api/image/2/level1.json"
	}
      },
      "on": "{Omeka public URL}/iiif/{item ID}/canvas/p{image index}"
    }
  ],
  "metadata": [
    {
      "label": "image metadata field 1",
      "value": "image metadata value 1"
    }
  ]
}

Summary

I hope this is helpful for understanding Omeka S IIIF manifests.