{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/oposs/jsonhound/pulls/10","id":238001218,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MDAxMjE4","html_url":"https://github.com/oposs/jsonhound/pull/10","diff_url":"https://github.com/oposs/jsonhound/pull/10.diff","patch_url":"https://github.com/oposs/jsonhound/pull/10.patch","issue_url":"https://api.github.com/repos/oposs/jsonhound/issues/10","number":10,"state":"closed","locked":false,"title":"Provide `Either[...]` for disjunctions of identifiers","user":{"login":"jnthn","id":50259,"node_id":"MDQ6VXNlcjUwMjU5","avatar_url":"https://avatars2.githubusercontent.com/u/50259?v=4","gravatar_id":"","url":"https://api.github.com/users/jnthn","html_url":"https://github.com/jnthn","followers_url":"https://api.github.com/users/jnthn/followers","following_url":"https://api.github.com/users/jnthn/following{/other_user}","gists_url":"https://api.github.com/users/jnthn/gists{/gist_id}","starred_url":"https://api.github.com/users/jnthn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnthn/subscriptions","organizations_url":"https://api.github.com/users/jnthn/orgs","repos_url":"https://api.github.com/users/jnthn/repos","events_url":"https://api.github.com/users/jnthn/events{/privacy}","received_events_url":"https://api.github.com/users/jnthn/received_events","type":"User","site_admin":false},"body":"This makes it possible to do things like:\r\n\r\n```\r\nsubset MegabitEthernet\r\n        is json-path(q[$['Cisco-IOS-XE-native:native'].interface.MegabitEthernet[*]]);\r\nsubset GigabitEthernet\r\n        is json-path(q[$['Cisco-IOS-XE-native:native'].interface.GigabitEthernet[*]]);\r\n\r\nvalidate 'Ethernet correctly configured', -> Either[MegabitEthernet, GigabitEthernet] $eth {\r\n    ...\r\n}\r\n```\r\n\r\nTo have the validation rule apply to either case.","created_at":"2018-12-12T11:21:18Z","updated_at":"2018-12-12T12:32:11Z","closed_at":"2018-12-12T12:32:11Z","merged_at":"2018-12-12T12:32:11Z","merge_commit_sha":"a85c4d8e6c6c75f8274cc7001483b1ff84edd147","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oposs/jsonhound/pulls/10/commits","review_comments_url":"https://api.github.com/repos/oposs/jsonhound/pulls/10/comments","review_comment_url":"https://api.github.com/repos/oposs/jsonhound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oposs/jsonhound/issues/10/comments","statuses_url":"https://api.github.com/repos/oposs/jsonhound/statuses/94426fdaad821ff8bfc7999a04b9bfc8546efc72","head":{"label":"jnthn:either","ref":"either","sha":"94426fdaad821ff8bfc7999a04b9bfc8546efc72","user":{"login":"jnthn","id":50259,"node_id":"MDQ6VXNlcjUwMjU5","avatar_url":"https://avatars2.githubusercontent.com/u/50259?v=4","gravatar_id":"","url":"https://api.github.com/users/jnthn","html_url":"https://github.com/jnthn","followers_url":"https://api.github.com/users/jnthn/followers","following_url":"https://api.github.com/users/jnthn/following{/other_user}","gists_url":"https://api.github.com/users/jnthn/gists{/gist_id}","starred_url":"https://api.github.com/users/jnthn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnthn/subscriptions","organizations_url":"https://api.github.com/users/jnthn/orgs","repos_url":"https://api.github.com/users/jnthn/repos","events_url":"https://api.github.com/users/jnthn/events{/privacy}","received_events_url":"https://api.github.com/users/jnthn/received_events","type":"User","site_admin":false},"repo":{"id":153257239,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMyNTcyMzk=","name":"jsonhound","full_name":"jnthn/jsonhound","private":false,"owner":{"login":"jnthn","id":50259,"node_id":"MDQ6VXNlcjUwMjU5","avatar_url":"https://avatars2.githubusercontent.com/u/50259?v=4","gravatar_id":"","url":"https://api.github.com/users/jnthn","html_url":"https://github.com/jnthn","followers_url":"https://api.github.com/users/jnthn/followers","following_url":"https://api.github.com/users/jnthn/following{/other_user}","gists_url":"https://api.github.com/users/jnthn/gists{/gist_id}","starred_url":"https://api.github.com/users/jnthn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnthn/subscriptions","organizations_url":"https://api.github.com/users/jnthn/orgs","repos_url":"https://api.github.com/users/jnthn/repos","events_url":"https://api.github.com/users/jnthn/events{/privacy}","received_events_url":"https://api.github.com/users/jnthn/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jnthn/jsonhound","description":"system for parsing JSON data structures and identifying anomalies","fork":true,"url":"https://api.github.com/repos/jnthn/jsonhound","forks_url":"https://api.github.com/repos/jnthn/jsonhound/forks","keys_url":"https://api.github.com/repos/jnthn/jsonhound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jnthn/jsonhound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jnthn/jsonhound/teams","hooks_url":"https://api.github.com/repos/jnthn/jsonhound/hooks","issue_events_url":"https://api.github.com/repos/jnthn/jsonhound/issues/events{/number}","events_url":"https://api.github.com/repos/jnthn/jsonhound/events","assignees_url":"https://api.github.com/repos/jnthn/jsonhound/assignees{/user}","branches_url":"https://api.github.com/repos/jnthn/jsonhound/branches{/branch}","tags_url":"https://api.github.com/repos/jnthn/jsonhound/tags","blobs_url":"https://api.github.com/repos/jnthn/jsonhound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jnthn/jsonhound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jnthn/jsonhound/git/refs{/sha}","trees_url":"https://api.github.com/repos/jnthn/jsonhound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jnthn/jsonhound/statuses/{sha}","languages_url":"https://api.github.com/repos/jnthn/jsonhound/languages","stargazers_url":"https://api.github.com/repos/jnthn/jsonhound/stargazers","contributors_url":"https://api.github.com/repos/jnthn/jsonhound/contributors","subscribers_url":"https://api.github.com/repos/jnthn/jsonhound/subscribers","subscription_url":"https://api.github.com/repos/jnthn/jsonhound/subscription","commits_url":"https://api.github.com/repos/jnthn/jsonhound/commits{/sha}","git_commits_url":"https://api.github.com/repos/jnthn/jsonhound/git/commits{/sha}","comments_url":"https://api.github.com/repos/jnthn/jsonhound/comments{/number}","issue_comment_url":"https://api.github.com/repos/jnthn/jsonhound/issues/comments{/number}","contents_url":"https://api.github.com/repos/jnthn/jsonhound/contents/{+path}","compare_url":"https://api.github.com/repos/jnthn/jsonhound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jnthn/jsonhound/merges","archive_url":"https://api.github.com/repos/jnthn/jsonhound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jnthn/jsonhound/downloads","issues_url":"https://api.github.com/repos/jnthn/jsonhound/issues{/number}","pulls_url":"https://api.github.com/repos/jnthn/jsonhound/pulls{/number}","milestones_url":"https://api.github.com/repos/jnthn/jsonhound/milestones{/number}","notifications_url":"https://api.github.com/repos/jnthn/jsonhound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jnthn/jsonhound/labels{/name}","releases_url":"https://api.github.com/repos/jnthn/jsonhound/releases{/id}","deployments_url":"https://api.github.com/repos/jnthn/jsonhound/deployments","created_at":"2018-10-16T09:15:04Z","updated_at":"2018-12-05T14:41:50Z","pushed_at":"2018-12-12T11:18:13Z","git_url":"git://github.com/jnthn/jsonhound.git","ssh_url":"git@github.com:jnthn/jsonhound.git","clone_url":"https://github.com/jnthn/jsonhound.git","svn_url":"https://github.com/jnthn/jsonhound","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Perl 6","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oposs:master","ref":"master","sha":"6ba448dcc9fc82fe30f0ddbcdb7dcdc1ff520abb","user":{"login":"oposs","id":1648768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDg3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/1648768?v=4","gravatar_id":"","url":"https://api.github.com/users/oposs","html_url":"https://github.com/oposs","followers_url":"https://api.github.com/users/oposs/followers","following_url":"https://api.github.com/users/oposs/following{/other_user}","gists_url":"https://api.github.com/users/oposs/gists{/gist_id}","starred_url":"https://api.github.com/users/oposs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oposs/subscriptions","organizations_url":"https://api.github.com/users/oposs/orgs","repos_url":"https://api.github.com/users/oposs/repos","events_url":"https://api.github.com/users/oposs/events{/privacy}","received_events_url":"https://api.github.com/users/oposs/received_events","type":"Organization","site_admin":false},"repo":{"id":150106344,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAxMDYzNDQ=","name":"jsonhound","full_name":"oposs/jsonhound","private":false,"owner":{"login":"oposs","id":1648768,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDg3Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/1648768?v=4","gravatar_id":"","url":"https://api.github.com/users/oposs","html_url":"https://github.com/oposs","followers_url":"https://api.github.com/users/oposs/followers","following_url":"https://api.github.com/users/oposs/following{/other_user}","gists_url":"https://api.github.com/users/oposs/gists{/gist_id}","starred_url":"https://api.github.com/users/oposs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oposs/subscriptions","organizations_url":"https://api.github.com/users/oposs/orgs","repos_url":"https://api.github.com/users/oposs/repos","events_url":"https://api.github.com/users/oposs/events{/privacy}","received_events_url":"https://api.github.com/users/oposs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oposs/jsonhound","description":"system for parsing JSON data structures and identifying anomalies","fork":false,"url":"https://api.github.com/repos/oposs/jsonhound","forks_url":"https://api.github.com/repos/oposs/jsonhound/forks","keys_url":"https://api.github.com/repos/oposs/jsonhound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oposs/jsonhound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oposs/jsonhound/teams","hooks_url":"https://api.github.com/repos/oposs/jsonhound/hooks","issue_events_url":"https://api.github.com/repos/oposs/jsonhound/issues/events{/number}","events_url":"https://api.github.com/repos/oposs/jsonhound/events","assignees_url":"https://api.github.com/repos/oposs/jsonhound/assignees{/user}","branches_url":"https://api.github.com/repos/oposs/jsonhound/branches{/branch}","tags_url":"https://api.github.com/repos/oposs/jsonhound/tags","blobs_url":"https://api.github.com/repos/oposs/jsonhound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oposs/jsonhound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oposs/jsonhound/git/refs{/sha}","trees_url":"https://api.github.com/repos/oposs/jsonhound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oposs/jsonhound/statuses/{sha}","languages_url":"https://api.github.com/repos/oposs/jsonhound/languages","stargazers_url":"https://api.github.com/repos/oposs/jsonhound/stargazers","contributors_url":"https://api.github.com/repos/oposs/jsonhound/contributors","subscribers_url":"https://api.github.com/repos/oposs/jsonhound/subscribers","subscription_url":"https://api.github.com/repos/oposs/jsonhound/subscription","commits_url":"https://api.github.com/repos/oposs/jsonhound/commits{/sha}","git_commits_url":"https://api.github.com/repos/oposs/jsonhound/git/commits{/sha}","comments_url":"https://api.github.com/repos/oposs/jsonhound/comments{/number}","issue_comment_url":"https://api.github.com/repos/oposs/jsonhound/issues/comments{/number}","contents_url":"https://api.github.com/repos/oposs/jsonhound/contents/{+path}","compare_url":"https://api.github.com/repos/oposs/jsonhound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oposs/jsonhound/merges","archive_url":"https://api.github.com/repos/oposs/jsonhound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oposs/jsonhound/downloads","issues_url":"https://api.github.com/repos/oposs/jsonhound/issues{/number}","pulls_url":"https://api.github.com/repos/oposs/jsonhound/pulls{/number}","milestones_url":"https://api.github.com/repos/oposs/jsonhound/milestones{/number}","notifications_url":"https://api.github.com/repos/oposs/jsonhound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oposs/jsonhound/labels{/name}","releases_url":"https://api.github.com/repos/oposs/jsonhound/releases{/id}","deployments_url":"https://api.github.com/repos/oposs/jsonhound/deployments","created_at":"2018-09-24T13:24:31Z","updated_at":"2018-12-03T10:36:41Z","pushed_at":"2018-12-12T12:32:11Z","git_url":"git://github.com/oposs/jsonhound.git","ssh_url":"git@github.com:oposs/jsonhound.git","clone_url":"https://github.com/oposs/jsonhound.git","svn_url":"https://github.com/oposs/jsonhound","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":"Perl 6","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oposs/jsonhound/pulls/10"},"html":{"href":"https://github.com/oposs/jsonhound/pull/10"},"issue":{"href":"https://api.github.com/repos/oposs/jsonhound/issues/10"},"comments":{"href":"https://api.github.com/repos/oposs/jsonhound/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/oposs/jsonhound/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/oposs/jsonhound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oposs/jsonhound/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/oposs/jsonhound/statuses/94426fdaad821ff8bfc7999a04b9bfc8546efc72"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"oetiker","id":429279,"node_id":"MDQ6VXNlcjQyOTI3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/429279?v=4","gravatar_id":"","url":"https://api.github.com/users/oetiker","html_url":"https://github.com/oetiker","followers_url":"https://api.github.com/users/oetiker/followers","following_url":"https://api.github.com/users/oetiker/following{/other_user}","gists_url":"https://api.github.com/users/oetiker/gists{/gist_id}","starred_url":"https://api.github.com/users/oetiker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oetiker/subscriptions","organizations_url":"https://api.github.com/users/oetiker/orgs","repos_url":"https://api.github.com/users/oetiker/repos","events_url":"https://api.github.com/users/oetiker/events{/privacy}","received_events_url":"https://api.github.com/users/oetiker/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":177,"deletions":40,"changed_files":5}}
{"actor":{"display_login":"oetiker"}}