Skip to content

Commit c681543

Browse files
committed
Made anchor-name optional
1 parent 7526094 commit c681543

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

_data/validator-libraries.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
implementations:
99
- "[Frigga](https://github.com/raulbajales/Frigga) (MIT)"
1010
- name: C
11-
anchor-name: c
1211
implementations:
1312
- "[WJElement](https://github.com/netmail-open/wjelement) (LGPLv3)"
1413
- name: C++
@@ -18,35 +17,28 @@
1817
- "[Header-only C++ library for JSON Schema validation](https://github.com/tristanpenman/valijson) - *supports only draft 4* (BSD-2-Clause)"
1918
- "[Modern C++ JSON schema validator](https://github.com/pboettch/json-schema-validator) - *supports only draft 4* based on JSON for Modern C++ (MIT)"
2019
- name: Clojure
21-
anchor-name: clojure
2220
implementations:
2321
- "[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)"
2422
- name: Dart
25-
anchor-name: dart
2623
implementations:
2724
- "[json_schema](https://github.com/patefacio/json_schema) *supports draft 4* (BSL-1.0)"
2825
- name: Erlang
29-
anchor-name: erlang
3026
implementations:
3127
- "[JeSSE](https://github.com/for-GET/jesse) (Apache 2.0)"
3228
- name: Go
33-
anchor-name: go
3429
implementations:
3530
- "[gojsonschema](https://github.com/sigu-399/gojsonschema) (Apache 2.0)"
3631
- "[jsonschema](https://github.com/santhosh-tekuri/jsonschema) *supports draft 4, draft 6* (BSD-3-Clause)"
3732
- name: Haskell
38-
anchor-name: haskell
3933
implementations:
4034
- "[aeson-schema](https://github.com/timjb/aeson-schema) (MIT)"
4135
- "[hjsonschema](https://github.com/seagreen/hjsonschema) - *supports draft 4* (MIT)"
4236
- name: Java
43-
anchor-name: java
4437
implementations:
4538
- "[json-schema-validator](https://github.com/java-json-tools/json-schema-validator) - *supports draft 4* (LGPLv3)"
4639
- "[json-schema (implementation based on the org.json API)](https://github.com/everit-org/json-schema) - *supports draft 4* (Apache License 2.0)"
4740
- "[json-schema-validator](https://github.com/networknt/json-schema-validator) - *supports draft 4* (Apache License 2.0)"
4841
- name: JavaScript
49-
anchor-name: javascript
5042
implementations:
5143
- "[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)"
5244
- "[djv](https://github.com/korzio/djv) for Node.js and browsers - *supports draft 4* (MIT)"
@@ -62,25 +54,21 @@
6254
- "[json-gate](https://github.com/oferei/json-gate) (MIT)"
6355
- "[JSEN](https://github.com/bugventure/jsen) for Node.js - *supports draft 4* (MIT)"
6456
- name: PHP
65-
anchor-name: php
6657
implementations:
6758
- "[jsv4-php](https://github.com/geraintluff/jsv4-php) - *supports draft 4* (Public Domain / MIT)"
6859
- "[php-json-schema](https://github.com/hasbridge/php-json-schema) (MIT)"
6960
- "[json-schema](https://github.com/justinrainbow/json-schema) (Berkeley)"
7061
- "[JVal](https://github.com/stefk/jval) - *supports draft 4* (MIT)"
7162
- "[JSON Guard](https://github.com/thephpleague/json-guard) - *supports draft 4* (MIT)"
7263
- name: Perl
73-
anchor-name: perl
7464
implementations:
7565
- "[JSV::Validator](https://metacpan.org/module/JSV::Validator) (MIT)"
7666
- "[JSON::Schema](https://metacpan.org/module/JSON::Schema) (MIT)"
7767
- name: Python
78-
anchor-name: python
7968
implementations:
8069
- "[jsonschema](https://github.com/Julian/jsonschema) - *supports draft 4* (MIT)"
8170
- "[json-schema-validator](https://github.com/zyga/json-schema-validator) (LGPL)"
8271
- name: Ruby
83-
anchor-name: ruby
8472
implementations:
8573
- "[ruby-jsonschema](https://github.com/Constellation/ruby-jsonchema) (MIT)"
86-
- "[json-schema](https://github.com/hoxworth/json-schema) - *supports draft 4* (MIT)"
74+
- "[json-schema](https://github.com/hoxworth/json-schema) - *supports draft 4* (MIT)"

implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Validators
4242

4343
{% for language in site.data.validator-libraries %}
4444

45-
- {{language.name}} <a id="validator-{{ language.anchor-name }}"></a>{% for implementation in language.implementations %}
45+
- {{language.name}} <a id="validator-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %}"></a>{% for implementation in language.implementations %}
4646
- {{ implementation }}{% endfor %}
4747

4848
{% endfor %}

0 commit comments

Comments
 (0)