[x3d-public] JSON Schema meeting minutes
John Carlson
yottzumm at gmail.com
Sun Oct 24 23:14:58 PDT 2021
Here's the issue with running HumanoidAnimation through jsonschemafriend
(Java):
runone:
[echo] Main
/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation/Templates/DiamondManLOA2.json
with classpath
.;library.jar;../.m2/repository/org/jruby/joni/joni/2.1.41/joni-2.1.41.jar;../.m2/repository/org/jruby/jcodings/jcodings/1.0.55/jcodings-1.0.55.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.5/jackson-core-2.12.5.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.12.5/jackson-annotations-2.12.5.jar;../.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.5/jackson-databind-2.12.5.jar;../.m2/repository/com/damnhandy/handy-uri-templates/2.1.8/handy-uri-templates-2.1.8.jar
[java] Oct 25, 2021 1:04:07 AM
net.jimblackler.jsonschemafriend.Schema <init>
[java] WARNING: No match for
file:/home/coderextreme/x3dschema/x3d-4.0-JSONSchema.json#/$defs/@geoSystem
The warning seems unrelated to HumanoidAnimation. My suggestion would
be to put the schema on a URL, indeed, here it is:
https://www.web3d.org/specifications/x3d-4.0-JSONSchema.json
We need a way in ant to put many JSON files on a single command line.
Also we probably need to make the build.xml cross-platform.
Most of my JSON schema work in Java is found here:
https://github.com/coderextreme/x3dschema
Check out your version today!
Here's a change to the build.xml to speed it up for HumanoidAnimation:
- <property name="examples"
value="/c/x3d-code/www.web3d.org/x3d/content/examples"/>
+ <property name="examples"
value="/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation"/>
Follow the instructions in the README.md as best you can. I know I'm
running on a Linux system!
John
On 10/24/21 7:12 PM, Joseph D Williams wrote:
>
> Hi John, Getting this to work will help. Are you looking for examples
> to validate, beginning with a .x3d file?
>
> If I can include USE in the HanimDisplacer pt. then I can include USE
> as Interpolator key and value fields(?)
>
> Including a USE in any of the HAnim… nodes Joints, Segments, Sites is
> not going to work unless, well, I can’t really see how it would work
> in a ‘standard’ humanoid.
>
> Thanks,
>
> Joe
>
> *From: *John Carlson <mailto:yottzumm at gmail.com>
> *Sent: *Sunday, October 24, 2021 11:44 AM
> *To: *Brutzman, Donald (Don) (CIV) <mailto:brutzman at nps.edu>
> *Cc: *X3D Public Mailing List (x3d-public at web3d.org)
> <mailto:x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] JSON Schema meeting minutes
>
> Don, schema is here, python seems to be working with added metaschema
> checks.
>
> https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema
> <https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema>
>
> Next on agenda is bpy to JSON conversion, possibly with added GUI/X3D
> conversion tool.
>
> John
>
> Sent from my iPad
>
>
>
> On Oct 18, 2021, at 5:09 PM, Brutzman, Donald (Don) (CIV)
> <brutzman at nps.edu> wrote:
>
>
>
> John and I reviewed his latest schema today and discussed various
> design considerations.
>
> His latest version, generated by a Python program reading X3DUOM,
> is found as follows:
>
> * https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json
>
> Looking at the result in Firefox was helpful because that has a
> great way to look at JSON which allowed us to iconize/expand
> (fold/unfold) as needed. Excerpt follows.
>
> The result looks great. One refinement John will handle: for
> nodes with a USE field, no -children nodes are permitted.
>
> Once he has the next version, I will check it into the
> specifications directory (next to X3D XML Schema and XML DOCTYPE).
>
> At that point we are ready to begin further validation efforts
> using multivarious tools against the many X3D examples in JSON,
> such as
>
> * https://savage.nps.edu/Savage/GroundVehicles/Jeep/Jeep.json
>
> Testing without regex patterns is good for now. A prior version
> had acceptable regex, so that appears to be do-able.
>
> Having fun with X3D JSON! 8)
>
> all the best, Don
>
> --
>
> Don Brutzman Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
>
> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
> +1.831.656.2149
>
> X3D graphics, virtual worlds, navy robotics https://
> faculty.nps.edu/brutzman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211025/4d39deab/attachment-0001.html>
More information about the x3d-public
mailing list