{"action":"opened","number":248,"pull_request":{"url":"https://api.github.com/repos/Prismatic/schema/pulls/248","id":43001244,"html_url":"https://github.com/Prismatic/schema/pull/248","diff_url":"https://github.com/Prismatic/schema/pull/248.diff","patch_url":"https://github.com/Prismatic/schema/pull/248.patch","issue_url":"https://api.github.com/repos/Prismatic/schema/issues/248","number":248,"state":"open","locked":false,"title":"introduces cond-pre to replace either","user":{"login":"davegolland","id":1767827,"avatar_url":"https://avatars.githubusercontent.com/u/1767827?v=3","gravatar_id":"","url":"https://api.github.com/users/davegolland","html_url":"https://github.com/davegolland","followers_url":"https://api.github.com/users/davegolland/followers","following_url":"https://api.github.com/users/davegolland/following{/other_user}","gists_url":"https://api.github.com/users/davegolland/gists{/gist_id}","starred_url":"https://api.github.com/users/davegolland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegolland/subscriptions","organizations_url":"https://api.github.com/users/davegolland/orgs","repos_url":"https://api.github.com/users/davegolland/repos","events_url":"https://api.github.com/users/davegolland/events{/privacy}","received_events_url":"https://api.github.com/users/davegolland/received_events","type":"User","site_admin":false},"body":"s/cond-pre behaves like s/either, taking a list of schemas to match. But it is a little cleaner because it creates an s/conditional where the predicates are based on the schema spec preconditions.","created_at":"2015-08-21T03:32:19Z","updated_at":"2015-08-21T03:32:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Prismatic/schema/pulls/248/commits","review_comments_url":"https://api.github.com/repos/Prismatic/schema/pulls/248/comments","review_comment_url":"https://api.github.com/repos/Prismatic/schema/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Prismatic/schema/issues/248/comments","statuses_url":"https://api.github.com/repos/Prismatic/schema/statuses/1ea1ed5a20324d242cc2893f23af31d5182ef9f5","head":{"label":"Prismatic:cond-pre","ref":"cond-pre","sha":"1ea1ed5a20324d242cc2893f23af31d5182ef9f5","user":{"login":"Prismatic","id":1073038,"avatar_url":"https://avatars.githubusercontent.com/u/1073038?v=3","gravatar_id":"","url":"https://api.github.com/users/Prismatic","html_url":"https://github.com/Prismatic","followers_url":"https://api.github.com/users/Prismatic/followers","following_url":"https://api.github.com/users/Prismatic/following{/other_user}","gists_url":"https://api.github.com/users/Prismatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Prismatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prismatic/subscriptions","organizations_url":"https://api.github.com/users/Prismatic/orgs","repos_url":"https://api.github.com/users/Prismatic/repos","events_url":"https://api.github.com/users/Prismatic/events{/privacy}","received_events_url":"https://api.github.com/users/Prismatic/received_events","type":"Organization","site_admin":false},"repo":{"id":11594840,"name":"schema","full_name":"Prismatic/schema","owner":{"login":"Prismatic","id":1073038,"avatar_url":"https://avatars.githubusercontent.com/u/1073038?v=3","gravatar_id":"","url":"https://api.github.com/users/Prismatic","html_url":"https://github.com/Prismatic","followers_url":"https://api.github.com/users/Prismatic/followers","following_url":"https://api.github.com/users/Prismatic/following{/other_user}","gists_url":"https://api.github.com/users/Prismatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Prismatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prismatic/subscriptions","organizations_url":"https://api.github.com/users/Prismatic/orgs","repos_url":"https://api.github.com/users/Prismatic/repos","events_url":"https://api.github.com/users/Prismatic/events{/privacy}","received_events_url":"https://api.github.com/users/Prismatic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Prismatic/schema","description":"Clojure(Script) library for declarative data description and validation","fork":false,"url":"https://api.github.com/repos/Prismatic/schema","forks_url":"https://api.github.com/repos/Prismatic/schema/forks","keys_url":"https://api.github.com/repos/Prismatic/schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Prismatic/schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Prismatic/schema/teams","hooks_url":"https://api.github.com/repos/Prismatic/schema/hooks","issue_events_url":"https://api.github.com/repos/Prismatic/schema/issues/events{/number}","events_url":"https://api.github.com/repos/Prismatic/schema/events","assignees_url":"https://api.github.com/repos/Prismatic/schema/assignees{/user}","branches_url":"https://api.github.com/repos/Prismatic/schema/branches{/branch}","tags_url":"https://api.github.com/repos/Prismatic/schema/tags","blobs_url":"https://api.github.com/repos/Prismatic/schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Prismatic/schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Prismatic/schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/Prismatic/schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Prismatic/schema/statuses/{sha}","languages_url":"https://api.github.com/repos/Prismatic/schema/languages","stargazers_url":"https://api.github.com/repos/Prismatic/schema/stargazers","contributors_url":"https://api.github.com/repos/Prismatic/schema/contributors","subscribers_url":"https://api.github.com/repos/Prismatic/schema/subscribers","subscription_url":"https://api.github.com/repos/Prismatic/schema/subscription","commits_url":"https://api.github.com/repos/Prismatic/schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/Prismatic/schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/Prismatic/schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/Prismatic/schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/Prismatic/schema/contents/{+path}","compare_url":"https://api.github.com/repos/Prismatic/schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Prismatic/schema/merges","archive_url":"https://api.github.com/repos/Prismatic/schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Prismatic/schema/downloads","issues_url":"https://api.github.com/repos/Prismatic/schema/issues{/number}","pulls_url":"https://api.github.com/repos/Prismatic/schema/pulls{/number}","milestones_url":"https://api.github.com/repos/Prismatic/schema/milestones{/number}","notifications_url":"https://api.github.com/repos/Prismatic/schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Prismatic/schema/labels{/name}","releases_url":"https://api.github.com/repos/Prismatic/schema/releases{/id}","created_at":"2013-07-22T23:26:46Z","updated_at":"2015-08-20T11:40:56Z","pushed_at":"2015-08-21T03:27:48Z","git_url":"git://github.com/Prismatic/schema.git","ssh_url":"git@github.com:Prismatic/schema.git","clone_url":"https://github.com/Prismatic/schema.git","svn_url":"https://github.com/Prismatic/schema","homepage":"","size":2807,"stargazers_count":1084,"watchers_count":1084,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":108,"mirror_url":null,"open_issues_count":19,"forks":108,"open_issues":19,"watchers":1084,"default_branch":"master"}},"base":{"label":"Prismatic:master","ref":"master","sha":"0df054c58719d34d617e916ddb0cc1be773682ab","user":{"login":"Prismatic","id":1073038,"avatar_url":"https://avatars.githubusercontent.com/u/1073038?v=3","gravatar_id":"","url":"https://api.github.com/users/Prismatic","html_url":"https://github.com/Prismatic","followers_url":"https://api.github.com/users/Prismatic/followers","following_url":"https://api.github.com/users/Prismatic/following{/other_user}","gists_url":"https://api.github.com/users/Prismatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Prismatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prismatic/subscriptions","organizations_url":"https://api.github.com/users/Prismatic/orgs","repos_url":"https://api.github.com/users/Prismatic/repos","events_url":"https://api.github.com/users/Prismatic/events{/privacy}","received_events_url":"https://api.github.com/users/Prismatic/received_events","type":"Organization","site_admin":false},"repo":{"id":11594840,"name":"schema","full_name":"Prismatic/schema","owner":{"login":"Prismatic","id":1073038,"avatar_url":"https://avatars.githubusercontent.com/u/1073038?v=3","gravatar_id":"","url":"https://api.github.com/users/Prismatic","html_url":"https://github.com/Prismatic","followers_url":"https://api.github.com/users/Prismatic/followers","following_url":"https://api.github.com/users/Prismatic/following{/other_user}","gists_url":"https://api.github.com/users/Prismatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Prismatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prismatic/subscriptions","organizations_url":"https://api.github.com/users/Prismatic/orgs","repos_url":"https://api.github.com/users/Prismatic/repos","events_url":"https://api.github.com/users/Prismatic/events{/privacy}","received_events_url":"https://api.github.com/users/Prismatic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Prismatic/schema","description":"Clojure(Script) library for declarative data description and validation","fork":false,"url":"https://api.github.com/repos/Prismatic/schema","forks_url":"https://api.github.com/repos/Prismatic/schema/forks","keys_url":"https://api.github.com/repos/Prismatic/schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Prismatic/schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Prismatic/schema/teams","hooks_url":"https://api.github.com/repos/Prismatic/schema/hooks","issue_events_url":"https://api.github.com/repos/Prismatic/schema/issues/events{/number}","events_url":"https://api.github.com/repos/Prismatic/schema/events","assignees_url":"https://api.github.com/repos/Prismatic/schema/assignees{/user}","branches_url":"https://api.github.com/repos/Prismatic/schema/branches{/branch}","tags_url":"https://api.github.com/repos/Prismatic/schema/tags","blobs_url":"https://api.github.com/repos/Prismatic/schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Prismatic/schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Prismatic/schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/Prismatic/schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Prismatic/schema/statuses/{sha}","languages_url":"https://api.github.com/repos/Prismatic/schema/languages","stargazers_url":"https://api.github.com/repos/Prismatic/schema/stargazers","contributors_url":"https://api.github.com/repos/Prismatic/schema/contributors","subscribers_url":"https://api.github.com/repos/Prismatic/schema/subscribers","subscription_url":"https://api.github.com/repos/Prismatic/schema/subscription","commits_url":"https://api.github.com/repos/Prismatic/schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/Prismatic/schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/Prismatic/schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/Prismatic/schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/Prismatic/schema/contents/{+path}","compare_url":"https://api.github.com/repos/Prismatic/schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Prismatic/schema/merges","archive_url":"https://api.github.com/repos/Prismatic/schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Prismatic/schema/downloads","issues_url":"https://api.github.com/repos/Prismatic/schema/issues{/number}","pulls_url":"https://api.github.com/repos/Prismatic/schema/pulls{/number}","milestones_url":"https://api.github.com/repos/Prismatic/schema/milestones{/number}","notifications_url":"https://api.github.com/repos/Prismatic/schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Prismatic/schema/labels{/name}","releases_url":"https://api.github.com/repos/Prismatic/schema/releases{/id}","created_at":"2013-07-22T23:26:46Z","updated_at":"2015-08-20T11:40:56Z","pushed_at":"2015-08-21T03:27:48Z","git_url":"git://github.com/Prismatic/schema.git","ssh_url":"git@github.com:Prismatic/schema.git","clone_url":"https://github.com/Prismatic/schema.git","svn_url":"https://github.com/Prismatic/schema","homepage":"","size":2807,"stargazers_count":1084,"watchers_count":1084,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":108,"mirror_url":null,"open_issues_count":19,"forks":108,"open_issues":19,"watchers":1084,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Prismatic/schema/pulls/248"},"html":{"href":"https://github.com/Prismatic/schema/pull/248"},"issue":{"href":"https://api.github.com/repos/Prismatic/schema/issues/248"},"comments":{"href":"https://api.github.com/repos/Prismatic/schema/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/Prismatic/schema/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/Prismatic/schema/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Prismatic/schema/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/Prismatic/schema/statuses/1ea1ed5a20324d242cc2893f23af31d5182ef9f5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":143,"deletions":68,"changed_files":3}}