{"action":"created","comment":{"url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/comments/72079740","id":72079740,"diff_hunk":"@@ -25,21 +25,41 @@ object SourceType {\n \n   case object UKProperties extends SourceType {\n     override val name = \"uk-properties\"\n+\n     override def example(sourceId: Option[SourceId] = None): JsValue = toJson(UKProperty.example(sourceId))\n-    override val summaryTypes : Set[SummaryType] = Set(Incomes, Expenses, TaxesPaid, BalancingCharges, PrivateUseAdjustments)\n+\n+    override val summaryTypes: Set[SummaryType] = Set(Incomes, Expenses, TaxesPaid, BalancingCharges, PrivateUseAdjustments)\n     override val title = \"Sample UK property\"\n \n     override def description(action: String) = s\"$action a UK property\"\n \n     override val fieldDescriptions = Seq(\n       FullFieldDescription(name, \"allowances\", \"Object\", \"\", \"Allowances claimed for this property\", optional = true),\n-      PositiveMonetaryFieldDescription(name, \"annualInvestmentAllowance\", optional = true),\n-      PositiveMonetaryFieldDescription(name, \"businessPremisesRenovationAllowance\", optional = true),\n-      PositiveMonetaryFieldDescription(name, \"otherCapitalAllowance\", optional = true),\n-      PositiveMonetaryFieldDescription(name, \"wearAndTearAllowance\", optional = true),\n+      PositiveMonetaryFieldDescription(name, \"annualInvestmentAllowance\",\n+        \"\"\"You can claim Annual Investment Allowance\n+          |(AIA) if you bought equipment (but not cars)","path":"app/uk/gov/hmrc/selfassessmentapi/domain/ukproperty/SourceType.scala","position":21,"original_position":21,"commit_id":"76b2a66d232ee7ee1210f16a25d1124f3e161303","original_commit_id":"76b2a66d232ee7ee1210f16a25d1124f3e161303","user":{"login":"dabd","id":167463,"avatar_url":"https://avatars.githubusercontent.com/u/167463?v=3","gravatar_id":"","url":"https://api.github.com/users/dabd","html_url":"https://github.com/dabd","followers_url":"https://api.github.com/users/dabd/followers","following_url":"https://api.github.com/users/dabd/following{/other_user}","gists_url":"https://api.github.com/users/dabd/gists{/gist_id}","starred_url":"https://api.github.com/users/dabd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dabd/subscriptions","organizations_url":"https://api.github.com/users/dabd/orgs","repos_url":"https://api.github.com/users/dabd/repos","events_url":"https://api.github.com/users/dabd/events{/privacy}","received_events_url":"https://api.github.com/users/dabd/received_events","type":"User","site_admin":false},"body":"Yes, leading whistespace is removed by stripMargin.","created_at":"2016-07-25T15:00:20Z","updated_at":"2016-07-25T15:00:20Z","html_url":"https://github.com/hmrc/self-assessment-api/pull/150#discussion_r72079740","pull_request_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/comments/72079740"},"html":{"href":"https://github.com/hmrc/self-assessment-api/pull/150#discussion_r72079740"},"pull_request":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150","id":78673975,"html_url":"https://github.com/hmrc/self-assessment-api/pull/150","diff_url":"https://github.com/hmrc/self-assessment-api/pull/150.diff","patch_url":"https://github.com/hmrc/self-assessment-api/pull/150.patch","issue_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/150","number":150,"state":"open","locked":false,"title":"[MTDSA-428] Improve JSON field descriptions for source of income","user":{"login":"dabd","id":167463,"avatar_url":"https://avatars.githubusercontent.com/u/167463?v=3","gravatar_id":"","url":"https://api.github.com/users/dabd","html_url":"https://github.com/dabd","followers_url":"https://api.github.com/users/dabd/followers","following_url":"https://api.github.com/users/dabd/following{/other_user}","gists_url":"https://api.github.com/users/dabd/gists{/gist_id}","starred_url":"https://api.github.com/users/dabd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dabd/subscriptions","organizations_url":"https://api.github.com/users/dabd/orgs","repos_url":"https://api.github.com/users/dabd/repos","events_url":"https://api.github.com/users/dabd/events{/privacy}","received_events_url":"https://api.github.com/users/dabd/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-25T12:39:19Z","updated_at":"2016-07-25T15:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a08c50fb9ab9a2c528c1a7dfa37bd42165512aba","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150/commits","review_comments_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150/comments","review_comment_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/150/comments","statuses_url":"https://api.github.com/repos/hmrc/self-assessment-api/statuses/76b2a66d232ee7ee1210f16a25d1124f3e161303","head":{"label":"hmrc:MTDSA-428-improve-field-descriptions-source-income","ref":"MTDSA-428-improve-field-descriptions-source-income","sha":"76b2a66d232ee7ee1210f16a25d1124f3e161303","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","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":56500706,"name":"self-assessment-api","full_name":"hmrc/self-assessment-api","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","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},"private":false,"html_url":"https://github.com/hmrc/self-assessment-api","description":"","fork":false,"url":"https://api.github.com/repos/hmrc/self-assessment-api","forks_url":"https://api.github.com/repos/hmrc/self-assessment-api/forks","keys_url":"https://api.github.com/repos/hmrc/self-assessment-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/self-assessment-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/self-assessment-api/teams","hooks_url":"https://api.github.com/repos/hmrc/self-assessment-api/hooks","issue_events_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/self-assessment-api/events","assignees_url":"https://api.github.com/repos/hmrc/self-assessment-api/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/self-assessment-api/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/self-assessment-api/tags","blobs_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/self-assessment-api/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/self-assessment-api/languages","stargazers_url":"https://api.github.com/repos/hmrc/self-assessment-api/stargazers","contributors_url":"https://api.github.com/repos/hmrc/self-assessment-api/contributors","subscribers_url":"https://api.github.com/repos/hmrc/self-assessment-api/subscribers","subscription_url":"https://api.github.com/repos/hmrc/self-assessment-api/subscription","commits_url":"https://api.github.com/repos/hmrc/self-assessment-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/self-assessment-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/self-assessment-api/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/self-assessment-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/self-assessment-api/merges","archive_url":"https://api.github.com/repos/hmrc/self-assessment-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/self-assessment-api/downloads","issues_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/self-assessment-api/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/self-assessment-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/self-assessment-api/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/self-assessment-api/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/self-assessment-api/deployments","created_at":"2016-04-18T11:01:56Z","updated_at":"2016-04-18T13:22:36Z","pushed_at":"2016-07-25T14:33:43Z","git_url":"git://github.com/hmrc/self-assessment-api.git","ssh_url":"git@github.com:hmrc/self-assessment-api.git","clone_url":"https://github.com/hmrc/self-assessment-api.git","svn_url":"https://github.com/hmrc/self-assessment-api","homepage":"","size":1316,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"hmrc:master","ref":"master","sha":"ef1dfec9ff1a1d2e605feae264540d55260c69fb","user":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","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":56500706,"name":"self-assessment-api","full_name":"hmrc/self-assessment-api","owner":{"login":"hmrc","id":5755339,"avatar_url":"https://avatars.githubusercontent.com/u/5755339?v=3","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},"private":false,"html_url":"https://github.com/hmrc/self-assessment-api","description":"","fork":false,"url":"https://api.github.com/repos/hmrc/self-assessment-api","forks_url":"https://api.github.com/repos/hmrc/self-assessment-api/forks","keys_url":"https://api.github.com/repos/hmrc/self-assessment-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmrc/self-assessment-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmrc/self-assessment-api/teams","hooks_url":"https://api.github.com/repos/hmrc/self-assessment-api/hooks","issue_events_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/events{/number}","events_url":"https://api.github.com/repos/hmrc/self-assessment-api/events","assignees_url":"https://api.github.com/repos/hmrc/self-assessment-api/assignees{/user}","branches_url":"https://api.github.com/repos/hmrc/self-assessment-api/branches{/branch}","tags_url":"https://api.github.com/repos/hmrc/self-assessment-api/tags","blobs_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmrc/self-assessment-api/statuses/{sha}","languages_url":"https://api.github.com/repos/hmrc/self-assessment-api/languages","stargazers_url":"https://api.github.com/repos/hmrc/self-assessment-api/stargazers","contributors_url":"https://api.github.com/repos/hmrc/self-assessment-api/contributors","subscribers_url":"https://api.github.com/repos/hmrc/self-assessment-api/subscribers","subscription_url":"https://api.github.com/repos/hmrc/self-assessment-api/subscription","commits_url":"https://api.github.com/repos/hmrc/self-assessment-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmrc/self-assessment-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmrc/self-assessment-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmrc/self-assessment-api/contents/{+path}","compare_url":"https://api.github.com/repos/hmrc/self-assessment-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmrc/self-assessment-api/merges","archive_url":"https://api.github.com/repos/hmrc/self-assessment-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmrc/self-assessment-api/downloads","issues_url":"https://api.github.com/repos/hmrc/self-assessment-api/issues{/number}","pulls_url":"https://api.github.com/repos/hmrc/self-assessment-api/pulls{/number}","milestones_url":"https://api.github.com/repos/hmrc/self-assessment-api/milestones{/number}","notifications_url":"https://api.github.com/repos/hmrc/self-assessment-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmrc/self-assessment-api/labels{/name}","releases_url":"https://api.github.com/repos/hmrc/self-assessment-api/releases{/id}","deployments_url":"https://api.github.com/repos/hmrc/self-assessment-api/deployments","created_at":"2016-04-18T11:01:56Z","updated_at":"2016-04-18T13:22:36Z","pushed_at":"2016-07-25T14:33:43Z","git_url":"git://github.com/hmrc/self-assessment-api.git","ssh_url":"git@github.com:hmrc/self-assessment-api.git","clone_url":"https://github.com/hmrc/self-assessment-api.git","svn_url":"https://github.com/hmrc/self-assessment-api","homepage":"","size":1316,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150"},"html":{"href":"https://github.com/hmrc/self-assessment-api/pull/150"},"issue":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/issues/150"},"comments":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/hmrc/self-assessment-api/statuses/76b2a66d232ee7ee1210f16a25d1124f3e161303"}}}}
{"actor":{"display_login":"dabd"}}