{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/290","repository_url":"https://api.github.com/repos/alphagov/govuk-content-schemas","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/290/comments","events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/290/events","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/290","id":150840587,"number":290,"title":"Add government and political fields to detailed guides","user":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-25T12:22:06Z","updated_at":"2016-04-25T14:48:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/290","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/290","diff_url":"https://github.com/alphagov/govuk-content-schemas/pull/290.diff","patch_url":"https://github.com/alphagov/govuk-content-schemas/pull/290.patch"},"body":"The plan is to allow government to be a link, so that `current`, names and slugs can be updated automatically without having to republish. However governments represent URL-less content, which the content store doesn’t currently handle.\r\n\r\nAs an intermediate to unblock detailed guides, put government into the details hash instead.\r\n\r\n* From `government` and `political`, logic that determines if the history banner should show can be derived.\r\n* Government slug needed for analytics\r\n* Include example of a political detailed guide\r\n\r\nPolitical example based on:\r\nhttps://www.gov.uk/guidance/onshore-wind-part-of-the-uks-energy-mix\r\n\r\nPart of:\r\nhttps://trello.com/c/74ymVfIw/384-6-detailed-guides-migration-front-end-work-for-history-mode-political-status-and-government-small"},"comment":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/comments/214369755","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/290#issuecomment-214369755","issue_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/290","id":214369755,"user":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T14:48:15Z","updated_at":"2016-04-25T14:48:15Z","body":"@boffbowsh Typo fixed."}}