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

Commit 3b34df9

Browse files
committed
Add google analytics and link ids
1 parent a96cb64 commit 3b34df9

File tree

2 files changed

+61
-33
lines changed

2 files changed

+61
-33
lines changed

implementations.html

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,41 +33,41 @@ <h2>Preliminary note</h2>
3333

3434
<h2>C</h2>
3535
<ul>
36-
<li> <a href="https://github.com/netmail-open/wjelement">WJElement</a> (LGPLv3).</li>
36+
<li> <a id="link-impl-wjelement" href="https://github.com/netmail-open/wjelement">WJElement</a> (LGPLv3).</li>
3737
</ul>
3838

3939
<h2>Java</h2>
4040

4141
<ul>
42-
<li><a href="https://github.com/fge/json-schema-validator">json-schema-validator</a>
42+
<li><a id="link-impl-fge-json-schema-validator" href="https://github.com/fge/json-schema-validator">json-schema-validator</a>
4343
(LGPLv3).</li>
4444
</ul>
4545

4646
<h2>.NET</h2>
4747

4848
<ul>
49-
<li><a href="http://james.newtonking.com/projects/json-net.aspx">Json.NET</a> (MIT).</li>
49+
<li><a id="link-impl-json-net" href="http://james.newtonking.com/projects/json-net.aspx">Json.NET</a> (MIT).</li>
5050
</ul>
5151

5252
<h2>ActionScript 3</h2>
5353

5454
<ul>
55-
<li><a href="https://github.com/raulbajales/Frigga">Frigga</a> (MIT).</li>
55+
<li><a id="link-impl-frigga" href="https://github.com/raulbajales/Frigga">Frigga</a> (MIT).</li>
5656
</ul>
5757

5858
<h2>Haskell</h2>
5959

6060
<p>If that is not proof that JSON Schema is language agnostic, I don't know what is.</p>
6161

6262
<ul>
63-
<li><a href="https://github.com/timjb/aeson-schema">aeson-schema</a> (MIT).</li>
63+
<li><a id="link-impl-aeson-schema" href="https://github.com/timjb/aeson-schema">aeson-schema</a> (MIT).</li>
6464
</ul>
6565

6666
<h2>Python</h2>
6767

6868
<ul>
69-
<li><a href="https://github.com/Julian/jsonschema">jsonschema</a> (MIT);</li>
70-
<li><a href="https://github.com/zyga/json-schema-validator">json-schema-validator</a> (LGPL).</li>
69+
<li><a id="link-impl-jsonschema" href="https://github.com/Julian/jsonschema">jsonschema</a> (MIT);</li>
70+
<li><a id="link-impl-zyga-json-schema-validator" href="https://github.com/zyga/json-schema-validator">json-schema-validator</a> (LGPL).</li>
7171
</ul>
7272

7373
</div> <!-- style="padding-left:40px; margin-right:-40px;" class="span4" -->
@@ -77,36 +77,50 @@ <h2>Python</h2>
7777
<h2>Ruby</h2>
7878

7979
<ul>
80-
<li><a href="https://github.com/google/autoparse">autoparse</a> (ASL 2.0);</li>
81-
<li><a href="https://github.com/Constellation/ruby-jsonchema">ruby-jsonschema</a> (MIT).</li>
80+
<li><a id="link-impl-autoparse" href="https://github.com/google/autoparse">autoparse</a> (ASL 2.0);</li>
81+
<li><a id="link-impl-ruby-jsonchema" href="https://github.com/Constellation/ruby-jsonchema">ruby-jsonschema</a> (MIT).</li>
8282
</ul>
8383

8484

8585
<h2>PHP</h2>
8686

