Skip to content

Commit

Permalink
Require UTF-8 encoded JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeon authored and julianmorley committed Dec 1, 2020
1 parent 09029d7 commit dc4d1de
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions draft/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,10 @@ <h2>Digests</h2>
<h2>Inventory</h2>
<p>
An OCFL Object Inventory <span id="E033">MUST</span> follow the JSON (defined by [[!RFC8259]]) structure
described in this section and <span id="E034">MUST</span> be named <code>inventory.json</code>. The order of
entries in both the JSON objects and arrays used in inventory files has no significance. An OCFL Object
Inventory <span id="E102">MUST NOT</span> contain any keys not described in this specification.
described in this section with contents encoded in UTF-8, and <span id="E034">MUST</span> be named
<code>inventory.json</code>. The order of entries in both the JSON objects and arrays used in inventory
files has no significance. An OCFL Object Inventory <span id="E102">MUST NOT</span> contain any keys not
described in this specification.
</p>
<p>
The forward slash (/) path separator <span id="E035">MUST</span> be used in content paths in the
Expand Down Expand Up @@ -992,9 +993,10 @@ <h2>Root Structure</h2>
a storage root.
</p>
<p>
An OCFL Storage Root MAY contain a JSON file named <code>ocfl_layout.json</code> to describe the arrangement
of directories and OCFL objects under the storage root. If present, this JSON document
<span id="E070">MUST</span> include the following two keys in the root JSON object:
An OCFL Storage Root MAY contain a file named <code>ocfl_layout.json</code> to describe the arrangement of
directories and OCFL objects under the storage root. If present, <code>ocfl_layout.json</code>
<span id="E070">MUST</span> be a JSON (defined by [[!RFC8259]]) document encoded in UTF-8 and include the
following two keys in the root JSON object:
</p>
<ul>
<li>
Expand Down

0 comments on commit dc4d1de

Please sign in to comment.