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

Fixed: Clarify inventory.json must be present #294

Merged
merged 2 commits into from
Jan 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions draft/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,13 @@ <h2>Inventory Digest</h2>
<section id="version-inventory">
<h2>Version Inventory and Inventory Digest</h2>
<p>
Every version directory SHOULD include an inventory file that is an <a href="#inventory">Inventory</a>
of all content for versions up to and including that particular version. Every inventory file MUST have
a corresponding <a href="#inventory-digest">Inventory Digest</a>.
Every OCFL Object MUST have an inventory file within the OCFL Object Root,
corresponding to the state of the OCFL Object at the current version. Additionally, every version directory
SHOULD include an inventory file that is an <a href="#inventory">Inventory</a> of all content for versions
up to and including that particular version. Where an OCFL Object contains <code>inventory.json</code>
in version directories, the inventory file in the OCFL Object Root MUST be the same as the file in the
most recent version. Every inventory file MUST have a corresponding <a href="#inventory-digest">Inventory
Digest</a>.
</p>
<blockquote class="informative">
Non-normative note: Storing an inventory for every version provides redundancy for this critical
Expand Down