{"action":"created","issue":{"url":"https://api.github.com/repos/scitran/core/issues/239","repository_url":"https://api.github.com/repos/scitran/core","labels_url":"https://api.github.com/repos/scitran/core/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/scitran/core/issues/239/comments","events_url":"https://api.github.com/repos/scitran/core/issues/239/events","html_url":"https://github.com/scitran/core/pull/239","id":146397274,"number":239,"title":"Create restrictions on file fields","user":{"login":"nagem","id":5702596,"avatar_url":"https://avatars.githubusercontent.com/u/5702596?v=3","gravatar_id":"","url":"https://api.github.com/users/nagem","html_url":"https://github.com/nagem","followers_url":"https://api.github.com/users/nagem/followers","following_url":"https://api.github.com/users/nagem/following{/other_user}","gists_url":"https://api.github.com/users/nagem/gists{/gist_id}","starred_url":"https://api.github.com/users/nagem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagem/subscriptions","organizations_url":"https://api.github.com/users/nagem/orgs","repos_url":"https://api.github.com/users/nagem/repos","events_url":"https://api.github.com/users/nagem/events{/privacy}","received_events_url":"https://api.github.com/users/nagem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T18:30:27Z","updated_at":"2016-04-06T21:57:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scitran/core/pulls/239","html_url":"https://github.com/scitran/core/pull/239","diff_url":"https://github.com/scitran/core/pull/239.diff","patch_url":"https://github.com/scitran/core/pull/239.patch"},"body":"Closes #231.\r\nCloses #210.\r\n\r\nRestrictions to type, instrument (becoming modality when `data-model-v2` is merged), and measurements working as expected for targeted upload. `EnginePlacer` also sets these fields and uses the `file.json` schema so although untested it should also work as expected. \r\n\r\n@gsfr please review this prototype when you have a chance.\r\n\r\nWhitelisted values are temporary placeholders, do not merge until they are replaced with real values. "},"comment":{"url":"https://api.github.com/repos/scitran/core/issues/comments/206589053","html_url":"https://github.com/scitran/core/pull/239#issuecomment-206589053","issue_url":"https://api.github.com/repos/scitran/core/issues/239","id":206589053,"user":{"login":"kofalt","id":265071,"avatar_url":"https://avatars.githubusercontent.com/u/265071?v=3","gravatar_id":"","url":"https://api.github.com/users/kofalt","html_url":"https://github.com/kofalt","followers_url":"https://api.github.com/users/kofalt/followers","following_url":"https://api.github.com/users/kofalt/following{/other_user}","gists_url":"https://api.github.com/users/kofalt/gists{/gist_id}","starred_url":"https://api.github.com/users/kofalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofalt/subscriptions","organizations_url":"https://api.github.com/users/kofalt/orgs","repos_url":"https://api.github.com/users/kofalt/repos","events_url":"https://api.github.com/users/kofalt/events{/privacy}","received_events_url":"https://api.github.com/users/kofalt/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T21:57:45Z","updated_at":"2016-04-06T21:57:45Z","body":"LGTM other than comments"}}