{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/Emergence/pulls/comments/40826367","id":40826367,"diff_hunk":"@@ -1,22 +1,49 @@\n import Gloss\n+import ISO8601DateFormatter\n \n struct Show: Showable, Thumbnailable {\n     let name: String\n \n-    let installShots: [Imageable]\n-    let artworks: [Artworkable]\n+    let pressRelease: String?\n+    let showDescription: String?\n+\n+    let startDate: NSDate?\n+    let endDate: NSDate?\n+\n+    var installShots: [Imageable]\n+    var artworks: [Artworkable]\n \n     var thumbnailImageFormatString: String\n     var thumbnailImageVersions: [String]\n }\n \n+let dateShowFormatter = ISO8601DateFormatter()\n+\n+\n extension Show: Decodable {\n     init?(json: JSON) {\n+\n         guard let name: String = \"name\" <~~ json else {\n             return nil\n         }\n \n         self.name = name\n+\n+        if let start: String = \"start_at\" <~~ json {","path":"Emergence/Models/Electric Objects/Show.swift","position":34,"original_position":34,"commit_id":"154ddb61b47f949bae3323f03a1a172e61a7da6a","original_commit_id":"154ddb61b47f949bae3323f03a1a172e61a7da6a","user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"not worth failing an init over","created_at":"2015-09-30T17:48:00Z","updated_at":"2015-09-30T17:48:00Z","html_url":"https://github.com/artsy/Emergence/pull/7#discussion_r40826367","pull_request_url":"https://api.github.com/repos/artsy/Emergence/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/comments/40826367"},"html":{"href":"https://github.com/artsy/Emergence/pull/7#discussion_r40826367"},"pull_request":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/Emergence/pulls/7","id":46433421,"html_url":"https://github.com/artsy/Emergence/pull/7","diff_url":"https://github.com/artsy/Emergence/pull/7.diff","patch_url":"https://github.com/artsy/Emergence/pull/7.patch","issue_url":"https://api.github.com/repos/artsy/Emergence/issues/7","number":7,"state":"open","locked":false,"title":"@ashfurrow => Use Locations to the Grab a list of shows","user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"Will inline","created_at":"2015-09-30T17:46:15Z","updated_at":"2015-09-30T17:48:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e26c20dd2f0ad6f6f09457c14088ef0d55e4ae55","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artsy/Emergence/pulls/7/commits","review_comments_url":"https://api.github.com/repos/artsy/Emergence/pulls/7/comments","review_comment_url":"https://api.github.com/repos/artsy/Emergence/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/Emergence/issues/7/comments","statuses_url":"https://api.github.com/repos/artsy/Emergence/statuses/154ddb61b47f949bae3323f03a1a172e61a7da6a","head":{"label":"artsy:locations","ref":"locations","sha":"154ddb61b47f949bae3323f03a1a172e61a7da6a","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":42919437,"name":"Emergence","full_name":"artsy/Emergence","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/Emergence","description":"TV, Shows","fork":false,"url":"https://api.github.com/repos/artsy/Emergence","forks_url":"https://api.github.com/repos/artsy/Emergence/forks","keys_url":"https://api.github.com/repos/artsy/Emergence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/Emergence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/Emergence/teams","hooks_url":"https://api.github.com/repos/artsy/Emergence/hooks","issue_events_url":"https://api.github.com/repos/artsy/Emergence/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/Emergence/events","assignees_url":"https://api.github.com/repos/artsy/Emergence/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/Emergence/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/Emergence/tags","blobs_url":"https://api.github.com/repos/artsy/Emergence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/Emergence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/Emergence/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/Emergence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/Emergence/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/Emergence/languages","stargazers_url":"https://api.github.com/repos/artsy/Emergence/stargazers","contributors_url":"https://api.github.com/repos/artsy/Emergence/contributors","subscribers_url":"https://api.github.com/repos/artsy/Emergence/subscribers","subscription_url":"https://api.github.com/repos/artsy/Emergence/subscription","commits_url":"https://api.github.com/repos/artsy/Emergence/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/Emergence/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/Emergence/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/Emergence/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/Emergence/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/Emergence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/Emergence/merges","archive_url":"https://api.github.com/repos/artsy/Emergence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/Emergence/downloads","issues_url":"https://api.github.com/repos/artsy/Emergence/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/Emergence/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/Emergence/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/Emergence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/Emergence/labels{/name}","releases_url":"https://api.github.com/repos/artsy/Emergence/releases{/id}","created_at":"2015-09-22T07:51:26Z","updated_at":"2015-09-28T23:42:07Z","pushed_at":"2015-09-30T17:46:16Z","git_url":"git://github.com/artsy/Emergence.git","ssh_url":"git@github.com:artsy/Emergence.git","clone_url":"https://github.com/artsy/Emergence.git","svn_url":"https://github.com/artsy/Emergence","homepage":"","size":224,"stargazers_count":17,"watchers_count":17,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":17,"default_branch":"master"}},"base":{"label":"artsy:master","ref":"master","sha":"3528ec9a783e24776cbdafb114425c16f0bf1da7","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":42919437,"name":"Emergence","full_name":"artsy/Emergence","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/Emergence","description":"TV, Shows","fork":false,"url":"https://api.github.com/repos/artsy/Emergence","forks_url":"https://api.github.com/repos/artsy/Emergence/forks","keys_url":"https://api.github.com/repos/artsy/Emergence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/Emergence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/Emergence/teams","hooks_url":"https://api.github.com/repos/artsy/Emergence/hooks","issue_events_url":"https://api.github.com/repos/artsy/Emergence/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/Emergence/events","assignees_url":"https://api.github.com/repos/artsy/Emergence/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/Emergence/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/Emergence/tags","blobs_url":"https://api.github.com/repos/artsy/Emergence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/Emergence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/Emergence/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/Emergence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/Emergence/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/Emergence/languages","stargazers_url":"https://api.github.com/repos/artsy/Emergence/stargazers","contributors_url":"https://api.github.com/repos/artsy/Emergence/contributors","subscribers_url":"https://api.github.com/repos/artsy/Emergence/subscribers","subscription_url":"https://api.github.com/repos/artsy/Emergence/subscription","commits_url":"https://api.github.com/repos/artsy/Emergence/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/Emergence/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/Emergence/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/Emergence/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/Emergence/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/Emergence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/Emergence/merges","archive_url":"https://api.github.com/repos/artsy/Emergence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/Emergence/downloads","issues_url":"https://api.github.com/repos/artsy/Emergence/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/Emergence/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/Emergence/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/Emergence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/Emergence/labels{/name}","releases_url":"https://api.github.com/repos/artsy/Emergence/releases{/id}","created_at":"2015-09-22T07:51:26Z","updated_at":"2015-09-28T23:42:07Z","pushed_at":"2015-09-30T17:46:16Z","git_url":"git://github.com/artsy/Emergence.git","ssh_url":"git@github.com:artsy/Emergence.git","clone_url":"https://github.com/artsy/Emergence.git","svn_url":"https://github.com/artsy/Emergence","homepage":"","size":224,"stargazers_count":17,"watchers_count":17,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/7"},"html":{"href":"https://github.com/artsy/Emergence/pull/7"},"issue":{"href":"https://api.github.com/repos/artsy/Emergence/issues/7"},"comments":{"href":"https://api.github.com/repos/artsy/Emergence/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/Emergence/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/Emergence/statuses/154ddb61b47f949bae3323f03a1a172e61a7da6a"}}}}