{"action":"created","issue":{"url":"https://api.github.com/repos/AASHE/hub/issues/112","labels_url":"https://api.github.com/repos/AASHE/hub/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/AASHE/hub/issues/112/comments","events_url":"https://api.github.com/repos/AASHE/hub/issues/112/events","html_url":"https://github.com/AASHE/hub/pull/112","id":118717165,"number":112,"title":"Optional academic disciplines","user":{"login":"rerb","id":609008,"avatar_url":"https://avatars.githubusercontent.com/u/609008?v=3","gravatar_id":"","url":"https://api.github.com/users/rerb","html_url":"https://github.com/rerb","followers_url":"https://api.github.com/users/rerb/followers","following_url":"https://api.github.com/users/rerb/following{/other_user}","gists_url":"https://api.github.com/users/rerb/gists{/gist_id}","starred_url":"https://api.github.com/users/rerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rerb/subscriptions","organizations_url":"https://api.github.com/users/rerb/orgs","repos_url":"https://api.github.com/users/rerb/repos","events_url":"https://api.github.com/users/rerb/events{/privacy}","received_events_url":"https://api.github.com/users/rerb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T22:27:10Z","updated_at":"2015-11-25T15:13:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AASHE/hub/pulls/112","html_url":"https://github.com/AASHE/hub/pull/112","diff_url":"https://github.com/AASHE/hub/pull/112.diff","patch_url":"https://github.com/AASHE/hub/pull/112.patch"},"body":"Makes Academic Disciplines an optional field for all content types except Academic Programs, Research Centers & Institutes, and Course Materials, where they're required by the SubmitResourceForm.\r\n\r\nCloses https://github.com/AASHE/hub/issues/85."},"comment":{"url":"https://api.github.com/repos/AASHE/hub/issues/comments/159636770","html_url":"https://github.com/AASHE/hub/pull/112#issuecomment-159636770","issue_url":"https://api.github.com/repos/AASHE/hub/issues/112","id":159636770,"user":{"login":"bartTC","id":1896,"avatar_url":"https://avatars.githubusercontent.com/u/1896?v=3","gravatar_id":"","url":"https://api.github.com/users/bartTC","html_url":"https://github.com/bartTC","followers_url":"https://api.github.com/users/bartTC/followers","following_url":"https://api.github.com/users/bartTC/following{/other_user}","gists_url":"https://api.github.com/users/bartTC/gists{/gist_id}","starred_url":"https://api.github.com/users/bartTC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartTC/subscriptions","organizations_url":"https://api.github.com/users/bartTC/orgs","repos_url":"https://api.github.com/users/bartTC/repos","events_url":"https://api.github.com/users/bartTC/events{/privacy}","received_events_url":"https://api.github.com/users/bartTC/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T15:13:08Z","updated_at":"2015-11-25T15:13:08Z","body":"@rerb if 'Academic programs' won't be the only field that is set required per content-type, I'd lean to do it the way we handle the `label_overrides` already here: 5ef8449a58e3e3a7c66c948f182f8c37759e790b\r\n\r\nYou could return a list of (ContentType) fields which are required for certain SubClasses."}}