[x3d-public] JSON schema updates for min/max (now uncommented)
John Carlson
yottzumm at gmail.com
Mon Apr 1 00:17:04 PDT 2024
New version of X3D JSON validator available:
https://www.npmjs.com/package/x3dvalidate (v 8.8.0)
No code changes, just changes to schema.
Typically one would install with npm install -g x3dvalidate
Then run
$ x3dvalidate file1.json file2.json ...
Source is here: https://github.com/coderextreme/x3dvalidate/
Note that I've uncommented the code for min/max constraints, but I've only
tested on my personal files. Testing in a wider scenario is welcome, and
I will try to do that. Your own examples would be valuable.
Due to this comment that was in the schema generator, I've updated the
schema mapping (that's how I found the problem in the JSON schema,
serendipitously).
So here's a new X3DUOM to JSON Object mapping:
https://coderextreme.net/X3DJSONLD/src/main/python/index.html
See an old message for updates to the mapping generation.
Please report any issues to GitHub.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240401/1b5aa0de/attachment.html>
More information about the x3d-public
mailing list