From 6565b02c11d2c6f2ef2f209fb5c4785b688a5549 Mon Sep 17 00:00:00 2001 From: Simeon Warner Date: Sat, 26 Oct 2024 20:27:50 +0100 Subject: [PATCH 1/2] Add missing 1.0 spec examples --- .../spec-ex-diff-paths/0=ocfl_object_1.0 | 1 + .../spec-ex-diff-paths/inventory.json | 27 +++++++++++++++++++ .../spec-ex-diff-paths/inventory.json.sha512 | 1 + .../v1/content/3bacb119a98a15c5 | 1 + .../v1/content/9f2bab8ef869947d | 1 + .../spec-ex-diff-paths/v1/inventory.json | 27 +++++++++++++++++++ .../v1/inventory.json.sha512 | 1 + .../spec-ex-minimal/0=ocfl_object_1.0 | 1 + .../spec-ex-minimal/inventory.json | 26 ++++++++++++++++++ .../spec-ex-minimal/inventory.json.sha512 | 1 + .../spec-ex-minimal/v1/content/file.txt | 1 + .../spec-ex-minimal/v1/inventory.json | 26 ++++++++++++++++++ .../spec-ex-minimal/v1/inventory.json.sha512 | 1 + 13 files changed, 115 insertions(+) create mode 100644 1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 create mode 100644 1.0/good-objects/spec-ex-diff-paths/inventory.json create mode 100644 1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 create mode 100644 1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 create mode 100644 1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d create mode 100644 1.0/good-objects/spec-ex-diff-paths/v1/inventory.json create mode 100644 1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 create mode 100644 1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 create mode 100644 1.0/good-objects/spec-ex-minimal/inventory.json create mode 100644 1.0/good-objects/spec-ex-minimal/inventory.json.sha512 create mode 100644 1.0/good-objects/spec-ex-minimal/v1/content/file.txt create mode 100644 1.0/good-objects/spec-ex-minimal/v1/inventory.json create mode 100644 1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 diff --git a/1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 b/1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 new file mode 100644 index 0000000..4d1d62c --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 @@ -0,0 +1 @@ +ocfl_object_1.0 diff --git a/1.0/good-objects/spec-ex-diff-paths/inventory.json b/1.0/good-objects/spec-ex-diff-paths/inventory.json new file mode 100644 index 0000000..67a1d26 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/inventory.json @@ -0,0 +1,27 @@ +{ + "digestAlgorithm": "sha512", + "head": "v1", + "id": "http://example.org/diff-paths", + "manifest": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "v1/content/3bacb119a98a15c5" + ], + "af318dca6b3f5ad0c1029814417362bde735c84b23edc7367bbf3c3b964945e9c87918da78442efca1c1b6d88f3a65197f09cf02479b3580e89c3879e77ca3cd": [ + "v1/content/9f2bab8ef869947d" + ] + }, + "type": "https://ocfl.io/1.0/spec/#inventory", + "versions": { + "v1": { + "created": "2019-03-14T20:31:00Z", + "state": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "a file.wxy" + ], + "af318dca6b3f5ad0c1029814417362bde735c84b23edc7367bbf3c3b964945e9c87918da78442efca1c1b6d88f3a65197f09cf02479b3580e89c3879e77ca3cd": [ + "another file.xyz" + ] + } + } + } +} \ No newline at end of file diff --git a/1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 b/1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 new file mode 100644 index 0000000..661e364 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 @@ -0,0 +1 @@ +a1792927c94f8cf96e651f4553941627053cabdfeafa9aebb20af661677806d9e82bc1b97c071eee8ad12ac6deca94f3783d49e3c8748975926f6fd6f87f7fe1 inventory.json diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 b/1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 new file mode 100644 index 0000000..74f9e44 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 @@ -0,0 +1 @@ +I am a file! diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d b/1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d new file mode 100644 index 0000000..5a70fd2 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d @@ -0,0 +1 @@ +I am another file! diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json b/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json new file mode 100644 index 0000000..67a1d26 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json @@ -0,0 +1,27 @@ +{ + "digestAlgorithm": "sha512", + "head": "v1", + "id": "http://example.org/diff-paths", + "manifest": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "v1/content/3bacb119a98a15c5" + ], + "af318dca6b3f5ad0c1029814417362bde735c84b23edc7367bbf3c3b964945e9c87918da78442efca1c1b6d88f3a65197f09cf02479b3580e89c3879e77ca3cd": [ + "v1/content/9f2bab8ef869947d" + ] + }, + "type": "https://ocfl.io/1.0/spec/#inventory", + "versions": { + "v1": { + "created": "2019-03-14T20:31:00Z", + "state": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "a file.wxy" + ], + "af318dca6b3f5ad0c1029814417362bde735c84b23edc7367bbf3c3b964945e9c87918da78442efca1c1b6d88f3a65197f09cf02479b3580e89c3879e77ca3cd": [ + "another file.xyz" + ] + } + } + } +} \ No newline at end of file diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 b/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 new file mode 100644 index 0000000..661e364 --- /dev/null +++ b/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 @@ -0,0 +1 @@ +a1792927c94f8cf96e651f4553941627053cabdfeafa9aebb20af661677806d9e82bc1b97c071eee8ad12ac6deca94f3783d49e3c8748975926f6fd6f87f7fe1 inventory.json diff --git a/1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 b/1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 new file mode 100644 index 0000000..4d1d62c --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 @@ -0,0 +1 @@ +ocfl_object_1.0 diff --git a/1.0/good-objects/spec-ex-minimal/inventory.json b/1.0/good-objects/spec-ex-minimal/inventory.json new file mode 100644 index 0000000..8cd0bb6 --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/inventory.json @@ -0,0 +1,26 @@ +{ + "digestAlgorithm": "sha512", + "head": "v1", + "id": "http://example.org/minimal", + "manifest": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "v1/content/file.txt" + ] + }, + "type": "https://ocfl.io/1.0/spec/#inventory", + "versions": { + "v1": { + "created": "2018-10-02T12:00:00Z", + "message": "One file", + "state": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "file.txt" + ] + }, + "user": { + "address": "alice@example.org", + "name": "Alice" + } + } + } +} \ No newline at end of file diff --git a/1.0/good-objects/spec-ex-minimal/inventory.json.sha512 b/1.0/good-objects/spec-ex-minimal/inventory.json.sha512 new file mode 100644 index 0000000..96e4f28 --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/inventory.json.sha512 @@ -0,0 +1 @@ +8c9d026e7fb032ed5d0f45ce31920681765cb4781758a15bb7575665e854ab8724bbcf2930b60caaed3aa9e52e330014ec3113092796f8f213de074d8dd1f3d7 inventory.json diff --git a/1.0/good-objects/spec-ex-minimal/v1/content/file.txt b/1.0/good-objects/spec-ex-minimal/v1/content/file.txt new file mode 100644 index 0000000..74f9e44 --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/v1/content/file.txt @@ -0,0 +1 @@ +I am a file! diff --git a/1.0/good-objects/spec-ex-minimal/v1/inventory.json b/1.0/good-objects/spec-ex-minimal/v1/inventory.json new file mode 100644 index 0000000..8cd0bb6 --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/v1/inventory.json @@ -0,0 +1,26 @@ +{ + "digestAlgorithm": "sha512", + "head": "v1", + "id": "http://example.org/minimal", + "manifest": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "v1/content/file.txt" + ] + }, + "type": "https://ocfl.io/1.0/spec/#inventory", + "versions": { + "v1": { + "created": "2018-10-02T12:00:00Z", + "message": "One file", + "state": { + "7545b8720a601235067473f2c87f43461f5c147fb622d51bfcdcda05e0773c96e9f922f4d88d371bb7f87793b655b9e1c3b8bbca35f2950c5c87eda955179f67": [ + "file.txt" + ] + }, + "user": { + "address": "alice@example.org", + "name": "Alice" + } + } + } +} \ No newline at end of file diff --git a/1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 b/1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 new file mode 100644 index 0000000..96e4f28 --- /dev/null +++ b/1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 @@ -0,0 +1 @@ +8c9d026e7fb032ed5d0f45ce31920681765cb4781758a15bb7575665e854ab8724bbcf2930b60caaed3aa9e52e330014ec3113092796f8f213de074d8dd1f3d7 inventory.json From 8b0f50c9680d97687b443aa5269ab1319da836c3 Mon Sep 17 00:00:00 2001 From: Simeon Warner Date: Tue, 12 Nov 2024 13:08:35 -0500 Subject: [PATCH 2/2] Move into warn-objects --- .../W007_spec-ex-diff-paths}/0=ocfl_object_1.0 | 0 .../W007_spec-ex-diff-paths}/inventory.json | 0 .../W007_spec-ex-diff-paths}/inventory.json.sha512 | 0 .../W007_spec-ex-diff-paths}/v1/content/3bacb119a98a15c5 | 0 .../W007_spec-ex-diff-paths}/v1/content/9f2bab8ef869947d | 0 .../W007_spec-ex-diff-paths}/v1/inventory.json | 0 .../W007_spec-ex-diff-paths}/v1/inventory.json.sha512 | 0 .../W009_spec-ex-minimal}/0=ocfl_object_1.0 | 0 .../W009_spec-ex-minimal}/inventory.json | 0 .../W009_spec-ex-minimal}/inventory.json.sha512 | 0 .../W009_spec-ex-minimal}/v1/content/file.txt | 0 .../W009_spec-ex-minimal}/v1/inventory.json | 0 .../W009_spec-ex-minimal}/v1/inventory.json.sha512 | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/0=ocfl_object_1.0 (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/inventory.json (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/inventory.json.sha512 (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/v1/content/3bacb119a98a15c5 (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/v1/content/9f2bab8ef869947d (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/v1/inventory.json (100%) rename 1.0/{good-objects/spec-ex-diff-paths => warn-objects/W007_spec-ex-diff-paths}/v1/inventory.json.sha512 (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/0=ocfl_object_1.0 (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/inventory.json (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/inventory.json.sha512 (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/v1/content/file.txt (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/v1/inventory.json (100%) rename 1.0/{good-objects/spec-ex-minimal => warn-objects/W009_spec-ex-minimal}/v1/inventory.json.sha512 (100%) diff --git a/1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 b/1.0/warn-objects/W007_spec-ex-diff-paths/0=ocfl_object_1.0 similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/0=ocfl_object_1.0 rename to 1.0/warn-objects/W007_spec-ex-diff-paths/0=ocfl_object_1.0 diff --git a/1.0/good-objects/spec-ex-diff-paths/inventory.json b/1.0/warn-objects/W007_spec-ex-diff-paths/inventory.json similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/inventory.json rename to 1.0/warn-objects/W007_spec-ex-diff-paths/inventory.json diff --git a/1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 b/1.0/warn-objects/W007_spec-ex-diff-paths/inventory.json.sha512 similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/inventory.json.sha512 rename to 1.0/warn-objects/W007_spec-ex-diff-paths/inventory.json.sha512 diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 b/1.0/warn-objects/W007_spec-ex-diff-paths/v1/content/3bacb119a98a15c5 similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/v1/content/3bacb119a98a15c5 rename to 1.0/warn-objects/W007_spec-ex-diff-paths/v1/content/3bacb119a98a15c5 diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d b/1.0/warn-objects/W007_spec-ex-diff-paths/v1/content/9f2bab8ef869947d similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/v1/content/9f2bab8ef869947d rename to 1.0/warn-objects/W007_spec-ex-diff-paths/v1/content/9f2bab8ef869947d diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json b/1.0/warn-objects/W007_spec-ex-diff-paths/v1/inventory.json similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/v1/inventory.json rename to 1.0/warn-objects/W007_spec-ex-diff-paths/v1/inventory.json diff --git a/1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 b/1.0/warn-objects/W007_spec-ex-diff-paths/v1/inventory.json.sha512 similarity index 100% rename from 1.0/good-objects/spec-ex-diff-paths/v1/inventory.json.sha512 rename to 1.0/warn-objects/W007_spec-ex-diff-paths/v1/inventory.json.sha512 diff --git a/1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 b/1.0/warn-objects/W009_spec-ex-minimal/0=ocfl_object_1.0 similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/0=ocfl_object_1.0 rename to 1.0/warn-objects/W009_spec-ex-minimal/0=ocfl_object_1.0 diff --git a/1.0/good-objects/spec-ex-minimal/inventory.json b/1.0/warn-objects/W009_spec-ex-minimal/inventory.json similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/inventory.json rename to 1.0/warn-objects/W009_spec-ex-minimal/inventory.json diff --git a/1.0/good-objects/spec-ex-minimal/inventory.json.sha512 b/1.0/warn-objects/W009_spec-ex-minimal/inventory.json.sha512 similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/inventory.json.sha512 rename to 1.0/warn-objects/W009_spec-ex-minimal/inventory.json.sha512 diff --git a/1.0/good-objects/spec-ex-minimal/v1/content/file.txt b/1.0/warn-objects/W009_spec-ex-minimal/v1/content/file.txt similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/v1/content/file.txt rename to 1.0/warn-objects/W009_spec-ex-minimal/v1/content/file.txt diff --git a/1.0/good-objects/spec-ex-minimal/v1/inventory.json b/1.0/warn-objects/W009_spec-ex-minimal/v1/inventory.json similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/v1/inventory.json rename to 1.0/warn-objects/W009_spec-ex-minimal/v1/inventory.json diff --git a/1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 b/1.0/warn-objects/W009_spec-ex-minimal/v1/inventory.json.sha512 similarity index 100% rename from 1.0/good-objects/spec-ex-minimal/v1/inventory.json.sha512 rename to 1.0/warn-objects/W009_spec-ex-minimal/v1/inventory.json.sha512