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

Sort languages and drafts automatically #470

Merged
merged 2 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 23 additions & 21 deletions _data/validator-libraries-modern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,23 +134,6 @@
date-draft:
draft: [7, 6, 4]
license: Apache License 2.0
- name: Kotlin
implementations:
- name: Medeia-validator
url: https://github.com/worldturner/medeia-validator
notes: streaming validator for Kotlin and Java clients; works with Jackson and Gson
date-draft:
draft: [7, 6, 4]
license: Apache License 2.0
- name: json-kotlin-schema
url: https://github.com/pwall567/json-kotlin-schema
notes: |
Kotlin implementation of JSON Schema.
(Currently supports most of Draft 7; see the README for details.
Full compliance with Draft 7 and later drafts in progress.)
date-draft:
draft: [7]
license: MIT
- name: JavaScript
implementations:
- name: Hyperjump JSV
Expand Down Expand Up @@ -188,17 +171,36 @@
date-draft:
draft: [6]
license: MIT
- name: Kotlin
implementations:
- name: Medeia-validator
url: https://github.com/worldturner/medeia-validator
notes: streaming validator for Kotlin and Java clients; works with Jackson and Gson
date-draft:
draft: [7, 6, 4]
license: Apache License 2.0
- name: json-kotlin-schema
url: https://github.com/pwall567/json-kotlin-schema
notes: |
Kotlin implementation of JSON Schema.
(Currently supports most of Draft 7; see the README for details.
Full compliance with Draft 7 and later drafts in progress.)
date-draft:
draft: [7]
license: MIT
- name: Perl
implementations:
- name: JSON::Schema::Modern
url: https://github.com/karenetheridge/JSON-Schema-Modern
notes:
date-draft: [7, 2019-09, 2020-12]
date-draft: [2019-09, 2020-12]
draft: [7]
license: "GNU General Public License, Version 1 + The Artistic License 1.0"
- name: JSON::Schema::Tiny
url: https://github.com/karenetheridge/JSON-Schema-Tiny
notes:
date-draft: [7, 2019-09, 2020-12]
date-draft: [2019-09, 2020-12]
draft: [7]
license: "GNU General Public License, Version 1 + The Artistic License 1.0"
- name: JSON::Validator
url: https://github.com/mojolicious/json-validator
Expand Down Expand Up @@ -336,8 +338,8 @@
- name: valbuddy
license: Free and commercial versions (proprietary)
url: 'https://www.json-buddy.com/json-validator-command-line-tool.htm'
date-draft:
draft: [2019-09, 7, 6, 4]
date-draft: [2019-09]
draft: [7, 6, 4]
notes: JSONBuddy cli tool. Windows platform. Support for large data and streaming validation.
- name: ajv-cli
license: MIT
Expand Down
6 changes: 3 additions & 3 deletions implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Validators

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

{% assign validator-libraries = site.data.validator-libraries-modern %}
{% assign validator-libraries = site.data.validator-libraries-modern | sort: 'name' %}

{% for language in validator-libraries %}
- [{{ language.name }}](#validator-{% if language.anchor-name %}{{ language.anchor-name }}{% else %}{{ language.name | downcase }}{% endif %})
Expand All @@ -50,10 +50,10 @@ Validators

<em>
{% if implementation.date-draft %}
{{ implementation.date-draft | join: ", "}}{% if implementation.draft %}, {% endif %}
{{ implementation.date-draft | sort | reverse | join: ", "}}{% if implementation.draft %}, {% endif %}
{% endif %}
{% if implementation.draft %}
draft-0{{ implementation.draft | join: ", -0" }}
draft-0{{ implementation.draft | sort | reverse | join: ", -0" }}
{% endif %}
</em>

Expand Down