Skip to content

Commit 604f500

Browse files
committed
Split hyper-schema libraries by support level
1 parent 859fde5 commit 604f500

File tree

4 files changed

+47
-15
lines changed

4 files changed

+47
-15
lines changed

_data/hyper-schema-libraries.yml renamed to _data/hyper-libraries-modern.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
url: "https://github.com/mokkabonna/json-hyper-schema"
55
license: MIT
66
draft: [7]
7-
- name: Jsonary
8-
url: "http://jsonary.com/"
9-
license: MIT
10-
draft: [4]
117
- name: Python
128
implementations:
139
- name: Core API Hyper-Schema codec

_data/hyper-libraries-obsolete.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- name: JavaScript
2+
implementations:
3+
- name: Jsonary
4+
url: "http://jsonary.com/"
5+
license: MIT
6+
draft: [4]

implementations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Hyper-Schema
9393

9494
<nav class="intra" markdown="1">
9595

96-
{% assign hyper-schema-libraries = site.data.hyper-schema-libraries | sort:"name" %}
96+
{% assign hyper-schema-libraries = site.data.hyper-libraries-modern | sort:"name" %}
9797

9898
{% for language in hyper-schema-libraries %}
9999
- [{{ language.name }}](#hyper-schema-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %})
@@ -111,7 +111,7 @@ Hyper-Schema
111111
{% for implementation in language.implementations %}
112112
<li>
113113
<a href="{{implementation.url}}">{{ implementation.name }}</a>
114-
114+
115115
{% if implementation.draft %}
116116
<em>supports draft {{ implementation.draft | join: ", draft " }}</em>
117117
{% endif %}

obsolete-implementations.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ Validators
7070
- {{ tool.notes }} {% endif %}{% endfor %}
7171

7272

73-
Validation benchmarks
74-
---------------------
73+
### Benchmarks
7574

7675
- Java
7776
- [json-schema-validator-benchmark](https://github.com/networknt/json-schema-validator-perftest) - compares performance of three JSON schema validator implementations in Java(Apache 2.0)
@@ -86,6 +85,44 @@ Validation benchmarks
8685
- PHP
8786
- [php-json-schema-bench](https://github.com/swaggest/php-json-schema-bench) - comparative benchmark for JSON-schema PHP validators using JSON-Schema Test Suite and z-schema/JSCK (MIT)
8887

88+
Hyper-Schema
89+
---------------------
90+
91+
<nav class="intra" markdown="1">
92+
93+
{% assign hyper-schema-libraries = site.data.hyper-libraries-obsolete | sort:"name" %}
94+
95+
{% for language in hyper-schema-libraries %}
96+
- [{{ language.name }}](#hyper-schema-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %})
97+
{% endfor %}
98+
99+
</nav>
100+
101+
<!-- To add a hyper-schema library, add it in _data/hyper-schema-libraries.yml -->
102+
103+
<ul>
104+
{% for language in hyper-schema-libraries %}
105+
<li>
106+
{{language.name}} <a id="hyper-schema-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %}"></a>
107+
<ul>
108+
{% for implementation in language.implementations %}
109+
<li>
110+
<a href="{{implementation.url}}">{{ implementation.name }}</a>
111+
112+
{% if implementation.draft %}
113+
<em>supports draft {{ implementation.draft | join: ", draft " }}</em>
114+
{% endif %}
115+
116+
{{implementation.notes | markdownify | remove: '<p>' | remove: '</p>'}}
117+
({{ implementation.license | join: ", " }})
118+
119+
</li>
120+
{% endfor %}
121+
</ul>
122+
</li>
123+
{% endfor %}
124+
</ul>
125+
89126
Schema generation
90127
-----------------
91128

@@ -168,13 +205,6 @@ Compatibility
168205
- JavaScript
169206
- [JSON Schema Compatibility](https://github.com/geraintluff/json-schema-compatability) - *converts draft 3 to draft 4* (Public Domain)
170207

171-
Hyper-schema handling
172-
---------------------
173-
174-
- JavaScript
175-
- [Jsonary](http://jsonary.com/) - *supports draft 4* (MIT)
176-
- Python
177-
- [Core API Hyper-Schema codec](https://github.com/core-api/python-jsonhyperschema-codec) - *supports draft 4* (BSD-2-Clause)
178208

179209
Documentation generation
180210
------------------------

0 commit comments

Comments
 (0)