{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1","id":43677263,"html_url":"https://github.com/NuCivic/dkan_dataset_metadata_source/pull/1","diff_url":"https://github.com/NuCivic/dkan_dataset_metadata_source/pull/1.diff","patch_url":"https://github.com/NuCivic/dkan_dataset_metadata_source/pull/1.patch","issue_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/1","number":1,"state":"closed","locked":false,"title":"70 improvements","user":{"login":"dharizza","id":2200763,"avatar_url":"https://avatars.githubusercontent.com/u/2200763?v=3","gravatar_id":"","url":"https://api.github.com/users/dharizza","html_url":"https://github.com/dharizza","followers_url":"https://api.github.com/users/dharizza/followers","following_url":"https://api.github.com/users/dharizza/following{/other_user}","gists_url":"https://api.github.com/users/dharizza/gists{/gist_id}","starred_url":"https://api.github.com/users/dharizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharizza/subscriptions","organizations_url":"https://api.github.com/users/dharizza/orgs","repos_url":"https://api.github.com/users/dharizza/repos","events_url":"https://api.github.com/users/dharizza/events{/privacy}","received_events_url":"https://api.github.com/users/dharizza/received_events","type":"User","site_admin":false},"body":"This responds to https://github.com/NuCivic/data-northdakota/issues/70\r\n\r\n## Acceptance test\r\n\r\nWhen adding a new metadata source, the following thins should happen:\r\n- [ ] the field schema should be required\r\n- [ ] we should be able to add more than one dataset to each source\r\n- [ ] we should be able to use chosen to select the datasets\r\n\r\nWhen viewing a dataset which has a reference to a metadata source, then\r\n- [ ] if the metadata source has a schema, then the title should be the term name, otherwise the title should be the node title.","created_at":"2015-08-28T22:11:34Z","updated_at":"2015-09-11T19:40:21Z","closed_at":"2015-09-11T19:40:21Z","merged_at":"2015-09-11T19:40:21Z","merge_commit_sha":"90139bf573cde6f63096ed3491d133d42cedc2dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1/commits","review_comments_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1/comments","review_comment_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/1/comments","statuses_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/statuses/1b8b955192bded89e98e75c3c1f6e92d20d855fe","head":{"label":"NuCivic:70-improvements","ref":"70-improvements","sha":"1b8b955192bded89e98e75c3c1f6e92d20d855fe","user":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"repo":{"id":41087560,"name":"dkan_dataset_metadata_source","full_name":"NuCivic/dkan_dataset_metadata_source","owner":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuCivic/dkan_dataset_metadata_source","description":"","fork":false,"url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source","forks_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/forks","keys_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/teams","hooks_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/hooks","issue_events_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/events{/number}","events_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/events","assignees_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/assignees{/user}","branches_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/branches{/branch}","tags_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/tags","blobs_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/statuses/{sha}","languages_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/languages","stargazers_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/stargazers","contributors_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/contributors","subscribers_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/subscribers","subscription_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/subscription","commits_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/contents/{+path}","compare_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/merges","archive_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/downloads","issues_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues{/number}","pulls_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls{/number}","milestones_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/milestones{/number}","notifications_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/labels{/name}","releases_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/releases{/id}","created_at":"2015-08-20T09:33:51Z","updated_at":"2015-08-20T09:35:43Z","pushed_at":"2015-09-11T19:40:21Z","git_url":"git://github.com/NuCivic/dkan_dataset_metadata_source.git","ssh_url":"git@github.com:NuCivic/dkan_dataset_metadata_source.git","clone_url":"https://github.com/NuCivic/dkan_dataset_metadata_source.git","svn_url":"https://github.com/NuCivic/dkan_dataset_metadata_source","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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":"7.x-1.x"}},"base":{"label":"NuCivic:7.x-1.x","ref":"7.x-1.x","sha":"3e9919d1041943b503dce2cae5c58fbe45a64c5e","user":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"repo":{"id":41087560,"name":"dkan_dataset_metadata_source","full_name":"NuCivic/dkan_dataset_metadata_source","owner":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuCivic/dkan_dataset_metadata_source","description":"","fork":false,"url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source","forks_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/forks","keys_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/teams","hooks_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/hooks","issue_events_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/events{/number}","events_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/events","assignees_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/assignees{/user}","branches_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/branches{/branch}","tags_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/tags","blobs_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/statuses/{sha}","languages_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/languages","stargazers_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/stargazers","contributors_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/contributors","subscribers_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/subscribers","subscription_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/subscription","commits_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/contents/{+path}","compare_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/merges","archive_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/downloads","issues_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues{/number}","pulls_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls{/number}","milestones_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/milestones{/number}","notifications_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/labels{/name}","releases_url":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/releases{/id}","created_at":"2015-08-20T09:33:51Z","updated_at":"2015-08-20T09:35:43Z","pushed_at":"2015-09-11T19:40:21Z","git_url":"git://github.com/NuCivic/dkan_dataset_metadata_source.git","ssh_url":"git@github.com:NuCivic/dkan_dataset_metadata_source.git","clone_url":"https://github.com/NuCivic/dkan_dataset_metadata_source.git","svn_url":"https://github.com/NuCivic/dkan_dataset_metadata_source","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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":"7.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1"},"html":{"href":"https://github.com/NuCivic/dkan_dataset_metadata_source/pull/1"},"issue":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/1"},"comments":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/NuCivic/dkan_dataset_metadata_source/statuses/1b8b955192bded89e98e75c3c1f6e92d20d855fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"acouch","id":512243,"avatar_url":"https://avatars.githubusercontent.com/u/512243?v=3","gravatar_id":"","url":"https://api.github.com/users/acouch","html_url":"https://github.com/acouch","followers_url":"https://api.github.com/users/acouch/followers","following_url":"https://api.github.com/users/acouch/following{/other_user}","gists_url":"https://api.github.com/users/acouch/gists{/gist_id}","starred_url":"https://api.github.com/users/acouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acouch/subscriptions","organizations_url":"https://api.github.com/users/acouch/orgs","repos_url":"https://api.github.com/users/acouch/repos","events_url":"https://api.github.com/users/acouch/events{/privacy}","received_events_url":"https://api.github.com/users/acouch/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":4,"deletions":4,"changed_files":3}}