8787
<ul>
88-
<li><a href="https://github.com/hasbridge/php-json-schema">php-json-schema</a> (MIT).</li>
89-
<li><a href="https://github.com/justinrainbow/json-schema">json-schema</a> (Berkeley).</li>
88+
<li><a id="link-impl-php-json-schema" href="https://github.com/hasbridge/php-json-schema">php-json-schema</a> (MIT).</li>
89+
<li><a id="link-impl-json-schema" href="https://github.com/justinrainbow/json-schema">json-schema</a> (Berkeley).</li>
9090
</ul>
9191

9292
<h2>JavaScript</h2>
9393

9494
<ul>
95-
<li><a href="http://orderly-json.org">Orderly</a> (BSD);</li>
96-
<li><a href="http://github.com/garycourt/JSV">JSV</a> (BSD);</li>
97-
<li><a href="http://github.com/kriszyp/json-schema">json-schema</a> (AFL or BSD);</li>
98-
<li><a href="https://github.com/mattyod/matic">Matic</a> (MIT);</li>
99-
<li><a href="http://www.dojotoolkit.org/">Dojo</a> (AFL or BSD);</li>
100-
<li><a href="http://www.persvr.org/">Persevere</a> (modified BSD or AFL 2.0);</li>
101-
<li><a href="https://github.com/akidee/schema.js">schema.js</a> (MIT).</li>
102-
<li><a href="http://github.com/IreneKnapp/direct-schema">direct-schema</a> (BSD);</li>
95+
<li><a id="link-impl-orderly" href="http://orderly-json.org">Orderly</a> (BSD);</li>
96+
<li><a id="link-impl-jsv" href="http://github.com/garycourt/JSV">JSV</a> (BSD);</li>
97+
<li><a id="link-impl-kriszyp-jsonschema" href="http://github.com/kriszyp/json-schema">json-schema</a> (AFL or BSD);</li>
98+
<li><a id="link-impl-matic" href="https://github.com/mattyod/matic">Matic</a> (MIT);</li>
99+
<li><a id="link-impl-dojo" href="http://www.dojotoolkit.org/">Dojo</a> (AFL or BSD);</li>
100+
<li><a id="link-impl-persvr" href="http://www.persvr.org/">Persevere</a> (modified BSD or AFL 2.0);</li>
101+
<li><a id="link-impl-schema-js" href="https://github.com/akidee/schema.js">schema.js</a> (MIT).</li>
102+
<li><a id="link-impl-direct-schema" href="http://github.com/IreneKnapp/direct-schema">direct-schema</a> (BSD);</li>
103103
</ul>
104104

105105
</div> <!-- class="span4" -->
106106
</div> <!-- class="row" -->
107107
</div> <!-- class="span8" -->
108108
</div> <!-- class="row" -->
109109
</div> <!-- class="container" -->
110+
<script type="text/javascript">
110111

