[x3d-public] JSON schema generator

John Carlson yottzumm at gmail.com
Wed Nov 18 14:11:39 PST 2020


I read about Ajv 7 (beta).  It uses TypeScript.   I currently use Ajv 6
something I am fairly sure.   The beta doesn’t use a version number, so I
am fairly sure using a * version will be ok to grab latest (6).   The good
news is the beta supports   JSON schema 2019-09 (draft)

John

On Wed, Nov 18, 2020 at 4:01 PM John Carlson <yottzumm at gmail.com> wrote:

>
> https://raw.githubusercontent.com/coderextreme/X3DJSONLD/master/src/main/shell/generateSchema.sh
>
> Above is a shell script to generate all versions of X3D JSON schema in
> JSON-schema draft-07.
>
> FYI, there are JSON schema draft-07 validators in use: everit and Ajv.
>
> Don, I seem to remember an issue we had with generating spurious errors
> when validating nodes with USE.   The answer I figured out was turn off
> debugging and go to the deepest reported node in the document for where the
> error is.   The Ajv author said he would not change this, but there’s the
> Ajv-errors package.
>
> Please review.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20201118/6ca42232/attachment.html>


More information about the x3d-public mailing list