Skip to content

Commit

Permalink
Merge pull request #110 from OCFL/spec-examples-1-0
Browse files Browse the repository at this point in the history
Add missing 1.0 spec examples
  • Loading branch information
julianmorley authored Dec 5, 2024
2 parents 81fba8d + 8b0f50c commit d323fc2
Show file tree
Hide file tree
Showing 13 changed files with 115 additions and 0 deletions.
1 change: 1 addition & 0 deletions 1.0/warn-objects/W007_spec-ex-diff-paths/0=ocfl_object_1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocfl_object_1.0
27 changes: 27 additions & 0 deletions 1.0/warn-objects/W007_spec-ex-diff-paths/inventory.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a1792927c94f8cf96e651f4553941627053cabdfeafa9aebb20af661677806d9e82bc1b97c071eee8ad12ac6deca94f3783d49e3c8748975926f6fd6f87f7fe1 inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I am a file!
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I am another file!
27 changes: 27 additions & 0 deletions 1.0/warn-objects/W007_spec-ex-diff-paths/v1/inventory.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a1792927c94f8cf96e651f4553941627053cabdfeafa9aebb20af661677806d9e82bc1b97c071eee8ad12ac6deca94f3783d49e3c8748975926f6fd6f87f7fe1 inventory.json
1 change: 1 addition & 0 deletions 1.0/warn-objects/W009_spec-ex-minimal/0=ocfl_object_1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocfl_object_1.0
26 changes: 26 additions & 0 deletions 1.0/warn-objects/W009_spec-ex-minimal/inventory.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"name": "Alice"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8c9d026e7fb032ed5d0f45ce31920681765cb4781758a15bb7575665e854ab8724bbcf2930b60caaed3aa9e52e330014ec3113092796f8f213de074d8dd1f3d7 inventory.json
1 change: 1 addition & 0 deletions 1.0/warn-objects/W009_spec-ex-minimal/v1/content/file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I am a file!
26 changes: 26 additions & 0 deletions 1.0/warn-objects/W009_spec-ex-minimal/v1/inventory.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"name": "Alice"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8c9d026e7fb032ed5d0f45ce31920681765cb4781758a15bb7575665e854ab8724bbcf2930b60caaed3aa9e52e330014ec3113092796f8f213de074d8dd1f3d7 inventory.json

0 comments on commit d323fc2

Please sign in to comment.