Closed AkihiroSuda closed 1 year ago
No indentation does not matter. It's just referring to the things like the name, case and nesting of the attributes. For example, using ID
instead of id
would not be valid.
Thanks, opened #1178 for avoidance of confusion
Agreed, I think "schema" is probably closer to the original intent here than literally this pattern (which could mean all the whitespace and the field order, since JSON is technically an ordered document, and that seems like a pretty unreasonable restriction IMO).
https://github.com/opencontainers/runtime-spec/blob/v1.0.2/runtime.md#state
Does the above sentence demands that a state JSON "MUST" adhere to the specific indentation pattern? I assume not, but what does "the following pattern" mean then?