{"action":"closed","number":47,"pull_request":{"url":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47","id":31850855,"html_url":"https://github.com/mafintosh/is-my-json-valid/pull/47","diff_url":"https://github.com/mafintosh/is-my-json-valid/pull/47.diff","patch_url":"https://github.com/mafintosh/is-my-json-valid/pull/47.patch","issue_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/47","number":47,"state":"closed","locked":false,"title":"Allow format functions to provide error messages","user":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"body":"If format function returns an error then it's treated as failure by validator\r\nand it's `message` attribute is used as error message.\r\n\r\nFixes #43","created_at":"2015-03-24T17:36:02Z","updated_at":"2015-04-22T14:26:00Z","closed_at":"2015-04-22T14:26:00Z","merged_at":null,"merge_commit_sha":"47d4fa55f3e77e71cacf8be6217d0d9feb621320","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47/commits","review_comments_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47/comments","review_comment_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/47/comments","statuses_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/statuses/115c9e644908a6725a36455bb63ccb4f8a16dd87","head":{"label":"andreypopp:master","ref":"master","sha":"115c9e644908a6725a36455bb63ccb4f8a16dd87","user":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"repo":{"id":32070708,"name":"is-my-json-valid","full_name":"andreypopp/is-my-json-valid","owner":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreypopp/is-my-json-valid","description":"A JSONSchema validator that uses code generation to be extremely fast","fork":true,"url":"https://api.github.com/repos/andreypopp/is-my-json-valid","forks_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/forks","keys_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/teams","hooks_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/hooks","issue_events_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/issues/events{/number}","events_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/events","assignees_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/assignees{/user}","branches_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/branches{/branch}","tags_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/tags","blobs_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/statuses/{sha}","languages_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/languages","stargazers_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/stargazers","contributors_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/contributors","subscribers_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/subscribers","subscription_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/subscription","commits_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/contents/{+path}","compare_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/merges","archive_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/downloads","issues_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/issues{/number}","pulls_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/pulls{/number}","milestones_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/milestones{/number}","notifications_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/labels{/name}","releases_url":"https://api.github.com/repos/andreypopp/is-my-json-valid/releases{/id}","created_at":"2015-03-12T10:19:59Z","updated_at":"2015-03-24T17:34:42Z","pushed_at":"2015-03-24T17:34:42Z","git_url":"git://github.com/andreypopp/is-my-json-valid.git","ssh_url":"git@github.com:andreypopp/is-my-json-valid.git","clone_url":"https://github.com/andreypopp/is-my-json-valid.git","svn_url":"https://github.com/andreypopp/is-my-json-valid","homepage":"","size":179,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mafintosh:master","ref":"master","sha":"21aa9b8916a2efb3172d17d2d3d1b517668834c7","user":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"repo":{"id":22483459,"name":"is-my-json-valid","full_name":"mafintosh/is-my-json-valid","owner":{"login":"mafintosh","id":376661,"avatar_url":"https://avatars.githubusercontent.com/u/376661?v=3","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mafintosh/is-my-json-valid","description":"A JSONSchema validator that uses code generation to be extremely fast","fork":false,"url":"https://api.github.com/repos/mafintosh/is-my-json-valid","forks_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/forks","keys_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/teams","hooks_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/hooks","issue_events_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/events{/number}","events_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/events","assignees_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/assignees{/user}","branches_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/branches{/branch}","tags_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/tags","blobs_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/git/refs{/sha}","trees_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/statuses/{sha}","languages_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/languages","stargazers_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/stargazers","contributors_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/contributors","subscribers_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/subscribers","subscription_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/subscription","commits_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/commits{/sha}","git_commits_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/git/commits{/sha}","comments_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/comments{/number}","issue_comment_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/comments{/number}","contents_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/contents/{+path}","compare_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/merges","archive_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/downloads","issues_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues{/number}","pulls_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls{/number}","milestones_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/milestones{/number}","notifications_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/labels{/name}","releases_url":"https://api.github.com/repos/mafintosh/is-my-json-valid/releases{/id}","created_at":"2014-07-31T20:17:13Z","updated_at":"2015-04-20T05:34:28Z","pushed_at":"2015-04-18T01:26:51Z","git_url":"git://github.com/mafintosh/is-my-json-valid.git","ssh_url":"git@github.com:mafintosh/is-my-json-valid.git","clone_url":"https://github.com/mafintosh/is-my-json-valid.git","svn_url":"https://github.com/mafintosh/is-my-json-valid","homepage":"","size":979,"stargazers_count":205,"watchers_count":205,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":19,"forks":23,"open_issues":19,"watchers":205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47"},"html":{"href":"https://github.com/mafintosh/is-my-json-valid/pull/47"},"issue":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/47"},"comments":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/mafintosh/is-my-json-valid/statuses/115c9e644908a6725a36455bb63ccb4f8a16dd87"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":7,"review_comments":1,"commits":1,"additions":49,"deletions":4,"changed_files":2}}