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

Commit 127ecb0

Browse files
committed
Add google analytics code on old drafts
We probably do not need to host these anymore. This should help confirm that.
1 parent f3b9c29 commit 127ecb0

4 files changed

+28
-1
lines changed

draft-04/json-schema-core.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
25
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
36

@@ -426,6 +429,10 @@
426429
<meta name="dct.abstract" content="JSON Schema defines the media type &quot;application/schema+json&quot;, a JSON based format for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data. " />
427430
<meta name="description" content="JSON Schema defines the media type &quot;application/schema+json&quot;, a JSON based format for defining the structure of JSON data. JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it. JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data. " />
428431

432+
{% if jekyll.environment == 'production' and site.google_analytics %}
433+
{% include google-analytics.html %}
434+
{% endif %}
435+
429436
</head>
430437

431438
<body>

draft-04/json-schema-hypermedia.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
25
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
36

@@ -421,6 +424,9 @@
421424
<meta name="dct.abstract" content="JSON Schema is a JSON based format for defining the structure of JSON data. This document specifies hyperlink- and hypermedia-related keywords of JSON Schema. " />
422425
<meta name="description" content="JSON Schema is a JSON based format for defining the structure of JSON data. This document specifies hyperlink- and hypermedia-related keywords of JSON Schema. " />
423426

427+
{% if jekyll.environment == 'production' and site.google_analytics %}
428+
{% include google-analytics.html %}
429+
{% endif %}
424430
</head>
425431

426432
<body>
@@ -763,6 +769,7 @@ <h1 id="rfc.section.5.1.1.1.4"><a href="#rfc.section.5.1.1.1.4">5.1.1.1.4.</a> E
763769
<p>For example, here are some possible values for "href", followed by the results after pre-processing:</p>
764770
<pre>
765771

772+
{% raw %}
766773
Input Output
767774
-----------------------------------------
768775
"no change" "no change"
@@ -777,7 +784,7 @@ <h1 id="rfc.section.5.1.1.1.4"><a href="#rfc.section.5.1.1.1.4">5.1.1.1.4.</a> E
777784
"{()}" "{%65mpty}
778785
"{+$*}" "{+%73elf*}
779786
"{+($)*}" "{+%24*}
780-
787+
{% endraw %}
781788
</pre>
782789
<p>Note that in the final example, because the "+" was outside the brackets, it remained unescaped, whereas in the fourth example the "+" was escaped. </p>
783790
<h1 id="rfc.section.5.1.1.2"><a href="#rfc.section.5.1.1.2">5.1.1.2.</a> Values for substitution</h1>

draft-04/json-schema-validation.html

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
25
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
36

@@ -458,6 +461,10 @@
458461
<meta name="dct.abstract" content="JSON Schema (application/schema+json) has several purposes, one of which is instance validation. The validation process may be interactive or non interactive. For instance, applications may use JSON Schema to build a user interface enabling interactive content generation in addition to user input checking, or validate data retrieved from various sources. This specification describes schema keywords dedicated to validation purposes. " />
459462
<meta name="description" content="JSON Schema (application/schema+json) has several purposes, one of which is instance validation. The validation process may be interactive or non interactive. For instance, applications may use JSON Schema to build a user interface enabling interactive content generation in addition to user input checking, or validate data retrieved from various sources. This specification describes schema keywords dedicated to validation purposes. " />
460463

464+
{% if jekyll.environment == 'production' and site.google_analytics %}
465+
{% include google-analytics.html %}
466+
{% endif %}
467+
461468
</head>
462469

463470
<body>

draft-zyp-json-schema-01.html

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
---
13
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
24
<html lang="en"><head><title>A JSON Media Type for Describing the Structure and Meaning of JSON Documents</title>
35
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -138,6 +140,10 @@
138140
color: #CCC; background-color: #CCC;
139141
}
140142
--></style>
143+
144+
{% if jekyll.environment == 'production' and site.google_analytics %}
145+
{% include google-analytics.html %}
146+
{% endif %}
141147
</head>
142148
<body>
143149
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>

0 commit comments

Comments
 (0)