112+
var _gaq = _gaq || [];
113+
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
114+
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
115+
_gaq.push(['_setAccount', 'UA-37167904-1']);
116+
_gaq.push(['_trackPageview']);
117+
118+
(function() {
119+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
120+
ga.src = ('https:' == document.___location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
121+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
122+
})();
123+
124+
</script>
111125
</body>
112126
</html>

index.html

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,60 +31,74 @@ <h2>What is JSON Schema</h2>
3131

3232
<h2>Existing IETF drafts</h2>
3333

34-
<p>The latest IETF published draft to date can be found <a
34+
<p>The latest IETF published draft to date can be found <a id="link-draft-zyp-json-schema-03"
3535
href="http://tools.ietf.org/html/draft-zyp-json-schema-03">here</a>. It is in
3636
the process of being updated.</p>
3737

3838
<p>JSON Schema also uses two other specifications:</p>
3939

4040
<ul>
41-
<li><a href="http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-02">JSON
41+
<li><a id="link-draft-pbryan-zyp-json-ref-02" href="http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-02">JSON
4242
Reference</a>;</li>
43-
<li><a href="http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-03">JSON
43+
<li><a id="link-draft-ietf-appsawg-json-pointer-03" href="http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-03">JSON
4444
Pointer</a>.</li>
4545
</ul>
4646

4747
<h2>Implementations</h2>
4848

49-
<p>A list of JSON Schema implementations can be found <a href="implementations.html">here</a>.</p>
49+
<p>A list of JSON Schema implementations can be found <a id="link-implementations" href="implementations.html">here</a>.</p>
5050

5151
<h2>Discussion</h2>
5252

53-
<p>Discussion about usage and development of JSON Schema can be found at the <a
53+
<p>Discussion about usage and development of JSON Schema can be found at the <a id="link-google-groups"
5454
href="https://groups.google.com/forum/#!forum/json-schema">json-schema google
5555
group</a>.</p>
5656

5757
<h2>Contributing</h2>
5858

5959
<p>JSON Schema as a whole (this site, the specifications, and related projects)
60-
can be found on <a href="https://github.com/json-schema/">GitHub</a>.
60+
can be found on <a id="link-github" href="https://github.com/json-schema/">GitHub</a>.
6161
Feature/pull requests are welcome.</p>
6262

6363
<h2>Schemas</h2>
6464
<p>The following are schemas that are available for referencing (more to come):
6565
<dl class="dl-horizontal span8">
66-
<dt><a href="schema">Core Meta-Schema</a> </dt><dd> This is the meta-schema
66+
<dt><a id="link-schema-meta" href="schema">Core Meta-Schema</a> </dt><dd> This is the meta-schema
6767
definition for schemas themselves (the type/validation part of schemas).</dd>
68-
<dt><a href="hyper-schema">Hyper Meta-Schema</a> </dt><dd> This is the extended
68+
<dt><a id="link-schema-hyper" href="hyper-schema">Hyper Meta-Schema</a> </dt><dd> This is the extended
6969
full meta-schema definition for schemas with link definitions (hyper
7070
schemas).</dd>
71-
<dt><a href="json-ref">JSON Referencing</a> </dt><dd> This is the schema that
71+
<dt><a id="link-schema-json-ref" href="json-ref">JSON Referencing</a> </dt><dd> This is the schema that
7272
defines a generic linking mechanism called JSON referencing (which is used by
7373
the meta-schema for links).</dd>
74-
<dt><a href="interfaces">JSON Schema Interfaces</a> </dt><dd> This is the
74+
<dt><a id="link-schema-interfaces" href="interfaces">JSON Schema Interfaces</a> </dt><dd> This is the
7575
meta-schema definition for schemas which define class-style method interfaces
7676
for programming languages.</dd>
77-
<dt><a href="geo">Geographic Coordinate</a></dt><dd>&nbsp;</dd>
78-
<dt><a href="card">Card</a> </dt><dd> A schema for microformat style
77+
<dt><a id="link-schema-geo" href="geo">Geographic Coordinate</a></dt><dd>&nbsp;</dd>
78+
<dt><a id="link-schema-card" href="card">Card</a> </dt><dd> A schema for microformat style
7979
representation of a person, company, organization, or place.</dd>
80-
<dt><a href="calendar">Calendar</a> </dt><dd> A schema for microformat style
80+
<dt><a id="link-schema-calendar" href="calendar">Calendar</a> </dt><dd> A schema for microformat style
8181
representation of an event.</dd>
82-
<dt><a href="address">Address</a> </dt><dd> A schema for microformat style
82+
<dt><a id="link-schema-address" href="address">Address</a> </dt><dd> A schema for microformat style
8383
representation of an address.</dd>
8484
</dl>
8585
</p>
8686
</div>
8787
</div>
88+
<script type="text/javascript">
8889

90+
var _gaq = _gaq || [];
91+
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
92+
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
93+
_gaq.push(['_setAccount', 'UA-37167904-1']);
94+
_gaq.push(['_trackPageview']);
95+
96+
(function() {
97+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
98+
ga.src = ('https:' == document.___location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
99+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
100+
})();
101+
102+
</script>
89103
</body>
90104
</html>

0 commit comments

Comments
 (0)