{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/312","repository_url":"https://api.github.com/repos/alphagov/govuk-content-schemas","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/312/comments","events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/312/events","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/312","id":155552403,"number":312,"title":"Add document_collection schema","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-18T16:57:32Z","updated_at":"2016-05-20T12:09:27Z","closed_at":"2016-05-20T12:09:12Z","pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/312","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/312","diff_url":"https://github.com/alphagov/govuk-content-schemas/pull/312.diff","patch_url":"https://github.com/alphagov/govuk-content-schemas/pull/312.patch"},"body":"Details:\r\n* Body is optional for collections\r\n* First public at is required like other editioned content\r\n* A document collection must have an ordered list of groups\r\n  * Each group must have a title and an ordered list of documents, the group may have some body copy\r\n* Collections can be political\r\n* Collections can be withdrawn\r\n* Include tags – these are not really used except for emails, see #292 for why they weren't removed from other formats\r\n\r\nLinks:\r\n* Add documents GUID list, make this a required field\r\n* Whitehall marks \"policy areas\" as being required in the editor, but content schemas say this is \"largely deprecated\", so it has been intentionally left out. (Policy areas are included by base links)\r\n* Add topical events\r\n* Lead organisations are also required, we've changed the pattern for organisations to \"organisations\" in links and emphasised organisations in details – there isn't a pattern yet for which bits must be required\r\nto match current behaviour.\r\n\r\nInclude example based on:\r\nhttps://www.gov.uk/government/collections/national-driving-and-riding-standards\r\n\r\nhttps://trello.com/c/PMeMQb5E/410-11-document-collection-migration-mvp-content-schema-examples-and-front-end-work"},"comment":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/comments/220589095","html_url":"https://github.com/alphagov/govuk-content-schemas/pull/312#issuecomment-220589095","issue_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/312","id":220589095,"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-05-20T12:09:27Z","updated_at":"2016-05-20T12:09:27Z","body":"Closing while adding more examples."}}
{"actor":{"display_login":"fofr"}}