{"action":"closed","issue":{"url":"https://api.github.com/repos/wfhio/tramcar/issues/14","repository_url":"https://api.github.com/repos/wfhio/tramcar","labels_url":"https://api.github.com/repos/wfhio/tramcar/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/wfhio/tramcar/issues/14/comments","events_url":"https://api.github.com/repos/wfhio/tramcar/issues/14/events","html_url":"https://github.com/wfhio/tramcar/issues/14","id":143193089,"number":14,"title":"Remove reference to Country in Job model","user":{"login":"wfhio","id":9342330,"avatar_url":"https://avatars.githubusercontent.com/u/9342330?v=3","gravatar_id":"","url":"https://api.github.com/users/wfhio","html_url":"https://github.com/wfhio","followers_url":"https://api.github.com/users/wfhio/followers","following_url":"https://api.github.com/users/wfhio/following{/other_user}","gists_url":"https://api.github.com/users/wfhio/gists{/gist_id}","starred_url":"https://api.github.com/users/wfhio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfhio/subscriptions","organizations_url":"https://api.github.com/users/wfhio/orgs","repos_url":"https://api.github.com/users/wfhio/repos","events_url":"https://api.github.com/users/wfhio/events{/privacy}","received_events_url":"https://api.github.com/users/wfhio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wfhio/tramcar/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wfhio/tramcar/milestones/1","html_url":"https://github.com/wfhio/tramcar/milestones/0.2.0","labels_url":"https://api.github.com/repos/wfhio/tramcar/milestones/1/labels","id":1654910,"number":1,"title":"0.2.0","description":null,"creator":{"login":"wfhio","id":9342330,"avatar_url":"https://avatars.githubusercontent.com/u/9342330?v=3","gravatar_id":"","url":"https://api.github.com/users/wfhio","html_url":"https://github.com/wfhio","followers_url":"https://api.github.com/users/wfhio/followers","following_url":"https://api.github.com/users/wfhio/following{/other_user}","gists_url":"https://api.github.com/users/wfhio/gists{/gist_id}","starred_url":"https://api.github.com/users/wfhio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfhio/subscriptions","organizations_url":"https://api.github.com/users/wfhio/orgs","repos_url":"https://api.github.com/users/wfhio/repos","events_url":"https://api.github.com/users/wfhio/events{/privacy}","received_events_url":"https://api.github.com/users/wfhio/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2016-03-19T13:29:42Z","updated_at":"2016-03-24T09:23:32Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-24T09:07:52Z","updated_at":"2016-03-24T09:23:32Z","closed_at":"2016-03-24T09:23:32Z","body":"We currently reference the Country model in the Job model.  This works but as Country is an optional it's unclear how to model this at the schema-level.  It's probably fine to just remove the reference since Country is a static table and embedding country name in the Job document saves us having to query Country when retrieving a job."}}