As of now, the Spec does not explicitly state the fields that are required. This can lead to various implementations of the Spec defaulting and validating the Spec in its own manner.
Annotating each field in the Spec with a required or optional tag along with the default value will help with readability. But it does not ensure conformance.
To provide a seamless experience with OCI bundles across various implementations of the Spec, we should provide standard validation and defaulting tools. These tools might have to be platform or OS specific.
Largely happening in https://github.com/opencontainers/ocitools
Goals:
[ ] configuration validation
[ ] environment testing