To keep consistency throughout the Markdown files in the Open Container spec all files should be formatted one sentence per line. This fixes two things: it makes diffing easier with git and it resolves fights about line wrapping length. For example, this paragraph will span three lines in the Markdown source.
For example, "classID": 1048577
instead of "classID": "0x100001"
.
The config JSON isn't enough of a UI to be worth jumping through string <-> integer hoops to support an 0x… form (source).
For example, CAP_KILL
instead of KILL
in linux.capabilities
.
The redundancy reduction from removing the namespacing prefix is not useful enough to be worth trimming the upstream identifier (source).
So we have a consistent way to identify unset values (source).
The exceptions are entries where the Go default for the type is a no-op in the spec, in which case omitempty
is sufficient and no pointer is needed (sources here, here, and here).