{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/162","labels_url":"https://api.github.com/repos/apiaryio/dredd/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/162/comments","events_url":"https://api.github.com/repos/apiaryio/dredd/issues/162/events","html_url":"https://github.com/apiaryio/dredd/issues/162","id":62695911,"number":162,"title":"Optional fields for json responses","user":{"login":"andrerigon","id":107502,"avatar_url":"https://avatars.githubusercontent.com/u/107502?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerigon","html_url":"https://github.com/andrerigon","followers_url":"https://api.github.com/users/andrerigon/followers","following_url":"https://api.github.com/users/andrerigon/following{/other_user}","gists_url":"https://api.github.com/users/andrerigon/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerigon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerigon/subscriptions","organizations_url":"https://api.github.com/users/andrerigon/orgs","repos_url":"https://api.github.com/users/andrerigon/repos","events_url":"https://api.github.com/users/andrerigon/events{/privacy}","received_events_url":"https://api.github.com/users/andrerigon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T13:36:01Z","updated_at":"2015-03-23T04:27:47Z","closed_at":null,"body":"Hi,\r\n\r\nis there a way to deal with optional fields inside a response? \r\n\r\nthks,\r\n\r\nAndre"},"comment":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/comments/84800413","html_url":"https://github.com/apiaryio/dredd/issues/162#issuecomment-84800413","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/162","id":84800413,"user":{"login":"netmilk","id":79609,"avatar_url":"https://avatars.githubusercontent.com/u/79609?v=3","gravatar_id":"","url":"https://api.github.com/users/netmilk","html_url":"https://github.com/netmilk","followers_url":"https://api.github.com/users/netmilk/followers","following_url":"https://api.github.com/users/netmilk/following{/other_user}","gists_url":"https://api.github.com/users/netmilk/gists{/gist_id}","starred_url":"https://api.github.com/users/netmilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netmilk/subscriptions","organizations_url":"https://api.github.com/users/netmilk/orgs","repos_url":"https://api.github.com/users/netmilk/repos","events_url":"https://api.github.com/users/netmilk/events{/privacy}","received_events_url":"https://api.github.com/users/netmilk/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T04:27:47Z","updated_at":"2015-03-23T04:27:47Z","body":"Hi,\r\n\r\nI'm sorry, but all keys given in JSON example for the response body are considered as required, so at this moment there is no other way than write a [custom JSON schema for the response in the blueprint](https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md#def-schema-section).\r\n\r\nAdam"}}