Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec issue 537 part2 #96

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions 1.1/bad-objects/E001_extra_dir_in_root/extra_dir/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
I am in an illegal extra directory in an OCFL Object root,
not allowed per https://ocfl.io/draft/spec/#object-structure
21 changes: 21 additions & 0 deletions 1.1/bad-objects/E001_extra_dir_in_root/inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"digestAlgorithm": "sha512",
"head": "v1",
"id": "ark:123/abc",
"manifest": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"v1/content/a_file.txt"
]
},
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2019-01-01T02:03:04Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b494789ed3f9e6f9e23bfc99c7650f2ef1ae5f9666a1ff3c3147b0fcadf2a07c69d05008320cd64dbd6572b587fedd38c345919ee0af9f2fea9cdd33102a6a42 inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello! I am a file.
21 changes: 21 additions & 0 deletions 1.1/bad-objects/E001_extra_dir_in_root/v1/inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"digestAlgorithm": "sha512",
"head": "v1",
"id": "ark:123/abc",
"manifest": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"v1/content/a_file.txt"
]
},
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2019-01-01T02:03:04Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b494789ed3f9e6f9e23bfc99c7650f2ef1ae5f9666a1ff3c3147b0fcadf2a07c69d05008320cd64dbd6572b587fedd38c345919ee0af9f2fea9cdd33102a6a42 inventory.json
1 change: 1 addition & 0 deletions 1.1/bad-objects/E001_extra_file_in_root/0=ocfl_object_1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocfl_object_1.0
2 changes: 2 additions & 0 deletions 1.1/bad-objects/E001_extra_file_in_root/extra_file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
I am an extra file that is not allowed in an OCFL Object root
per https://ocfl.io/draft/spec/#object-structure
21 changes: 21 additions & 0 deletions 1.1/bad-objects/E001_extra_file_in_root/inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"digestAlgorithm": "sha512",
"head": "v1",
"id": "ark:123/abc",
"manifest": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"v1/content/a_file.txt"
]
},
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2019-01-01T02:03:04Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b494789ed3f9e6f9e23bfc99c7650f2ef1ae5f9666a1ff3c3147b0fcadf2a07c69d05008320cd64dbd6572b587fedd38c345919ee0af9f2fea9cdd33102a6a42 inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello! I am a file.
21 changes: 21 additions & 0 deletions 1.1/bad-objects/E001_extra_file_in_root/v1/inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"digestAlgorithm": "sha512",
"head": "v1",
"id": "ark:123/abc",
"manifest": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"v1/content/a_file.txt"
]
},
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2019-01-01T02:03:04Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b494789ed3f9e6f9e23bfc99c7650f2ef1ae5f9666a1ff3c3147b0fcadf2a07c69d05008320cd64dbd6572b587fedd38c345919ee0af9f2fea9cdd33102a6a42 inventory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ocfl_object_1.0
Loading