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

Commit 7526094

Browse files
committed
Generate validator libraries listing from a yaml file
1 parent eb2c9e2 commit 7526094

File tree

2 files changed

+94
-57
lines changed

2 files changed

+94
-57
lines changed

_data/validator-libraries.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
- name: .NET
2+
anchor-name: dotnet
3+
implementations:
4+
- "[Json.NET](http://james.newtonking.com/projects/json-net.aspx) (MIT)"
5+
- "[NJsonSchema](http://NJsonSchema.org) - *supports draft 4* (Ms-PL)"
6+
- name: ActionScript 3
7+
anchor-name: action-script-3
8+
implementations:
9+
- "[Frigga](https://github.com/raulbajales/Frigga) (MIT)"
10+
- name: C
11+
anchor-name: c
12+
implementations:
13+
- "[WJElement](https://github.com/netmail-open/wjelement) (LGPLv3)"
14+
- name: C++
15+
anchor-name: cpp
16+
implementations:
17+
- "[wjelement-cpp](https://github.com/petehug/wjelement-cpp) - *supports draft 4* (LGPLv3)"
18+
- "[Header-only C++ library for JSON Schema validation](https://github.com/tristanpenman/valijson) - *supports only draft 4* (BSD-2-Clause)"
19+
- "[Modern C++ JSON schema validator](https://github.com/pboettch/json-schema-validator) - *supports only draft 4* based on JSON for Modern C++ (MIT)"
20+
- name: Clojure
21+
anchor-name: clojure
22+
implementations:
23+
- "[scjsv](https://github.com/metosin/scjsv) - *supports draft 4* (wrapper for [java-json-tools/json-schema-validator](https://github.com/java-json-tools/json-schema-validator)) (Eclipse Public License v1.0)"
24+
- name: Dart
25+
anchor-name: dart
26+
implementations:
27+
- "[json_schema](https://github.com/patefacio/json_schema) *supports draft 4* (BSL-1.0)"
28+
- name: Erlang
29+
anchor-name: erlang
30+
implementations:
31+
- "[JeSSE](https://github.com/for-GET/jesse) (Apache 2.0)"
32+
- name: Go
33+
anchor-name: go
34+
implementations:
35+
- "[gojsonschema](https://github.com/sigu-399/gojsonschema) (Apache 2.0)"
36+
- "[jsonschema](https://github.com/santhosh-tekuri/jsonschema) *supports draft 4, draft 6* (BSD-3-Clause)"
37+
- name: Haskell
38+
anchor-name: haskell
39+
implementations:
40+
- "[aeson-schema](https://github.com/timjb/aeson-schema) (MIT)"
41+
- "[hjsonschema](https://github.com/seagreen/hjsonschema) - *supports draft 4* (MIT)"
42+
- name: Java
43+
anchor-name: java
44+
implementations:
45+
- "[json-schema-validator](https://github.com/java-json-tools/json-schema-validator) - *supports draft 4* (LGPLv3)"
46+
- "[json-schema (implementation based on the org.json API)](https://github.com/everit-org/json-schema) - *supports draft 4* (Apache License 2.0)"
47+
- "[json-schema-validator](https://github.com/networknt/json-schema-validator) - *supports draft 4* (Apache License 2.0)"
48+
- name: JavaScript
49+
anchor-name: javascript
50+
implementations:
51+
- "[ajv](https://github.com/epoberezkin/ajv) for Node.js and browsers - *supports draft 4, draft 6, [custom keywords](https://github.com/epoberezkin/ajv-keywords) and [$data reference](https://github.com/json-schema-org/json-schema-spec/issues/51)* (MIT)"
52+
- "[djv](https://github.com/korzio/djv) for Node.js and browsers - *supports draft 4* (MIT)"
53+
- "[jsonschema](https://github.com/tdegrunt/jsonschema) for Node.js - *supports draft 4* (MIT)"
54+
- "[is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) - *supports draft 4* (MIT)"
55+
- "[tv4](http://geraintluff.github.com/tv4/) - *supports draft 4* (Public Domain)"
56+
- "[JaySchema](https://github.com/natesilva/jayschema) for Node.js - *supports draft 4* (BSD)"
57+
- "[z-schema](https://github.com/zaggino/z-schema) for Node.js - *supports draft 4* (MIT)"
58+
- "[direct-schema](http://github.com/IreneKnapp/direct-schema) (BSD)"
59+
- "[JSV](http://github.com/garycourt/JSV) (BSD)"
60+
- "[json-schema](https://github.com/kriszyp/json-schema) (AFL or BSD) part of the [Persevere](http://github.com/kriszyp/json-schema) project"
61+
- "[schema.js](https://github.com/akidee/schema.js) (MIT)"
62+
- "[json-gate](https://github.com/oferei/json-gate) (MIT)"
63+
- "[JSEN](https://github.com/bugventure/jsen) for Node.js - *supports draft 4* (MIT)"
64+
- name: PHP
65+
anchor-name: php
66+
implementations:
67+
- "[jsv4-php](https://github.com/geraintluff/jsv4-php) - *supports draft 4* (Public Domain / MIT)"
68+
- "[php-json-schema](https://github.com/hasbridge/php-json-schema) (MIT)"
69+
- "[json-schema](https://github.com/justinrainbow/json-schema) (Berkeley)"
70+
- "[JVal](https://github.com/stefk/jval) - *supports draft 4* (MIT)"
71+
- "[JSON Guard](https://github.com/thephpleague/json-guard) - *supports draft 4* (MIT)"
72+
- name: Perl
73+
anchor-name: perl
74+
implementations:
75+
- "[JSV::Validator](https://metacpan.org/module/JSV::Validator) (MIT)"
76+
- "[JSON::Schema](https://metacpan.org/module/JSON::Schema) (MIT)"
77+
- name: Python
78+
anchor-name: python
79+
implementations:
80+
- "[jsonschema](https://github.com/Julian/jsonschema) - *supports draft 4* (MIT)"
81+
- "[json-schema-validator](https://github.com/zyga/json-schema-validator) (LGPL)"
82+
- name: Ruby
83+
anchor-name: ruby
84+
implementations:
85+
- "[ruby-jsonschema](https://github.com/Constellation/ruby-jsonchema) (MIT)"
86+
- "[json-schema](https://github.com/hoxworth/json-schema) - *supports draft 4* (MIT)"

