{"action":"opened","number":106,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106","id":41761951,"html_url":"https://github.com/alphagov/govuk-content-schemas/pull/106","diff_url":"https://github.com/alphagov/govuk-content-schemas/pull/106.diff","patch_url":"https://github.com/alphagov/govuk-content-schemas/pull/106.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/106","number":106,"state":"open","locked":false,"title":"Add schema for special route format.","user":{"login":"elliotcm","id":109225,"avatar_url":"https://avatars.githubusercontent.com/u/109225?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotcm","html_url":"https://github.com/elliotcm","followers_url":"https://api.github.com/users/elliotcm/followers","following_url":"https://api.github.com/users/elliotcm/following{/other_user}","gists_url":"https://api.github.com/users/elliotcm/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotcm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotcm/subscriptions","organizations_url":"https://api.github.com/users/elliotcm/orgs","repos_url":"https://api.github.com/users/elliotcm/repos","events_url":"https://api.github.com/users/elliotcm/events{/privacy}","received_events_url":"https://api.github.com/users/elliotcm/received_events","type":"User","site_admin":false},"body":"This format is used to reserve & register URLs for a given base path.\r\nThese will be typically registering special-case routes such as\r\n\r\n- static files (robots.txt, google verification pages)\r\n- legacy prefixes (/government, /info)\r\n- /search, /, etc\r\n\r\nreducing the chance of major routes such as /government being accidentally\r\noverwritten when publishing other content.\r\n\r\nThese documents will be published by the relevant owning applications on deploy.\r\n\r\nThe hope is that many of these routes will be handled by a more traditional\r\npublisher in the future, but there is no current plan for implementing that.\r\n\r\nNote that this schema has a restricted set of properties at the metadata level,\r\nand no details or links hashes at all. Therefore, it is not constructed by\r\ncombining sub-schemas. In addition, there is no frontend version, because\r\nredirects are never seen by the frontend: everything is handled by the router.\r\n\r\nhttps://trello.com/c/dgrgZWTb/290-write-schemas-for-non-content-route-items","created_at":"2015-08-06T08:12:54Z","updated_at":"2015-08-06T08:12:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/106/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/statuses/e66d8f18b0548484db93b075c2390c06db25099e","head":{"label":"alphagov:add-special-route-schema","ref":"add-special-route-schema","sha":"e66d8f18b0548484db93b075c2390c06db25099e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":27441121,"name":"govuk-content-schemas","full_name":"alphagov/govuk-content-schemas","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-content-schemas","description":"Definitions of the data formats used to represent content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-content-schemas","forks_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/releases{/id}","created_at":"2014-12-02T16:20:33Z","updated_at":"2015-05-06T17:12:45Z","pushed_at":"2015-08-06T08:12:55Z","git_url":"git://github.com/alphagov/govuk-content-schemas.git","ssh_url":"git@github.com:alphagov/govuk-content-schemas.git","clone_url":"https://github.com/alphagov/govuk-content-schemas.git","svn_url":"https://github.com/alphagov/govuk-content-schemas","homepage":null,"size":1705,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"6b4f9a1178ac2eb10b6c95a82242e700bf0ff9c3","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":27441121,"name":"govuk-content-schemas","full_name":"alphagov/govuk-content-schemas","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-content-schemas","description":"Definitions of the data formats used to represent content on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-content-schemas","forks_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-content-schemas/releases{/id}","created_at":"2014-12-02T16:20:33Z","updated_at":"2015-05-06T17:12:45Z","pushed_at":"2015-08-06T08:12:55Z","git_url":"git://github.com/alphagov/govuk-content-schemas.git","ssh_url":"git@github.com:alphagov/govuk-content-schemas.git","clone_url":"https://github.com/alphagov/govuk-content-schemas.git","svn_url":"https://github.com/alphagov/govuk-content-schemas","homepage":null,"size":1705,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106"},"html":{"href":"https://github.com/alphagov/govuk-content-schemas/pull/106"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/106"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-content-schemas/statuses/e66d8f18b0548484db93b075c2390c06db25099e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":0,"changed_files":2}}