miiify-sample-data
February 12, 2026 · View on GitHub
Example Web Annotation JSON files for Miiify.
This repository is meant to be cloned with miiify-clone and served with Miiify.
Layout
- Each top-level directory is a “container” (often a canvas).
- Each file inside is an annotation JSON document.
- Files intentionally have no
.jsonextension (Miiify doesn’t require one). - Annotations intentionally do not include a top-level
idfield (Miiify derives IDs at serve time).
Try it locally
# Clone this repo into an Irmin Git store
miiify-clone https://github.com/jptmoore/miiify-sample-data.git --git ./db-git
# Compile to Pack storage for serving
miiify-compile --git ./db-git --pack ./db-pack
# Run the server
miiify-serve --repository ./db-pack --port 10000
# List annotations (example container)
curl http://localhost:10000/my-canvas/
Containers
my-canvas/— minimal examples (2 annotations)book-page-1/— complex targets/selectors, creators, motivation arraysmap-canvas/— mixed body shapes (TextualBody and string bodies)mixed-bodies/— multiple bodies per annotation (arrays)