Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Redirect unversioned meta-schemas #300

Merged
merged 3 commits into from
Nov 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ before_script:
- PATH="./node_modules/.bin/:$PATH"
script:
- bundle exec jekyll build
- ajv test -s schema -d "learn/examples/*.json" --valid
- ajv test -s draft-07/schema -d "learn/examples/*.json" --valid
20 changes: 20 additions & 0 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<title>Redirecting&hellip;</title>
<link rel="canonical" href="{{ page.redirect.to }}">
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
<meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1>
<p>
Several redirections on json-schema.org are special cases:
</p>
<ul>
<li>The unversioned meta-schema URIs should no longer be used.</li>
<li>The vocabularies are represented by their specification text.</li>
<li>The "latest" specification URIs are for convenice of browser
bookmarking only.</li>
</ul>
<a href="{{ page.redirect.to }}">Click here if you are not redirected.</a>
<script>location="{{ page.redirect.to }}"</script>
</html>
1 change: 0 additions & 1 deletion hyper-schema

This file was deleted.

3 changes: 3 additions & 0 deletions hyper-schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_to: /draft/2019-09/hyper-schema
---
1 change: 0 additions & 1 deletion links

This file was deleted.

3 changes: 3 additions & 0 deletions links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_to: /draft/2019-09/links
---
1 change: 0 additions & 1 deletion schema

This file was deleted.

3 changes: 3 additions & 0 deletions schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_to: /draft/2019-09/schema
---