{"action":"created","comment":{"url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/comments/78668696","id":78668696,"diff_hunk":"@@ -0,0 +1,20 @@\n+properties:\n+  firstName:\n+    type: string\n+  lastName:\n+    type: string\n+  email:\n+    type: string\n+    format: email\n+  gender:\n+    type: string\n+    enum:\n+      - Female\n+      - Male\n+  preferredContactMethod:","path":"examples/swagger/swagger/public/definitions/Contact.yaml","position":14,"original_position":14,"commit_id":"45fb1910cd002c3fd24f74d68994d3f2792c3ac6","original_commit_id":"13e38e48feac805c20637b4ebfeb580fdbbd4650","user":{"login":"seanpk","id":5642399,"avatar_url":"https://avatars.githubusercontent.com/u/5642399?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpk","html_url":"https://github.com/seanpk","followers_url":"https://api.github.com/users/seanpk/followers","following_url":"https://api.github.com/users/seanpk/following{/other_user}","gists_url":"https://api.github.com/users/seanpk/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpk/subscriptions","organizations_url":"https://api.github.com/users/seanpk/orgs","repos_url":"https://api.github.com/users/seanpk/repos","events_url":"https://api.github.com/users/seanpk/events{/privacy}","received_events_url":"https://api.github.com/users/seanpk/received_events","type":"User","site_admin":false},"body":"`preferredContactMethod`","created_at":"2016-09-14T00:20:46Z","updated_at":"2016-09-14T00:20:46Z","html_url":"https://github.com/BlueOakJS/blueoak-server/pull/63#discussion_r78668696","pull_request_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/comments/78668696"},"html":{"href":"https://github.com/BlueOakJS/blueoak-server/pull/63#discussion_r78668696"},"pull_request":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63","id":84479619,"html_url":"https://github.com/BlueOakJS/blueoak-server/pull/63","diff_url":"https://github.com/BlueOakJS/blueoak-server/pull/63.diff","patch_url":"https://github.com/BlueOakJS/blueoak-server/pull/63.patch","issue_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/63","number":63,"state":"open","locked":false,"title":"Polymorphic validation","user":{"login":"ryshep111","id":5770228,"avatar_url":"https://avatars.githubusercontent.com/u/5770228?v=3","gravatar_id":"","url":"https://api.github.com/users/ryshep111","html_url":"https://github.com/ryshep111","followers_url":"https://api.github.com/users/ryshep111/followers","following_url":"https://api.github.com/users/ryshep111/following{/other_user}","gists_url":"https://api.github.com/users/ryshep111/gists{/gist_id}","starred_url":"https://api.github.com/users/ryshep111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryshep111/subscriptions","organizations_url":"https://api.github.com/users/ryshep111/orgs","repos_url":"https://api.github.com/users/ryshep111/repos","events_url":"https://api.github.com/users/ryshep111/events{/privacy}","received_events_url":"https://api.github.com/users/ryshep111/received_events","type":"User","site_admin":false},"body":"allows tv4 validation to utilize the polymorphism feature in swagger","created_at":"2016-09-08T13:42:02Z","updated_at":"2016-09-14T00:20:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc7fb4196ac11358064d561b1971a4dbf8112a41","assignee":{"login":"seanpk","id":5642399,"avatar_url":"https://avatars.githubusercontent.com/u/5642399?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpk","html_url":"https://github.com/seanpk","followers_url":"https://api.github.com/users/seanpk/followers","following_url":"https://api.github.com/users/seanpk/following{/other_user}","gists_url":"https://api.github.com/users/seanpk/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpk/subscriptions","organizations_url":"https://api.github.com/users/seanpk/orgs","repos_url":"https://api.github.com/users/seanpk/repos","events_url":"https://api.github.com/users/seanpk/events{/privacy}","received_events_url":"https://api.github.com/users/seanpk/received_events","type":"User","site_admin":false},"assignees":[{"login":"seanpk","id":5642399,"avatar_url":"https://avatars.githubusercontent.com/u/5642399?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpk","html_url":"https://github.com/seanpk","followers_url":"https://api.github.com/users/seanpk/followers","following_url":"https://api.github.com/users/seanpk/following{/other_user}","gists_url":"https://api.github.com/users/seanpk/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpk/subscriptions","organizations_url":"https://api.github.com/users/seanpk/orgs","repos_url":"https://api.github.com/users/seanpk/repos","events_url":"https://api.github.com/users/seanpk/events{/privacy}","received_events_url":"https://api.github.com/users/seanpk/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63/commits","review_comments_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63/comments","review_comment_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/63/comments","statuses_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/statuses/45fb1910cd002c3fd24f74d68994d3f2792c3ac6","head":{"label":"ryshep111:polymorphic-validation#60","ref":"polymorphic-validation#60","sha":"45fb1910cd002c3fd24f74d68994d3f2792c3ac6","user":{"login":"ryshep111","id":5770228,"avatar_url":"https://avatars.githubusercontent.com/u/5770228?v=3","gravatar_id":"","url":"https://api.github.com/users/ryshep111","html_url":"https://github.com/ryshep111","followers_url":"https://api.github.com/users/ryshep111/followers","following_url":"https://api.github.com/users/ryshep111/following{/other_user}","gists_url":"https://api.github.com/users/ryshep111/gists{/gist_id}","starred_url":"https://api.github.com/users/ryshep111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryshep111/subscriptions","organizations_url":"https://api.github.com/users/ryshep111/orgs","repos_url":"https://api.github.com/users/ryshep111/repos","events_url":"https://api.github.com/users/ryshep111/events{/privacy}","received_events_url":"https://api.github.com/users/ryshep111/received_events","type":"User","site_admin":false},"repo":{"id":67037495,"name":"blueoak-server","full_name":"ryshep111/blueoak-server","owner":{"login":"ryshep111","id":5770228,"avatar_url":"https://avatars.githubusercontent.com/u/5770228?v=3","gravatar_id":"","url":"https://api.github.com/users/ryshep111","html_url":"https://github.com/ryshep111","followers_url":"https://api.github.com/users/ryshep111/followers","following_url":"https://api.github.com/users/ryshep111/following{/other_user}","gists_url":"https://api.github.com/users/ryshep111/gists{/gist_id}","starred_url":"https://api.github.com/users/ryshep111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryshep111/subscriptions","organizations_url":"https://api.github.com/users/ryshep111/orgs","repos_url":"https://api.github.com/users/ryshep111/repos","events_url":"https://api.github.com/users/ryshep111/events{/privacy}","received_events_url":"https://api.github.com/users/ryshep111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryshep111/blueoak-server","description":"express.js-based, swagger-matic, server runtime","fork":true,"url":"https://api.github.com/repos/ryshep111/blueoak-server","forks_url":"https://api.github.com/repos/ryshep111/blueoak-server/forks","keys_url":"https://api.github.com/repos/ryshep111/blueoak-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryshep111/blueoak-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryshep111/blueoak-server/teams","hooks_url":"https://api.github.com/repos/ryshep111/blueoak-server/hooks","issue_events_url":"https://api.github.com/repos/ryshep111/blueoak-server/issues/events{/number}","events_url":"https://api.github.com/repos/ryshep111/blueoak-server/events","assignees_url":"https://api.github.com/repos/ryshep111/blueoak-server/assignees{/user}","branches_url":"https://api.github.com/repos/ryshep111/blueoak-server/branches{/branch}","tags_url":"https://api.github.com/repos/ryshep111/blueoak-server/tags","blobs_url":"https://api.github.com/repos/ryshep111/blueoak-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryshep111/blueoak-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryshep111/blueoak-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryshep111/blueoak-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryshep111/blueoak-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ryshep111/blueoak-server/languages","stargazers_url":"https://api.github.com/repos/ryshep111/blueoak-server/stargazers","contributors_url":"https://api.github.com/repos/ryshep111/blueoak-server/contributors","subscribers_url":"https://api.github.com/repos/ryshep111/blueoak-server/subscribers","subscription_url":"https://api.github.com/repos/ryshep111/blueoak-server/subscription","commits_url":"https://api.github.com/repos/ryshep111/blueoak-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryshep111/blueoak-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryshep111/blueoak-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryshep111/blueoak-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryshep111/blueoak-server/contents/{+path}","compare_url":"https://api.github.com/repos/ryshep111/blueoak-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryshep111/blueoak-server/merges","archive_url":"https://api.github.com/repos/ryshep111/blueoak-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryshep111/blueoak-server/downloads","issues_url":"https://api.github.com/repos/ryshep111/blueoak-server/issues{/number}","pulls_url":"https://api.github.com/repos/ryshep111/blueoak-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ryshep111/blueoak-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ryshep111/blueoak-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryshep111/blueoak-server/labels{/name}","releases_url":"https://api.github.com/repos/ryshep111/blueoak-server/releases{/id}","deployments_url":"https://api.github.com/repos/ryshep111/blueoak-server/deployments","created_at":"2016-08-31T12:58:00Z","updated_at":"2016-08-31T12:58:02Z","pushed_at":"2016-09-13T20:58:08Z","git_url":"git://github.com/ryshep111/blueoak-server.git","ssh_url":"git@github.com:ryshep111/blueoak-server.git","clone_url":"https://github.com/ryshep111/blueoak-server.git","svn_url":"https://github.com/ryshep111/blueoak-server","homepage":"","size":554,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"BlueOakJS:master","ref":"master","sha":"815661bd4b01644c40a41aec1d81fc4c3aece30d","user":{"login":"BlueOakJS","id":17052968,"avatar_url":"https://avatars.githubusercontent.com/u/17052968?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueOakJS","html_url":"https://github.com/BlueOakJS","followers_url":"https://api.github.com/users/BlueOakJS/followers","following_url":"https://api.github.com/users/BlueOakJS/following{/other_user}","gists_url":"https://api.github.com/users/BlueOakJS/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueOakJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueOakJS/subscriptions","organizations_url":"https://api.github.com/users/BlueOakJS/orgs","repos_url":"https://api.github.com/users/BlueOakJS/repos","events_url":"https://api.github.com/users/BlueOakJS/events{/privacy}","received_events_url":"https://api.github.com/users/BlueOakJS/received_events","type":"Organization","site_admin":false},"repo":{"id":28137103,"name":"blueoak-server","full_name":"BlueOakJS/blueoak-server","owner":{"login":"BlueOakJS","id":17052968,"avatar_url":"https://avatars.githubusercontent.com/u/17052968?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueOakJS","html_url":"https://github.com/BlueOakJS","followers_url":"https://api.github.com/users/BlueOakJS/followers","following_url":"https://api.github.com/users/BlueOakJS/following{/other_user}","gists_url":"https://api.github.com/users/BlueOakJS/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueOakJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueOakJS/subscriptions","organizations_url":"https://api.github.com/users/BlueOakJS/orgs","repos_url":"https://api.github.com/users/BlueOakJS/repos","events_url":"https://api.github.com/users/BlueOakJS/events{/privacy}","received_events_url":"https://api.github.com/users/BlueOakJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlueOakJS/blueoak-server","description":"express.js-based, swagger-matic, server runtime","fork":false,"url":"https://api.github.com/repos/BlueOakJS/blueoak-server","forks_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/forks","keys_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/teams","hooks_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/hooks","issue_events_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/events{/number}","events_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/events","assignees_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/assignees{/user}","branches_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/branches{/branch}","tags_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/tags","blobs_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/languages","stargazers_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/stargazers","contributors_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/contributors","subscribers_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/subscribers","subscription_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/subscription","commits_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/contents/{+path}","compare_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/merges","archive_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/downloads","issues_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues{/number}","pulls_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/labels{/name}","releases_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/releases{/id}","deployments_url":"https://api.github.com/repos/BlueOakJS/blueoak-server/deployments","created_at":"2014-12-17T12:50:43Z","updated_at":"2016-08-11T18:47:14Z","pushed_at":"2016-09-12T19:49:18Z","git_url":"git://github.com/BlueOakJS/blueoak-server.git","ssh_url":"git@github.com:BlueOakJS/blueoak-server.git","clone_url":"https://github.com/BlueOakJS/blueoak-server.git","svn_url":"https://github.com/BlueOakJS/blueoak-server","homepage":"","size":512,"stargazers_count":129,"watchers_count":129,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63"},"html":{"href":"https://github.com/BlueOakJS/blueoak-server/pull/63"},"issue":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/63"},"comments":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/BlueOakJS/blueoak-server/statuses/45fb1910cd002c3fd24f74d68994d3f2792c3ac6"}}}}
{"actor":{"display_login":"seanpk"}}