{"action":"created","comment":{"url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/comments/31416975","id":31416975,"diff_hunk":"@@ -0,0 +1,42 @@\n+function boardf(body) {\n+\tif(typeof body.id == 'undefined') {\n+\t\treturn 'id is not defined on request';\n+\t}\n+\tif(typeof body.background == 'undefined') {\n+\t\treturn 'background not defined on request';\n+\t}\n+\tif(typeof body.customBackground == 'undefined') {\n+\t\treturn 'customBackground not defined on request';\n+\t}\n+\tif(typeof body.tickets == 'undefined') {\n+\t\treturn 'tickets not defined on request';\n+\t}\n+\n+\treturn ticketsf(body.tickets);\n+}\n+\n+function ticketsf(tickets) {\n+\tfor (index = 0; index < tickets.length; ++index) {\n+\t\tif(typeof tickets[index].color == 'undefined') {","path":"config/validator/board.js","position":20,"original_position":20,"commit_id":"07bfdb9bf83b991f99829b2dfbfcd13ca03430b3","original_commit_id":"07bfdb9bf83b991f99829b2dfbfcd13ca03430b3","user":{"login":"tanelih","id":3582272,"avatar_url":"https://avatars.githubusercontent.com/u/3582272?v=3","gravatar_id":"","url":"https://api.github.com/users/tanelih","html_url":"https://github.com/tanelih","followers_url":"https://api.github.com/users/tanelih/followers","following_url":"https://api.github.com/users/tanelih/following{/other_user}","gists_url":"https://api.github.com/users/tanelih/gists{/gist_id}","starred_url":"https://api.github.com/users/tanelih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanelih/subscriptions","organizations_url":"https://api.github.com/users/tanelih/orgs","repos_url":"https://api.github.com/users/tanelih/repos","events_url":"https://api.github.com/users/tanelih/events{/privacy}","received_events_url":"https://api.github.com/users/tanelih/received_events","type":"User","site_admin":false},"body":"We could also use some separate JSON schema validation module from NPM.","created_at":"2015-06-01T11:22:47Z","updated_at":"2015-06-01T11:22:47Z","html_url":"https://github.com/N4SJAMK/teamboard-img/pull/5#discussion_r31416975","pull_request_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/comments/31416975"},"html":{"href":"https://github.com/N4SJAMK/teamboard-img/pull/5#discussion_r31416975"},"pull_request":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5","id":36618895,"html_url":"https://github.com/N4SJAMK/teamboard-img/pull/5","diff_url":"https://github.com/N4SJAMK/teamboard-img/pull/5.diff","patch_url":"https://github.com/N4SJAMK/teamboard-img/pull/5.patch","issue_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/5","number":5,"state":"open","locked":false,"title":"Image service update to new contriboard","user":{"login":"nikolauska","id":1628803,"avatar_url":"https://avatars.githubusercontent.com/u/1628803?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolauska","html_url":"https://github.com/nikolauska","followers_url":"https://api.github.com/users/nikolauska/followers","following_url":"https://api.github.com/users/nikolauska/following{/other_user}","gists_url":"https://api.github.com/users/nikolauska/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolauska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolauska/subscriptions","organizations_url":"https://api.github.com/users/nikolauska/orgs","repos_url":"https://api.github.com/users/nikolauska/repos","events_url":"https://api.github.com/users/nikolauska/events{/privacy}","received_events_url":"https://api.github.com/users/nikolauska/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-01T11:13:50Z","updated_at":"2015-06-01T11:22:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d1129caba5e65937a300fcfa1d6de25ee800136","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5/commits","review_comments_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5/comments","review_comment_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/comments{/number}","comments_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/5/comments","statuses_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/statuses/07bfdb9bf83b991f99829b2dfbfcd13ca03430b3","head":{"label":"nikolauska:release","ref":"release","sha":"07bfdb9bf83b991f99829b2dfbfcd13ca03430b3","user":{"login":"nikolauska","id":1628803,"avatar_url":"https://avatars.githubusercontent.com/u/1628803?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolauska","html_url":"https://github.com/nikolauska","followers_url":"https://api.github.com/users/nikolauska/followers","following_url":"https://api.github.com/users/nikolauska/following{/other_user}","gists_url":"https://api.github.com/users/nikolauska/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolauska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolauska/subscriptions","organizations_url":"https://api.github.com/users/nikolauska/orgs","repos_url":"https://api.github.com/users/nikolauska/repos","events_url":"https://api.github.com/users/nikolauska/events{/privacy}","received_events_url":"https://api.github.com/users/nikolauska/received_events","type":"User","site_admin":false},"repo":{"id":36007545,"name":"teamboard-img","full_name":"nikolauska/teamboard-img","owner":{"login":"nikolauska","id":1628803,"avatar_url":"https://avatars.githubusercontent.com/u/1628803?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolauska","html_url":"https://github.com/nikolauska","followers_url":"https://api.github.com/users/nikolauska/followers","following_url":"https://api.github.com/users/nikolauska/following{/other_user}","gists_url":"https://api.github.com/users/nikolauska/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolauska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolauska/subscriptions","organizations_url":"https://api.github.com/users/nikolauska/orgs","repos_url":"https://api.github.com/users/nikolauska/repos","events_url":"https://api.github.com/users/nikolauska/events{/privacy}","received_events_url":"https://api.github.com/users/nikolauska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikolauska/teamboard-img","description":"screenshot service for teamboard","fork":true,"url":"https://api.github.com/repos/nikolauska/teamboard-img","forks_url":"https://api.github.com/repos/nikolauska/teamboard-img/forks","keys_url":"https://api.github.com/repos/nikolauska/teamboard-img/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikolauska/teamboard-img/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikolauska/teamboard-img/teams","hooks_url":"https://api.github.com/repos/nikolauska/teamboard-img/hooks","issue_events_url":"https://api.github.com/repos/nikolauska/teamboard-img/issues/events{/number}","events_url":"https://api.github.com/repos/nikolauska/teamboard-img/events","assignees_url":"https://api.github.com/repos/nikolauska/teamboard-img/assignees{/user}","branches_url":"https://api.github.com/repos/nikolauska/teamboard-img/branches{/branch}","tags_url":"https://api.github.com/repos/nikolauska/teamboard-img/tags","blobs_url":"https://api.github.com/repos/nikolauska/teamboard-img/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikolauska/teamboard-img/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikolauska/teamboard-img/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikolauska/teamboard-img/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikolauska/teamboard-img/statuses/{sha}","languages_url":"https://api.github.com/repos/nikolauska/teamboard-img/languages","stargazers_url":"https://api.github.com/repos/nikolauska/teamboard-img/stargazers","contributors_url":"https://api.github.com/repos/nikolauska/teamboard-img/contributors","subscribers_url":"https://api.github.com/repos/nikolauska/teamboard-img/subscribers","subscription_url":"https://api.github.com/repos/nikolauska/teamboard-img/subscription","commits_url":"https://api.github.com/repos/nikolauska/teamboard-img/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikolauska/teamboard-img/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikolauska/teamboard-img/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikolauska/teamboard-img/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikolauska/teamboard-img/contents/{+path}","compare_url":"https://api.github.com/repos/nikolauska/teamboard-img/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikolauska/teamboard-img/merges","archive_url":"https://api.github.com/repos/nikolauska/teamboard-img/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikolauska/teamboard-img/downloads","issues_url":"https://api.github.com/repos/nikolauska/teamboard-img/issues{/number}","pulls_url":"https://api.github.com/repos/nikolauska/teamboard-img/pulls{/number}","milestones_url":"https://api.github.com/repos/nikolauska/teamboard-img/milestones{/number}","notifications_url":"https://api.github.com/repos/nikolauska/teamboard-img/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikolauska/teamboard-img/labels{/name}","releases_url":"https://api.github.com/repos/nikolauska/teamboard-img/releases{/id}","created_at":"2015-05-21T10:53:01Z","updated_at":"2015-05-22T11:08:00Z","pushed_at":"2015-06-01T11:07:10Z","git_url":"git://github.com/nikolauska/teamboard-img.git","ssh_url":"git@github.com:nikolauska/teamboard-img.git","clone_url":"https://github.com/nikolauska/teamboard-img.git","svn_url":"https://github.com/nikolauska/teamboard-img","homepage":null,"size":373,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"N4SJAMK:master","ref":"master","sha":"4b062b0e32161dfd8cf08214eb28a1ea9e9ce182","user":{"login":"N4SJAMK","id":8157030,"avatar_url":"https://avatars.githubusercontent.com/u/8157030?v=3","gravatar_id":"","url":"https://api.github.com/users/N4SJAMK","html_url":"https://github.com/N4SJAMK","followers_url":"https://api.github.com/users/N4SJAMK/followers","following_url":"https://api.github.com/users/N4SJAMK/following{/other_user}","gists_url":"https://api.github.com/users/N4SJAMK/gists{/gist_id}","starred_url":"https://api.github.com/users/N4SJAMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N4SJAMK/subscriptions","organizations_url":"https://api.github.com/users/N4SJAMK/orgs","repos_url":"https://api.github.com/users/N4SJAMK/repos","events_url":"https://api.github.com/users/N4SJAMK/events{/privacy}","received_events_url":"https://api.github.com/users/N4SJAMK/received_events","type":"Organization","site_admin":false},"repo":{"id":22375328,"name":"teamboard-img","full_name":"N4SJAMK/teamboard-img","owner":{"login":"N4SJAMK","id":8157030,"avatar_url":"https://avatars.githubusercontent.com/u/8157030?v=3","gravatar_id":"","url":"https://api.github.com/users/N4SJAMK","html_url":"https://github.com/N4SJAMK","followers_url":"https://api.github.com/users/N4SJAMK/followers","following_url":"https://api.github.com/users/N4SJAMK/following{/other_user}","gists_url":"https://api.github.com/users/N4SJAMK/gists{/gist_id}","starred_url":"https://api.github.com/users/N4SJAMK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/N4SJAMK/subscriptions","organizations_url":"https://api.github.com/users/N4SJAMK/orgs","repos_url":"https://api.github.com/users/N4SJAMK/repos","events_url":"https://api.github.com/users/N4SJAMK/events{/privacy}","received_events_url":"https://api.github.com/users/N4SJAMK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/N4SJAMK/teamboard-img","description":"screenshot service for teamboard","fork":false,"url":"https://api.github.com/repos/N4SJAMK/teamboard-img","forks_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/forks","keys_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/keys{/key_id}","collaborators_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/teams","hooks_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/hooks","issue_events_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/events{/number}","events_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/events","assignees_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/assignees{/user}","branches_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/branches{/branch}","tags_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/tags","blobs_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/git/refs{/sha}","trees_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/git/trees{/sha}","statuses_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/statuses/{sha}","languages_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/languages","stargazers_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/stargazers","contributors_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/contributors","subscribers_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/subscribers","subscription_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/subscription","commits_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/commits{/sha}","git_commits_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/git/commits{/sha}","comments_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/comments{/number}","issue_comment_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/comments{/number}","contents_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/contents/{+path}","compare_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/compare/{base}...{head}","merges_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/merges","archive_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/downloads","issues_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues{/number}","pulls_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls{/number}","milestones_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/milestones{/number}","notifications_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/labels{/name}","releases_url":"https://api.github.com/repos/N4SJAMK/teamboard-img/releases{/id}","created_at":"2014-07-29T09:53:20Z","updated_at":"2015-04-10T09:57:28Z","pushed_at":"2015-06-01T11:13:50Z","git_url":"git://github.com/N4SJAMK/teamboard-img.git","ssh_url":"git@github.com:N4SJAMK/teamboard-img.git","clone_url":"https://github.com/N4SJAMK/teamboard-img.git","svn_url":"https://github.com/N4SJAMK/teamboard-img","homepage":null,"size":188,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5"},"html":{"href":"https://github.com/N4SJAMK/teamboard-img/pull/5"},"issue":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/5"},"comments":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/N4SJAMK/teamboard-img/statuses/07bfdb9bf83b991f99829b2dfbfcd13ca03430b3"}}}}