implementations.md

Lines changed: 8 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -38,64 +38,15 @@ Validators
3838

3939
</nav>
4040

41-
<!-- -->
41+
<!-- To add a validator library, add it in _data/validator-libraries.yml -->
42+
43+
{% for language in site.data.validator-libraries %}
44+
45+
- {{language.name}} <a id="validator-{{ language.anchor-name }}"></a>{% for implementation in language.implementations %}
46+
- {{ implementation }}{% endfor %}
47+
48+
{% endfor %}
4249

43-
- .NET <a id="validator-dotnet"></a>
44-
- [Json.NET](http://james.newtonking.com/projects/json-net.aspx) (MIT)
45-
- [NJsonSchema](http://NJsonSchema.org) - *supports draft 4* (Ms-PL)
46-
- ActionScript 3 <a id="validator-action-script-3"></a>
47-
- [Frigga](https://github.com/raulbajales/Frigga) (MIT)
48-
- C <a id="validator-c"></a>
49-
- [WJElement](https://github.com/netmail-open/wjelement) (LGPLv3)
50-
- C++ <a id="validator-cpp"></a>
51-
- [wjelement-cpp](https://github.com/petehug/wjelement-cpp) - *supports draft 4* (LGPLv3)
52-
- [Header-only C++ library for JSON Schema validation](https://github.com/tristanpenman/valijson) - *supports only draft 4* (BSD-2-Clause)
53-
- [Modern C++ JSON schema validator](https://github.com/pboettch/json-schema-validator) - *supports only draft 4* based on JSON for Modern C++ (MIT)
54-
- Clojure <a id="validator-clojure"></a>
55-
- [scjsv](https://github.com/metosin/scjsv) - *supports draft 4* (wrapper for [java-json-tools/json-schema-validator](https://github.com/java-json-tools/json-schema-validator)) (Eclipse Public License v1.0)
56-
- Dart <a id="validator-dart"></a>
57-
- [json_schema](https://github.com/patefacio/json_schema) *supports draft 4* (BSL-1.0)
58-
- Erlang <a name="validator-erlang"></a>
59-
- [JeSSE](https://github.com/for-GET/jesse) (Apache 2.0)
60-
- Go <a name="validator-go"></a>
61-
- [gojsonschema](https://github.com/sigu-399/gojsonschema) (Apache 2.0)
62-
- [jsonschema](https://github.com/santhosh-tekuri/jsonschema) *supports draft 4, draft 6* (BSD-3-Clause)
63-
- Haskell <a id="validator-haskell"></a>
64-
- [aeson-schema](https://github.com/timjb/aeson-schema) (MIT)
65-
- [hjsonschema](https://github.com/seagreen/hjsonschema) - *supports draft 4* (MIT)
66-
- Java <a id="validator-java"></a>
67-
- [json-schema-validator](https://github.com/java-json-tools/json-schema-validator) - *supports draft 4* (LGPLv3)
68-
- [json-schema (implementation based on the org.json API)](https://github.com/everit-org/json-schema) - *supports draft 4* (Apache License 2.0)
69-
- [json-schema-validator](https://github.com/networknt/json-schema-validator) - *supports draft 4* (Apache License 2.0)
70-
- JavaScript <a id="validator-javascript"></a>
71-
- [ajv](https://github.com/epoberezkin/ajv) for Node.js and browsers - *supports draft 4, draft 6, [custom keywords](https://github.com/epoberezkin/ajv-keywords) and [$data reference](https://github.com/json-schema-org/json-schema-spec/issues/51)* (MIT)
72-
- [djv](https://github.com/korzio/djv) for Node.js and browsers - *supports draft 4* (MIT)
73-
- [jsonschema](https://github.com/tdegrunt/jsonschema) for Node.js - *supports draft 4* (MIT)
74-
- [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) - *supports draft 4* (MIT)
75-
- [tv4](http://geraintluff.github.com/tv4/) - *supports draft 4* (Public Domain)
76-
- [JaySchema](https://github.com/natesilva/jayschema) for Node.js - *supports draft 4* (BSD)
77-
- [z-schema](https://github.com/zaggino/z-schema) for Node.js - *supports draft 4* (MIT)
78-
- [direct-schema](http://github.com/IreneKnapp/direct-schema) (BSD)
79-
- [JSV](http://github.com/garycourt/JSV) (BSD)
80-
- [json-schema](https://github.com/kriszyp/json-schema) (AFL or BSD) part of the [Persevere](http://github.com/kriszyp/json-schema) project
81-
- [schema.js](https://github.com/akidee/schema.js) (MIT)
82-
- [json-gate](https://github.com/oferei/json-gate) (MIT)
83-
- [JSEN](https://github.com/bugventure/jsen) for Node.js - *supports draft 4* (MIT)
84-
- PHP <a id="validator-php"></a>
85-
- [jsv4-php](https://github.com/geraintluff/jsv4-php) - *supports draft 4* (Public Domain / MIT)
86-
- [php-json-schema](https://github.com/hasbridge/php-json-schema) (MIT)
87-
- [json-schema](https://github.com/justinrainbow/json-schema) (Berkeley)
88-
- [JVal](https://github.com/stefk/jval) - *supports draft 4* (MIT)
89-
- [JSON Guard](https://github.com/thephpleague/json-guard) - *supports draft 4* (MIT)
90-
- Perl <a id="validator-perl"></a>
91-
- [JSV::Validator](https://metacpan.org/module/JSV::Validator) (MIT)
92-
- [JSON::Schema](https://metacpan.org/module/JSON::Schema) (MIT)
93-
- Python <a id="validator-python"></a>
94-
- [jsonschema](https://github.com/Julian/jsonschema) - *supports draft 4* (MIT)
95-
- [json-schema-validator](https://github.com/zyga/json-schema-validator) (LGPL)
96-
- Ruby <a id="validator-ruby"></a>
97-
- [ruby-jsonschema](https://github.com/Constellation/ruby-jsonchema) (MIT)
98-
- [json-schema](https://github.com/hoxworth/json-schema) - *supports draft 4* (MIT)
9950

10051
### Online
10152

0 commit comments

Comments
 (0)