From 6a065323f452a02ed6fb6516506d831cff91ff98 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 25 Mar 2026 14:53:22 +0000 Subject: [PATCH 1/4] Adding new v4 validator --- .github/workflows/validate.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 000000000..5d49638ec --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,23 @@ +name: validate + +on: + pull_request: + workflow_dispatch: + +jobs: + validate: + runs-on: ubuntu-latest + env: + BUNDLE_WITH: test jekyll_plugins + SITE_ID: 'cookbook' # which iiif site this is + URL: 'https://preview.iiif.io' + + steps: + - name: Check out this repository + uses: actions/checkout@v5 + + - name: Run IIIF validator + uses: IIIF/presentation-validator@v4 + with: + directory: source/presentation/4.0/example/ + version: "4.0" \ No newline at end of file From dc87229930290a6077f25ce45d63fa9c6c9b9a65 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 25 Mar 2026 15:11:06 +0000 Subject: [PATCH 2/4] Fixing duration --- source/presentation/4.0/example/uc07_duration_composite.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/presentation/4.0/example/uc07_duration_composite.json b/source/presentation/4.0/example/uc07_duration_composite.json index 2e44a2554..81dd2294b 100644 --- a/source/presentation/4.0/example/uc07_duration_composite.json +++ b/source/presentation/4.0/example/uc07_duration_composite.json @@ -10,7 +10,7 @@ "label": { "en": [ "Side A: 99 Luftballons - 10min duration" ] }, "width": 100, "height": 100, - "duration": 36000, + "duration": 600, "items": [ { "id": "https://iiif.io/api/presentation/4.0/example/uc07_audio/canvas/1/page/1", From 7de660ec1e599163d46c782c135696fce70cabd0 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 25 Mar 2026 18:07:36 +0000 Subject: [PATCH 3/4] Update validate.yml Using main validator --- .github/workflows/validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5d49638ec..cf5b02354 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v5 - name: Run IIIF validator - uses: IIIF/presentation-validator@v4 + uses: IIIF/presentation-validator@main with: directory: source/presentation/4.0/example/ - version: "4.0" \ No newline at end of file + version: "4.0" From 87b91c49f0a461d0319cb633a1d31bf9eddc13d3 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 25 Mar 2026 23:38:04 +0000 Subject: [PATCH 4/4] Fixing target by turning it into an object --- source/presentation/4.0/example/uc06_canvas_in_scene.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/presentation/4.0/example/uc06_canvas_in_scene.json b/source/presentation/4.0/example/uc06_canvas_in_scene.json index 8f83ab5e8..a72177d3f 100644 --- a/source/presentation/4.0/example/uc06_canvas_in_scene.json +++ b/source/presentation/4.0/example/uc06_canvas_in_scene.json @@ -54,7 +54,10 @@ "width": 800, "height": 800 }, - "target": "https://iiif.io/api/presentation/4.0/example/uc06/canvas/chessboard" + "target": { + "id": "https://iiif.io/api/presentation/4.0/example/uc06/canvas/chessboard", + "type": "Canvas" + } } ] }