{"action":"opened","issue":{"url":"https://api.github.com/repos/opencontainers/specs/issues/219","labels_url":"https://api.github.com/repos/opencontainers/specs/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/219/comments","events_url":"https://api.github.com/repos/opencontainers/specs/issues/219/events","html_url":"https://github.com/opencontainers/specs/issues/219","id":110280964,"number":219,"title":"Support standard validation and defaulting","user":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-07T17:51:53Z","updated_at":"2015-10-07T17:51:53Z","closed_at":null,"body":"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. \r\nAnnotating 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.\r\nTo 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. "}}