<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;}
/* 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;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        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>I think this might be better checked by Roy, if he was here.   Perhaps you can take a look, Don, since we are getting into python.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Another python expert could weight in as well.   Knowledge of X3DUOM is useful.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have checked in changes to the python JSON schema generator, at:</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></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Your task, should you choose to accept it, will be to run the shell script, found here in the shell folder:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/shell/generateSchema.sh">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/shell/generateSchema.sh</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[  Requires /c/x3d-code/www.web3d.org/specifications/X3DUnified*, jsonlint ]</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Then do git diffs and compare against what’s checked in, here:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema">https://github.com/coderextreme/X3DJSONLD/tree/master/src/main/schema</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Compare schema version against X3DUOM version, found here:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="http://www.web3d.org/specifications/X3DUOM.html">http://www.web3d.org/specifications/X3DUOM.html</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Solve the python issues in etgenerateJSONschema.py </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think we’ve got another retired person running out of steam.  Maybe it’s a late night tonight.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am thinking we need to reduce the amount of code.   Perhaps by validating directly against the X3DUOM with python or javascript (anyone want to pick?), instead of validating against JSON Schema.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any chance we could create a JSON validator from an ontology?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am beginning to see why all this schema stuff is just a total waste of time and it’s better to use an object model.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>For extra credit, copy schemas here:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://github.com/coderextreme/x3dschema/">https://github.com/coderextreme/x3dschema/</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>and run validate.sh<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ll probably feel a bit better tomorrow.  Probably by Wednesday I’ll be ready to write a Python Object Model/SAI.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The frappucino is weighting heavily tonight or some such.<o:p></o:p></p><p class=MsoNormal><br>Getting into it:<o:p></o:p></p><p class=MsoNormal>John “Toss the schema, use the object model” Carlson</p></div></body></html>