Skip to content

Commit 8362a1c

Browse files
committed
Pull out library name, url, and license into yaml structure
1 parent c681543 commit 8362a1c

File tree

2 files changed

+150
-42
lines changed

2 files changed

+150
-42
lines changed

_data/validator-libraries.yml

Lines changed: 148 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,181 @@
11
- name: .NET
22
anchor-name: dotnet
33
implementations:
4-
- "[Json.NET](http://james.newtonking.com/projects/json-net.aspx) (MIT)"
5-
- "[NJsonSchema](http://NJsonSchema.org) - *supports draft 4* (Ms-PL)"
4+
- name: Json.NET
5+
url: http://james.newtonking.com/projects/json-net.aspx
6+
license: "MIT"
7+
- name: NJsonSchema
8+
url: http://NJsonSchema.org
9+
notes: "- *supports draft 4*"
10+
license: Ms-PL
611
- name: ActionScript 3
712
anchor-name: action-script-3
813
implementations:
9-
- "[Frigga](https://github.com/raulbajales/Frigga) (MIT)"
14+
- name: Frigga
15+
url: https://github.com/raulbajales/Frigga
16+
license: "MIT"
1017
- name: C
1118
implementations:
12-
- "[WJElement](https://github.com/netmail-open/wjelement) (LGPLv3)"
19+
- name: WJElement
20+
url: https://github.com/netmail-open/wjelement
21+
license: "LGPLv3"
1322
- name: C++
1423
anchor-name: cpp
1524
implementations:
16-
- "[wjelement-cpp](https://github.com/petehug/wjelement-cpp) - *supports draft 4* (LGPLv3)"
17-
- "[Header-only C++ library for JSON Schema validation](https://github.com/tristanpenman/valijson) - *supports only draft 4* (BSD-2-Clause)"
18-
- "[Modern C++ JSON schema validator](https://github.com/pboettch/json-schema-validator) - *supports only draft 4* based on JSON for Modern C++ (MIT)"
25+
- name: wjelement-cpp
26+
url: https://github.com/petehug/wjelement-cpp
27+
notes: "- *supports draft 4*"
28+
license: LGPLv3
29+
- name: Header-only C++ library for JSON Schema validation
30+
url: https://github.com/tristanpenman/valijson
31+
notes: "- *supports only draft 4*"
32+
license: BSD-2-Clause
33+
- name: Modern C++ JSON schema validator
34+
url: https://github.com/pboettch/json-schema-validator
35+
notes: "- *supports only draft 4* based on JSON for Modern C++"
36+
license: "MIT"
1937
- name: Clojure
2038
implementations:
21-
- "[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)"
39+
- name: scjsv
40+
url: https://github.com/metosin/scjsv
41+
notes: "- *supports draft 4* (wrapper for [java-json-tools/json-schema-validator](https://github.com/java-json-tools/json-schema-validator))"
42+
license: Eclipse Public License v1.0
2243
- name: Dart
2344
implementations:
24-
- "[json_schema](https://github.com/patefacio/json_schema) *supports draft 4* (BSL-1.0)"
45+
- name: json_schema
46+
url: https://github.com/patefacio/json_schema
47+
notes: "*supports draft 4*"
48+
license: BSL-1.0
2549
- name: Erlang
2650
implementations:
27-
- "[JeSSE](https://github.com/for-GET/jesse) (Apache 2.0)"
51+
- name: JeSSE
52+
url: https://github.com/for-GET/jesse
53+
license: "Apache 2.0"
2854
- name: Go
2955
implementations:
30-
- "[gojsonschema](https://github.com/sigu-399/gojsonschema) (Apache 2.0)"
31-
- "[jsonschema](https://github.com/santhosh-tekuri/jsonschema) *supports draft 4, draft 6* (BSD-3-Clause)"
56+
- name: gojsonschema
57+
url: https://github.com/sigu-399/gojsonschema
58+
license: "Apache 2.0"
59+
- name: jsonschema
60+
url: https://github.com/santhosh-tekuri/jsonschema
61+
notes: "*supports draft 4, draft 6*"
62+
license: BSD-3-Clause
3263
- name: Haskell
3364
implementations:
34-
- "[aeson-schema](https://github.com/timjb/aeson-schema) (MIT)"
35-
- "[hjsonschema](https://github.com/seagreen/hjsonschema) - *supports draft 4* (MIT)"
65+
- name: aeson-schema
66+
url: https://github.com/timjb/aeson-schema
67+
license: "MIT"
68+
- name: hjsonschema
69+
url: https://github.com/seagreen/hjsonschema
70+
notes: "- *supports draft 4*"
71+
license: MIT
3672
- name: Java
3773
implementations:
38-
- "[json-schema-validator](https://github.com/java-json-tools/json-schema-validator) - *supports draft 4* (LGPLv3)"
39-
- "[json-schema (implementation based on the org.json API)](https://github.com/everit-org/json-schema) - *supports draft 4* (Apache License 2.0)"
40-
- "[json-schema-validator](https://github.com/networknt/json-schema-validator) - *supports draft 4* (Apache License 2.0)"
74+
- name: json-schema-validator
75+
url: https://github.com/java-json-tools/json-schema-validator
76+
notes: "- *supports draft 4*"
77+
license: LGPLv3
78+
- name: json-schema (implementation based on the org.json API)
79+
url: https://github.com/everit-org/json-schema
80+
notes: "- *supports draft 4*"
81+
license: Apache License 2.0
82+
- name: json-schema-validator
83+
url: https://github.com/networknt/json-schema-validator
84+
notes: "- *supports draft 4*"
85+
license: Apache License 2.0
4186
- name: JavaScript
4287
implementations:
43-
- "[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)"
44-
- "[djv](https://github.com/korzio/djv) for Node.js and browsers - *supports draft 4* (MIT)"
45-
- "[jsonschema](https://github.com/tdegrunt/jsonschema) for Node.js - *supports draft 4* (MIT)"
46-
- "[is-my-json-valid](https://github.com/mafintosh/is-my-json-valid) - *supports draft 4* (MIT)"
47-
- "[tv4](http://geraintluff.github.com/tv4/) - *supports draft 4* (Public Domain)"
48-
- "[JaySchema](https://github.com/natesilva/jayschema) for Node.js - *supports draft 4* (BSD)"
49-
- "[z-schema](https://github.com/zaggino/z-schema) for Node.js - *supports draft 4* (MIT)"
50-
- "[direct-schema](http://github.com/IreneKnapp/direct-schema) (BSD)"
51-
- "[JSV](http://github.com/garycourt/JSV) (BSD)"
52-
- "[json-schema](https://github.com/kriszyp/json-schema) (AFL or BSD) part of the [Persevere](http://github.com/kriszyp/json-schema) project"
53-
- "[schema.js](https://github.com/akidee/schema.js) (MIT)"
54-
- "[json-gate](https://github.com/oferei/json-gate) (MIT)"
55-
- "[JSEN](https://github.com/bugventure/jsen) for Node.js - *supports draft 4* (MIT)"
88+
- name: ajv
89+
url: https://github.com/epoberezkin/ajv
90+
notes: "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)*"
91+
license: MIT
92+
- name: djv
93+
url: https://github.com/korzio/djv
94+
notes: "for Node.js and browsers - *supports draft 4*"
95+
license: MIT
96+
- name: jsonschema
97+
url: https://github.com/tdegrunt/jsonschema
98+
notes: "for Node.js - *supports draft 4*"
99+
license: MIT
100+
- name: is-my-json-valid
101+
url: https://github.com/mafintosh/is-my-json-valid
102+
notes: "- *supports draft 4*"
103+
license: MIT
104+
- name: tv4
105+
url: http://geraintluff.github.com/tv4/
106+
notes: "- *supports draft 4*"
107+
license: [Public Domain, MIT]
108+
- name: JaySchema
109+
url: https://github.com/natesilva/jayschema
110+
notes: "for Node.js - *supports draft 4*"
111+
license: BSD
112+
- name: z-schema
113+
url: https://github.com/zaggino/z-schema
114+
notes: "for Node.js - *supports draft 4*"
115+
license: MIT
116+
- name: direct-schema
117+
url: http://github.com/IreneKnapp/direct-schema
118+
license: "BSD"
119+
- name: JSV
120+
url: http://github.com/garycourt/JSV
121+
license: "BSD"
122+
- name: json-schema
123+
url: https://github.com/kriszyp/json-schema
124+
notes: "part of the [Persevere](http://github.com/kriszyp/json-schema) project"
125+
license: [AFL, BSD]
126+
- name: schema.js
127+
url: https://github.com/akidee/schema.js
128+
license: "MIT"
129+
- name: json-gate
130+
url: https://github.com/oferei/json-gate
131+
license: "MIT"
132+
- name: JSEN
133+
url: https://github.com/bugventure/jsen
134+
notes: "for Node.js - *supports draft 4*"
135+
license: "MIT"
56136
- name: PHP
57137
implementations:
58-
- "[jsv4-php](https://github.com/geraintluff/jsv4-php) - *supports draft 4* (Public Domain / MIT)"
59-
- "[php-json-schema](https://github.com/hasbridge/php-json-schema) (MIT)"
60-
- "[json-schema](https://github.com/justinrainbow/json-schema) (Berkeley)"
61-
- "[JVal](https://github.com/stefk/jval) - *supports draft 4* (MIT)"
62-
- "[JSON Guard](https://github.com/thephpleague/json-guard) - *supports draft 4* (MIT)"
138+
- name: jsv4-php
139+
url: https://github.com/geraintluff/jsv4-php
140+
notes: "- *supports draft 4*"
141+
license: [Public Domain, MIT]
142+
- name: php-json-schema
143+
url: https://github.com/hasbridge/php-json-schema
144+
license: "MIT"
145+
- name: json-schema
146+
url: https://github.com/justinrainbow/json-schema
147+
license: "Berkeley"
148+
- name: JVal
149+
url: https://github.com/stefk/jval
150+
notes: "- *supports draft 4*"
151+
license: "MIT"
152+
- name: JSON Guard
153+
url: https://github.com/thephpleague/json-guard
154+
notes: "- *supports draft 4*"
155+
license: "MIT"
63156
- name: Perl
64157
implementations:
65-
- "[JSV::Validator](https://metacpan.org/module/JSV::Validator) (MIT)"
66-
- "[JSON::Schema](https://metacpan.org/module/JSON::Schema) (MIT)"
158+
- name: JSV::Validator
159+
url: https://metacpan.org/module/JSV::Validator
160+
license: "MIT"
161+
- name: JSON::Schema
162+
url: https://metacpan.org/module/JSON::Schema
163+
license: "MIT"
67164
- name: Python
68165
implementations:
69-
- "[jsonschema](https://github.com/Julian/jsonschema) - *supports draft 4* (MIT)"
70-
- "[json-schema-validator](https://github.com/zyga/json-schema-validator) (LGPL)"
166+
- name: jsonschema
167+
url: https://github.com/Julian/jsonschema
168+
notes: "- *supports draft 4*"
169+
license: "MIT"
170+
- name: json-schema-validator
171+
url: https://github.com/zyga/json-schema-validator
172+
license: "LGPL"
71173
- name: Ruby
72174
implementations:
73-
- "[ruby-jsonschema](https://github.com/Constellation/ruby-jsonchema) (MIT)"
74-
- "[json-schema](https://github.com/hoxworth/json-schema) - *supports draft 4* (MIT)"
175+
- name: ruby-jsonschema
176+
url: https://github.com/Constellation/ruby-jsonchema
177+
license: "MIT"
178+
- name: json-schema
179+
url: https://github.com/hoxworth/json-schema
180+
notes: "- *supports draft 4*"
181+
license: MIT

implementations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ Validators
4343
{% for language in site.data.validator-libraries %}
4444

4545
- {{language.name}} <a id="validator-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %}"></a>{% for implementation in language.implementations %}
46-
- {{ implementation }}{% endfor %}
46+
- [{{ implementation.name }}]({{implementation.url}}) {{implementation.notes}}
47+
({{implementation.license | join: ", "}}){% endfor %}
4748

4849
{% endfor %}
4950

0 commit comments

Comments
 (0)