From 96b5569c315b76f0820cae34691bb4865f980f52 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Tue, 29 Oct 2019 22:35:56 -0700 Subject: [PATCH] Redirect the standard vocabulary URIs We've already had one person confused that these URIs 404, even though the spec says to expect that. Let's generate HTML stubs to redirect to the appropriate spec section for each vocabulary (or the whole spec for Hyper-Schema). No media type restrictions are given at this time for vocabulary documents, so having HTML here is fine. Jekyll (at least the local version, production sometimes differs) will do the redirect on URIs without the .html suffix, which is what we need. It will also do it with .html, but I think that's fine. --- draft/2019-09/vocab/applicator.md | 4 ++++ draft/2019-09/vocab/content.md | 4 ++++ draft/2019-09/vocab/core.md | 4 ++++ draft/2019-09/vocab/format.md | 4 ++++ draft/2019-09/vocab/hyper-schema.md | 4 ++++ draft/2019-09/vocab/meta-data.md | 4 ++++ draft/2019-09/vocab/validation.md | 4 ++++ 7 files changed, 28 insertions(+) create mode 100644 draft/2019-09/vocab/applicator.md create mode 100644 draft/2019-09/vocab/content.md create mode 100644 draft/2019-09/vocab/core.md create mode 100644 draft/2019-09/vocab/format.md create mode 100644 draft/2019-09/vocab/hyper-schema.md create mode 100644 draft/2019-09/vocab/meta-data.md create mode 100644 draft/2019-09/vocab/validation.md diff --git a/draft/2019-09/vocab/applicator.md b/draft/2019-09/vocab/applicator.md new file mode 100644 index 00000000..805aab89 --- /dev/null +++ b/draft/2019-09/vocab/applicator.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-core.html#rfc.section.9 +title: A Vocabulary for Applying Subschemas +--- diff --git a/draft/2019-09/vocab/content.md b/draft/2019-09/vocab/content.md new file mode 100644 index 00000000..804bf910 --- /dev/null +++ b/draft/2019-09/vocab/content.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-validation.html#rfc.section.8 +title: A Vocabulary for the Contents of String-Encoded Data +--- diff --git a/draft/2019-09/vocab/core.md b/draft/2019-09/vocab/core.md new file mode 100644 index 00000000..f850b759 --- /dev/null +++ b/draft/2019-09/vocab/core.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-core.html#rfc.section.8 +title: The JSON Schema Core Vocabulary +--- diff --git a/draft/2019-09/vocab/format.md b/draft/2019-09/vocab/format.md new file mode 100644 index 00000000..b54f986b --- /dev/null +++ b/draft/2019-09/vocab/format.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-validation.html#rfc.section.7 +title: A Vocabulary for Semantic Content with "format" +--- diff --git a/draft/2019-09/vocab/hyper-schema.md b/draft/2019-09/vocab/hyper-schema.md new file mode 100644 index 00000000..e32c8bfd --- /dev/null +++ b/draft/2019-09/vocab/hyper-schema.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-hypermedia.html +title: "JSON Hyper-Schema: A Vocabulary for Hypermedia Annotation of JSON" +--- diff --git a/draft/2019-09/vocab/meta-data.md b/draft/2019-09/vocab/meta-data.md new file mode 100644 index 00000000..5531a5cf --- /dev/null +++ b/draft/2019-09/vocab/meta-data.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-validation.html#rfc.section.9 +title: A Vocabulary for Basic Meta-Data Annotations +--- diff --git a/draft/2019-09/vocab/validation.md b/draft/2019-09/vocab/validation.md new file mode 100644 index 00000000..24e3df3f --- /dev/null +++ b/draft/2019-09/vocab/validation.md @@ -0,0 +1,4 @@ +--- +redirect_to: /draft/2019-09/json-schema-validation.html#rfc.section.6 +title: A Vocabulary for Structural Validation +---