payload: {"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/comments/321698185","pull_request_review_id":284814723,"id":321698185,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyMTY5ODE4NQ==","diff_hunk":"@@ -17,13 +17,13 @@\n package uk.gov.hmrc.cgtpropertydisposalsfrontend.models\n \n import julienrf.json.derived\n-import play.api.libs.json.{Format, JsDefined, JsNull, JsObject, JsResult, JsSuccess, JsUndefined, JsValue, Json, OFormat, OWrites, Reads, Writes}\n+import play.api.libs.json.OFormat\n \n sealed trait SubscriptionStatus\n \n object SubscriptionStatus {\n \n-  final case object OrganisationUnregisteredTrust extends SubscriptionStatus\n+  final case object NonTrustOrganisation extends SubscriptionStatus\n ","path":"app/uk/gov/hmrc/cgtpropertydisposalsfrontend/models/SubscriptionStatus.scala","position":13,"original_position":13,"commit_id":"7bf52f5fdccc88ce641036c7911db5267a4ead7b","original_commit_id":"7bf52f5fdccc88ce641036c7911db5267a4ead7b","user":{"login":"AndyHWChung","id":26929776,"node_id":"MDQ6VXNlcjI2OTI5Nzc2","avatar_url":"https://avatars1.githubusercontent.com/u/26929776?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyHWChung","html_url":"https://github.com/AndyHWChung","followers_url":"https://api.github.com/users/AndyHWChung/followers","following_url":"https://api.github.com/users/AndyHWChung/following{/other_user}","gists_url":"https://api.github.com/users/AndyHWChung/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyHWChung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyHWChung/subscriptions","organizations_url":"https://api.github.com/users/AndyHWChung/orgs","repos_url":"https://api.github.com/users/AndyHWChung/repos","events_url":"https://api.github.com/users/AndyHWChung/events{/privacy}","received_events_url":"https://api.github.com/users/AndyHWChung/received_events","type":"User","site_admin":false},"body":"We can't distinguish between legacy trusts and organisations which aren't trusts. The class represents any organisation which doesn't have a trust enrolment - so it could be either one. So perhaps the name before was a bit more accurate","created_at":"2019-09-06T11:49:21Z","updated_at":"2019-09-06T11:49:21Z","html_url":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32#discussion_r321698185","pull_request_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/comments/321698185"},"html":{"href":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32#discussion_r321698185"},"pull_request":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32"}},"in_reply_to_id":321697018},"pull_request":{"url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32","id":314913672,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE0OTEzNjcy","html_url":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32","diff_url":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32.diff","patch_url":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32.patch","issue_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/32","number":32,"state":"open","locked":false,"title":"cpdp-521: register you trust screen can now be reached","user":{"login":"AndyHWChung","id":26929776,"node_id":"MDQ6VXNlcjI2OTI5Nzc2","avatar_url":"https://avatars1.githubusercontent.com/u/26929776?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyHWChung","html_url":"https://github.com/AndyHWChung","followers_url":"https://api.github.com/users/AndyHWChung/followers","following_url":"https://api.github.com/users/AndyHWChung/following{/other_user}","gists_url":"https://api.github.com/users/AndyHWChung/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyHWChung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyHWChung/subscriptions","organizations_url":"https://api.github.com/users/AndyHWChung/orgs","repos_url":"https://api.github.com/users/AndyHWChung/repos","events_url":"https://api.github.com/users/AndyHWChung/events{/privacy}","received_events_url":"https://api.github.com/users/AndyHWChung/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-09-06T11:29:33Z","updated_at":"2019-09-06T11:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7268e406c88ad0dc5ed576e13bdc42c1bdef4086","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32/commits","review_comments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32/comments","review_comment_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/32/comments","statuses_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/statuses/7bf52f5fdccc88ce641036c7911db5267a4ead7b","head":{"label":"hmrc:cpdp-521-fix-broken-journey","ref":"cpdp-521-fix-broken-journey","sha":"7bf52f5fdccc88ce641036c7911db5267a4ead7b","user":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":195015221,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUwMTUyMjE=","name":"cgt-property-disposals-frontend","full_name":"hmrc/cgt-property-disposals-frontend","private":false,"owner":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmrc/cgt-property-disposals-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend","forks_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/deployments","created_at":"2019-07-03T08:47:52Z","updated_at":"2019-09-05T12:35:55Z","pushed_at":"2019-09-06T11:29:34Z","git_url":"git://github.com/hmrc/cgt-property-disposals-frontend.git","ssh_url":"git@github.com:hmrc/cgt-property-disposals-frontend.git","clone_url":"https://github.com/hmrc/cgt-property-disposals-frontend.git","svn_url":"https://github.com/hmrc/cgt-property-disposals-frontend","homepage":"","size":369,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"ef027ec89b3ac3ffa3f970b9d8f3163f9f10ba04","user":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"repo":{"id":195015221,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUwMTUyMjE=","name":"cgt-property-disposals-frontend","full_name":"hmrc/cgt-property-disposals-frontend","private":false,"owner":{"login":"hmrc","id":5755339,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NTUzMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/5755339?v=4","gravatar_id":"","url":"https://api.github.com/users/hmrc","html_url":"https://github.com/hmrc","followers_url":"https://api.github.com/users/hmrc/followers","following_url":"https://api.github.com/users/hmrc/following{/other_user}","gists_url":"https://api.github.com/users/hmrc/gists{/gist_id}","starred_url":"https://api.github.com/users/hmrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmrc/subscriptions","organizations_url":"https://api.github.com/users/hmrc/orgs","repos_url":"https://api.github.com/users/hmrc/repos","events_url":"https://api.github.com/users/hmrc/events{/privacy}","received_events_url":"https://api.github.com/users/hmrc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmrc/cgt-property-disposals-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend","forks_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/forks","keys_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/teams","hooks_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/hooks","issue_events_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/events","assignees_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/tags","blobs_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/languages","stargazers_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/stargazers","contributors_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/contributors","subscribers_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/subscribers","subscription_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/subscription","commits_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/merges","archive_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/downloads","issues_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/deployments","created_at":"2019-07-03T08:47:52Z","updated_at":"2019-09-05T12:35:55Z","pushed_at":"2019-09-06T11:29:34Z","git_url":"git://github.com/hmrc/cgt-property-disposals-frontend.git","ssh_url":"git@github.com:hmrc/cgt-property-disposals-frontend.git","clone_url":"https://github.com/hmrc/cgt-property-disposals-frontend.git","svn_url":"https://github.com/hmrc/cgt-property-disposals-frontend","homepage":"","size":369,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32"},"html":{"href":"https://github.com/hmrc/cgt-property-disposals-frontend/pull/32"},"issue":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/32"},"comments":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/cgt-property-disposals-frontend/statuses/7bf52f5fdccc88ce641036c7911db5267a4ead7b"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"AndyHWChung"}}