{"action":"created","issue":{"url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/396","repository_url":"https://api.github.com/repos/json-schema-org/json-schema-spec","labels_url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/396/comments","events_url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/396/events","html_url":"https://github.com/json-schema-org/json-schema-spec/issues/396","id":255318763,"node_id":"MDU6SXNzdWUyNTUzMTg3NjM=","number":396,"title":"Standard schema for results, including errors","user":{"login":"trajano","id":110627,"node_id":"MDQ6VXNlcjExMDYyNw==","avatar_url":"https://avatars3.githubusercontent.com/u/110627?v=4","gravatar_id":"","url":"https://api.github.com/users/trajano","html_url":"https://github.com/trajano","followers_url":"https://api.github.com/users/trajano/followers","following_url":"https://api.github.com/users/trajano/following{/other_user}","gists_url":"https://api.github.com/users/trajano/gists{/gist_id}","starred_url":"https://api.github.com/users/trajano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trajano/subscriptions","organizations_url":"https://api.github.com/users/trajano/orgs","repos_url":"https://api.github.com/users/trajano/repos","events_url":"https://api.github.com/users/trajano/events{/privacy}","received_events_url":"https://api.github.com/users/trajano/received_events","type":"User","site_admin":false},"labels":[{"id":692894761,"node_id":"MDU6TGFiZWw2OTI4OTQ3NjE=","url":"https://api.github.com/repos/json-schema-org/json-schema-spec/labels/annotation","name":"annotation","color":"e99695","default":false},{"id":724028457,"node_id":"MDU6TGFiZWw3MjQwMjg0NTc=","url":"https://api.github.com/repos/json-schema-org/json-schema-spec/labels/output","name":"output","color":"67e163","default":false},{"id":692894930,"node_id":"MDU6TGFiZWw2OTI4OTQ5MzA=","url":"https://api.github.com/repos/json-schema-org/json-schema-spec/labels/validation","name":"validation","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/json-schema-org/json-schema-spec/milestones/6","html_url":"https://github.com/json-schema-org/json-schema-spec/milestone/6","labels_url":"https://api.github.com/repos/json-schema-org/json-schema-spec/milestones/6/labels","id":2755614,"node_id":"MDk6TWlsZXN0b25lMjc1NTYxNA==","number":6,"title":"draft-08","description":"This theme of draft-08 is re-use and modularity.  General topics include:\r\n* How are multiple vocabularies used together\r\n* JSON Schema use within other JSON documents\r\n* What is `$ref` and how does it work (there are at least three competing views on this)\r\n* How should the desire to fail validation on unexpected properties be implemented, if it should be implemented at all?\r\n\r\nThis work will primarily occur in the core and validation specifications.  Hyper-Schema will take updates based on feedback but is not a major focus for this block of work.\r\n\r\nAny reasonable progress on the above may be packaged up into a new draft as soon as is feasible.  While draft-07 expires on 23 May 2018, we do not need to wait until then if we have useful changes to publish.","creator":{"login":"handrews","id":2358015,"node_id":"MDQ6VXNlcjIzNTgwMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2358015?v=4","gravatar_id":"","url":"https://api.github.com/users/handrews","html_url":"https://github.com/handrews","followers_url":"https://api.github.com/users/handrews/followers","following_url":"https://api.github.com/users/handrews/following{/other_user}","gists_url":"https://api.github.com/users/handrews/gists{/gist_id}","starred_url":"https://api.github.com/users/handrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handrews/subscriptions","organizations_url":"https://api.github.com/users/handrews/orgs","repos_url":"https://api.github.com/users/handrews/repos","events_url":"https://api.github.com/users/handrews/events{/privacy}","received_events_url":"https://api.github.com/users/handrews/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":41,"state":"open","created_at":"2017-09-10T20:57:08Z","updated_at":"2018-06-30T18:05:40Z","due_on":"2018-09-20T07:00:00Z","closed_at":null},"comments":51,"created_at":"2017-09-05T15:31:59Z","updated_at":"2018-07-02T03:34:15Z","closed_at":null,"author_association":"NONE","body":"The schema provides a way of validating the input, but there should be a standard for the validation results as well."},"comment":{"url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/comments/401662854","html_url":"https://github.com/json-schema-org/json-schema-spec/issues/396#issuecomment-401662854","issue_url":"https://api.github.com/repos/json-schema-org/json-schema-spec/issues/396","id":401662854,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTY2Mjg1NA==","user":{"login":"Anthropic","id":1182507,"node_id":"MDQ6VXNlcjExODI1MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1182507?v=4","gravatar_id":"","url":"https://api.github.com/users/Anthropic","html_url":"https://github.com/Anthropic","followers_url":"https://api.github.com/users/Anthropic/followers","following_url":"https://api.github.com/users/Anthropic/following{/other_user}","gists_url":"https://api.github.com/users/Anthropic/gists{/gist_id}","starred_url":"https://api.github.com/users/Anthropic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anthropic/subscriptions","organizations_url":"https://api.github.com/users/Anthropic/orgs","repos_url":"https://api.github.com/users/Anthropic/repos","events_url":"https://api.github.com/users/Anthropic/events{/privacy}","received_events_url":"https://api.github.com/users/Anthropic/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T03:34:15Z","updated_at":"2018-07-02T03:34:15Z","author_association":"COLLABORATOR","body":"I find the goal of the output is to provide a guide to the most _efficient, implementable, minimal and extensible output_ for a foundation, that's why hierarchy didn't sit so well with me, recursion being more expensive than flat loops.\r\n\r\n@gregsdennis given your suggestion of a simple boolean result do you feel that perhaps the result should be within an object to provide the overall output?\r\n\r\nIt goes against the mantra I just wrote of being minimal, but it could also make it easier to consistently expect the `valid` property to exist, but also to be able to know when there are errors vs annotations in just an array result. The annotation and validation processes still remain quite separate.\r\n\r\nDo you see the end array result combined or under separate keywords?\r\n\r\n```js\r\n// Minimum\r\n{\r\n  \"valid\": true\r\n}\r\n\r\n// Annotation focused:\r\n{\r\n  \"valid\": true,\r\n  \"annotation\": [...]\r\n}\r\n\r\n// Errors and/or Annotations:\r\n{\r\n  \"valid\": false,\r\n  \"errors\": [...],\r\n  \"annotations\": [...]\r\n}\r\n// or\r\n{\r\n  \"valid\": false,\r\n  \"results\": [...errors, ...annotations]\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"Anthropic"}}