<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Here's the issue with running HumanoidAnimation through
jsonschemafriend (Java):</p>
<p><br>
</p>
<p>runone:<br>
[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<br>
[java] Oct 25, 2021 1:04:07 AM
net.jimblackler.jsonschemafriend.Schema <init><br>
[java] WARNING: No match for
<a class="moz-txt-link-freetext" href="file:/home/coderextreme/x3dschema/x3d-4.0-JSONSchema.json#/$defs/@geoSystem">file:/home/coderextreme/x3dschema/x3d-4.0-JSONSchema.json#/$defs/@geoSystem</a></p>
<p>The warning seems unrelated to HumanoidAnimation. My suggestion
would be to put the schema on a URL, indeed, here it is:
<a class="moz-txt-link-freetext" href="https://www.web3d.org/specifications/x3d-4.0-JSONSchema.json">https://www.web3d.org/specifications/x3d-4.0-JSONSchema.json</a></p>
<p><br>
</p>
<p>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.<br>
</p>
Most of my JSON schema work in Java is found here:
<a class="moz-txt-link-freetext" href="https://github.com/coderextreme/x3dschema">https://github.com/coderextreme/x3dschema</a>
<p>Check out your version today!</p>
<p>Here's a change to the build.xml to speed it up for
HumanoidAnimation:</p>
<p>- <property name="examples"
value="/c/x3d-code/www.web3d.org/x3d/content/examples"/><br>
+ <property name="examples"
value="/c/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation"/></p>
<p>Follow the instructions in the README.md as best you can. I know
I'm running on a Linux system!<br>
</p>
<p>John<br>
</p>
<div class="moz-cite-prefix">On 10/24/21 7:12 PM, Joseph D Williams
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6175f65d.1c69fb81.f0bb4.4f43SMTPIN_ADDED_MISSING@mx.google.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}.MsoChpDefault
{mso-style-type:export-only;}div.WordSection1
{page:WordSection1;}ol
{margin-bottom:0in;}ul
{margin-bottom:0in;}</style>
<div class="WordSection1">
<p class="MsoNormal">Hi John, Getting this to work will help.
Are you looking for examples to validate, beginning with a
.x3d file? </p>
<p class="MsoNormal">If I can include USE in the HanimDisplacer
pt. then I can include USE as Interpolator key and value
fields(?)</p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Joe</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div
style="mso-element:para-border-div;border:none;border-top:solid
#E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From:
</b><a href="mailto:yottzumm@gmail.com"
moz-do-not-send="true">John Carlson</a><br>
<b>Sent: </b>Sunday, October 24, 2021 11:44 AM<br>
<b>To: </b><a href="mailto:brutzman@nps.edu"
moz-do-not-send="true">Brutzman, Donald (Don) (CIV)</a><br>
<b>Cc: </b><a href="mailto:x3d-public@web3d.org"
moz-do-not-send="true">X3D Public Mailing List
(x3d-public@web3d.org)</a><br>
<b>Subject: </b>Re: [x3d-public] JSON Schema meeting
minutes</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Don, schema is here, python seems to be
working with added metaschema checks.<br>
<br>
<a
href="https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema"
moz-do-not-send="true">https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema</a><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Next on agenda is bpy to JSON conversion,
possibly with added GUI/X3D conversion tool.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">John<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">Sent from my iPad<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">On Oct
18, 2021, at 5:09 PM, Brutzman, Donald (Don) (CIV)
<a class="moz-txt-link-rfc2396E" href="mailto:brutzman@nps.edu"><brutzman@nps.edu></a> wrote:<o:p></o:p></p>
</blockquote>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">John and I reviewed his latest
schema today and discussed various design
considerations.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">His latest version, generated by a
Python program reading X3DUOM, is found as follows:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph"
style="margin-left:0in;mso-list:l0 level1 lfo1"><a class="moz-txt-link-freetext" href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json</a><o:p></o:p></li>
</ul>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The result looks great. One
refinement John will handle: for nodes with a USE
field, no -children nodes are permitted.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Once he has the next version, I
will check it into the specifications directory (next
to X3D XML Schema and XML DOCTYPE).<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">At that point we are ready to begin
further validation efforts using multivarious tools
against the many X3D examples in JSON, such as<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph"
style="margin-left:0in;mso-list:l0 level1 lfo1"><a class="moz-txt-link-freetext" href="https://savage.nps.edu/Savage/GroundVehicles/Jeep/Jeep.json">https://savage.nps.edu/Savage/GroundVehicles/Jeep/Jeep.json</a><o:p></o:p></li>
</ul>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Testing without regex patterns is
good for now. A prior version had acceptable regex,
so that appears to be do-able.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Having fun with X3D JSON! 8)<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">all the best, Don</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">-- </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">Don Brutzman Naval Postgraduate School,
Code USW/Br <a class="moz-txt-link-abbreviated" href="mailto:brutzman@nps.edu">brutzman@nps.edu</a></span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">Watkins 270, MOVES Institute, Monterey
CA 93943-5000 USA +1.831.656.2149</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">X3D graphics, virtual worlds, navy
robotics https://</span> <span
style="font-size:10.0pt;font-family:"Courier
New"">faculty.nps.edu/brutzman</span><o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:0in;margin-right:.5in;margin-bottom:5.0pt;margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
</body>
</html>