{"action":"created","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":4,"created_at":"2015-10-07T17:51:53Z","updated_at":"2015-10-09T09:41:51Z","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. "},"comment":{"url":"https://api.github.com/repos/opencontainers/specs/issues/comments/146815222","html_url":"https://github.com/opencontainers/specs/issues/219#issuecomment-146815222","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/219","id":146815222,"user":{"login":"zenlinTechnofreak","id":9923237,"avatar_url":"https://avatars.githubusercontent.com/u/9923237?v=3","gravatar_id":"","url":"https://api.github.com/users/zenlinTechnofreak","html_url":"https://github.com/zenlinTechnofreak","followers_url":"https://api.github.com/users/zenlinTechnofreak/followers","following_url":"https://api.github.com/users/zenlinTechnofreak/following{/other_user}","gists_url":"https://api.github.com/users/zenlinTechnofreak/gists{/gist_id}","starred_url":"https://api.github.com/users/zenlinTechnofreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenlinTechnofreak/subscriptions","organizations_url":"https://api.github.com/users/zenlinTechnofreak/orgs","repos_url":"https://api.github.com/users/zenlinTechnofreak/repos","events_url":"https://api.github.com/users/zenlinTechnofreak/events{/privacy}","received_events_url":"https://api.github.com/users/zenlinTechnofreak/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T09:41:50Z","updated_at":"2015-10-09T09:41:50Z","body":"@mrunalp @vishh,\r\nI and my team were working hard at the runtimeValidator(https://github.com/huawei-openlab/oct/blob/master/tools/runtimeValidator/README.md) and bundleValidator(https://github.com/huawei-openlab/oct/blob/master/tools/bundleValidator/README.md), and they are working well now.\r\nMaybe the idea is not highly consistent with your's, but I think it is not necessary to develop a Validator from the very begining. We could disscuss them together, and economize the existing project.\r\n\r\nThanks, expect to your Directive opinion.\r\n\r\n@liangchenye， \r\nI suggest to have a repo like 'https://github.com/opencontainers/oct' or 'https://github.com/opencontainers/ocitool'."}}