bowtie-json-schema / bowtie

JSON Schema in every programming language
https://bowtie.report/
Other
54 stars 41 forks source link

Add support for other JavaScript implementations #1018

Closed JeelRajodiya closed 6 months ago

JeelRajodiya commented 8 months ago

I have noticed that bowtie.report site has reports for only two JavaScript implementations, Would it be possible to add the reports of other implementations as well ?

I found this report, but it is 4 years old and it does not have data on the latest draft 2020-12

I have listed some of the few Javascript implementations below.

Julian commented 8 months ago

The first one there is also already supported by Bowtie, but yeah adding support for the others is certainly welcome.

JeelRajodiya commented 8 months ago

The first one there is also already supported by Bowtie,

The jsonschema we have on the site is for GO, Rust, and Python. not JavaScript. Am I missing anything?

image

Julian commented 8 months ago

Yes, you're missing that that validator (like most of those on that list) only supports old drafts of JSON Schema, so you need to look at a dialect it supports (or its page, here), or to see that it's present in Bowtie's images.

jdesrosiers commented 8 months ago

Most, if not all, of those implementations have not been maintained in a very long time. None of them support recent versions. If you want to add more JavaScript implementations, start with @exdous/schemasafe and @cfworker/json-schema. Those and the other two that are already represented are the only ones anyone should be seriously considering using.

JeelRajodiya commented 8 months ago

@Julian should I update the list and remove the unsupported ones; and add @exdous/schemasafe and @cfworker/json-schema

Julian commented 8 months ago

Sure!