<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Schemata besides 3.3 have been updated to latest X3DUOM for testing before automation</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ svn commit -m "Upgraded schemas" x3d-3.[012]-JSONSchema.json x3d-4.0-JSONSchema.json</p><p class=MsoNormal>Sending        x3d-3.0-JSONSchema.json</p><p class=MsoNormal>Sending        x3d-3.1-JSONSchema.json</p><p class=MsoNormal>Sending        x3d-3.2-JSONSchema.json</p><p class=MsoNormal>Sending        x3d-4.0-JSONSchema.json</p><p class=MsoNormal>Transmitting file data ....done</p><p class=MsoNormal>Committing transaction...</p><p class=MsoNormal>Committed revision 29363.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Schema 3.3 autogenerated file has been updated.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ svn commit -m "Updated schema" x3d-3.3-JSONSchema.autogenerated.json</p><p class=MsoNormal>Sending        x3d-3.3-JSONSchema.autogenerated.json</p><p class=MsoNormal>Transmitting file data .done</p><p class=MsoNormal>Committing transaction...</p><p class=MsoNormal>Committed revision 29364.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Good luck!</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</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">John Carlson</a><br><b>Sent: </b>Friday, October 18, 2019 8:42 PM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Brutzman, Donald (Don) (CIV)</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>RE: JSON Schema updated to draft 2019-09</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So what needs to be automated in the Ant build? Building the JSON schemas.  Here are some examples of commands which you might use in Ant:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>#!/bin/sh<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>echo 3.0<o:p></o:p></p><p class=MsoNormal>python ../python/etgenerateJSONschema.py < /c/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-3.0.xml | jsonlint > ../schema/x3d-3.0-JSONSchema.json<o:p></o:p></p><p class=MsoNormal>echo 3.1<o:p></o:p></p><p class=MsoNormal>python ../python/etgenerateJSONschema.py < /c/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-3.1.xml | jsonlint > ../schema/x3d-3.1-JSONSchema.json<o:p></o:p></p><p class=MsoNormal>echo 3.2<o:p></o:p></p><p class=MsoNormal>python ../python/etgenerateJSONschema.py < /c/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-3.2.xml | jsonlint > ../schema/x3d-3.2-JSONSchema.json<o:p></o:p></p><p class=MsoNormal>echo 3.3<o:p></o:p></p><p class=MsoNormal>python ../python/etgenerateJSONschema.py < /c/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-3.3.xml | jsonlint > ../schema/x3d-3.3-JSONSchema.json<o:p></o:p></p><p class=MsoNormal>echo 4.0<o:p></o:p></p><p class=MsoNormal>python ../python/etgenerateJSONschema.py < /c/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml | jsonlint > ../schema/x3d-4.0-JSONSchema.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/etgenerateJSONschema.py">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/etgenerateJSONschema.py</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please suggest an appropriate license on the etgenerateJSONschema.py, and I will back out the 2019-09 changes, apply license, and check into sourceforge.   Please suggest a good naming convention and location for the python file on sourceforge.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m looking forward to getting this automated without the need for a JSON schema validator.  That will be the step after generating the schemas.  One step at a time.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John<o:p></o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a><br><b>Sent: </b>Friday, October 18, 2019 5:55 PM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Brutzman, Donald (Don) (CIV)</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>RE: JSON Schema updated to draft 2019-09<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I don’t see any implementations of the new draft.  I won’t check in/commit changes until there’s an implementation.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Since they’re going to many drafts as standards (what good is a standard until you can pick from several?), I would be willing to back out my changes to go to draft-07 if everyone agrees this is a good thing. – “T<span style='font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#111111;background:#FDFDFD'>he JSON Schema project intends to shepherd all four draft series to RFC status.”</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have Java and JavaScript script (shell script) for draft-07.  Likely they can be altered to suit Ant.  Please check the Everit and Ajv licenses for suitability with incorporating into Ant.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So the decision is to go with draft-07 with existing implementations, or wait for draft 2019-09 implementations?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Seems pretty much like there’s not much to talk about unless you have XMLSpy.  X3D is a open, royalty-free standard.  If you need help with XMLSpy, will the Web3D Consortium buy me a license?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The link you gave me for json-schema-validator says draft-04?  And the issue says no release for drafts 05 – 09 (there is no draft -09)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What are you in a huff about?  What is our goal for next week?  Let me know when you roll the X3DUOM, and I can reroll either draft-07 or draft 2019-09<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Looks like the 2019-09 boat sailed without the crew, IMO.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://json-schema.org/implementations.html#validators"><span style='color:#954F72'>https://json-schema.org/implementations.html#validators</span></a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am perfectly willing to go with draft-07. That boat is still in the dock, and the crew have been waiting for MONTHS for the passengers to get on board.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The new empty shiny boat is likely due to crash, unless somehow, it’s self-driving.  But to what purpose without passengers and crew?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hmm,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:brutzman@nps.edu">Brutzman, Donald (Don) (CIV)</a><br><b>Sent: </b>Friday, October 18, 2019 3:41 AM<br><b>To: </b><a href="mailto:yottzumm@gmail.com">John Carlson</a>; <a href="mailto:x3d-public@web3d.org">X3D Graphics public mailing list</a><br><b>Subject: </b>JSON Schema updated to draft 2019-09<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Reported at http://json-schema.org<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                JSON Schema<o:p></o:p></p><p class=MsoNormal>                NEW DRAFT PUBLISHED!<o:p></o:p></p><p class=MsoNormal>                The current version is 2019-09!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                Project Status<o:p></o:p></p><p class=MsoNormal>                16 September 2019: Draft 2019-09 (formerly known as draft-08) has been published!<o:p></o:p></p><p class=MsoNormal>                The IETF document IDs are of the form draft-handrews-*-02.<o:p></o:p></p><p class=MsoNormal>                We are now using dates for meta-schemas, which are what implementations should use to determine behavior,<o:p></o:p></p><p class=MsoNormal>                so we will usually refer to 2019-09 (without the word “draft”) on this web site.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Meanwhile Altova XMLSpy has a new v2020 release that includes support for prior draft-07.  I have sent them an issue report requesting when that might be available, and have offered to beta test.  They generally ship revisions 3-4 times per year.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                JSON Schema Editor and Generator: Enterprise-grade, graphical JSON schema editor<o:p></o:p></p><p class=MsoNormal>                https://www.altova.com/xmlspy-xml-editor/json_schema_editor<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>"Just as XMLSpy pioneered the first graphical XML Schema editor, it now also includes the first enterprise-grade, graphical JSON Schema editor to greatly speed schema generation, development, and validation for developers working with JSON."<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As I recall the differences are not too great between your latest and the official latest.  Hoping to examine your patterns and finally update our JSON schema validator.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John, can we retackle X3D JSON Schema next week?  I would like to roll another X3DUOM autogenerator that can match your latest patterns.  We might find some corresponding tweaks to the X3Dv4 JSON encoding as well.  XMLSpy will also let us autogenerate documentation.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Am expecting that rechecks will find other JSON schema validators are coming up to date.  I'll still be looking for a command-line tool we can integrate into the X3D Examples Archive build process.  That will give us a full suite of unit tests... these are already configured using the following (last edited 5 SEP), will need to rebuild/upgrade the latest jar.  Status request posted.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                https://github.com/java-json-tools/json-schema-validator<o:p></o:p></p><p class=MsoNormal>                https://github.com/java-json-tools/json-schema-validator/wiki<o:p></o:p></p><p class=MsoNormal>                https://github.com/java-json-tools/json-schema-validator/wiki/Status<o:p></o:p></p><p class=MsoNormal>                https://github.com/java-json-tools/json-schema-validator/issues/287<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>References<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[1] X3D JSON Encoding<o:p></o:p></p><p class=MsoNormal>     https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[2] X3D to JSON Stylesheet Converter<o:p></o:p></p><p class=MsoNormal>     https://www.web3d.org/x3d/stylesheets/X3dToJson.html<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[3] X3D Specifications: Schema and DOCTYPE Validation<o:p></o:p></p><p class=MsoNormal>     https://www.web3d.org/specifications<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for your patient persistence getting to this point.  When we have autogeneration of JSON schemas in place, that will be another important foundation block for X3D authoring quality assurance (QA) and widespread X3Dv4 adoption.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>all the best, Don<o:p></o:p></p><p class=MsoNormal>-- <o:p></o:p></p><p class=MsoNormal>Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu<o:p></o:p></p><p class=MsoNormal>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<o:p></o:p></p><p class=MsoNormal>X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>