You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The manifest section does not have the same level of thoroughness when it comes to MUSTS as the versions section does. For example:
The value of the manifest key is a JSON object, with keys corresponding to the digests of every content file in all versions of the OCFL Object.
vs
An OCFL Object Inventory MUST include a block for storing versions. This block MUST have the key of versions within the inventory, and it MUST be a JSON object.
The result is that the validation codes are not as specific for manifest and rely more on inferences from other codes. In this example, if manifest is not a JSON object I think E033 makes the most sense. Whereas, if versions is not a JSON object the more specific E044 could be used.
The text was updated successfully, but these errors were encountered:
So far, I have used E041 for either missing manifest key or it not being a JSON object, based on:
In addition to these keys, there MUST be two other blocks present, manifest and versions, which are discussed in the next two sections.
if the "is a" became a "MUST" in:
The value of the manifest key is a JSON object, with keys corresponding to the digests of every content file in all versions of the OCFL Object.
then that would clearly take over for the "not an object" case.
Seems that there is no lack of clarity for what is correct here, just uncertainty over the best way to handle validation. I think this makes it a 2.0 (or 1.1) issue.
The manifest section does not have the same level of thoroughness when it comes to MUSTS as the versions section does. For example:
vs
The result is that the validation codes are not as specific for
manifest
and rely more on inferences from other codes. In this example, ifmanifest
is not a JSON object I thinkE033
makes the most sense. Whereas, ifversions
is not a JSON object the more specificE044
could be used.The text was updated successfully, but these errors were encountered: