<div dir="ltr"><div dir="ltr">Approaching finalization. JSON side of @geoSystem and SFNode/MFNode acceptable types done. Need to present what X3DUOM looks like in those cases (the alternating |'s is what I'm referring to). -childStatements appears to be done, without any X3DUOM equivalents. The JSON header is also not done.<div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/index.html">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/index.html</a><br></div><div><br></div><div>Enjoy!</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 9, 2024 at 2:22 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Don,<div><br></div><div>Here's a first (second) cut at a X3DUOM to X3DJSON schema mapping.</div><div><br></div><div>I finally settled on a kind of approach, taking pieces of the X3DUOM and comparable pieces from X3DJSON schema and putting them next to each other, but final results are still up in the air. Now's your chance for some feedback. I already know I need to handle SFNode and MFNode, -children and -childStatemetns, basically anything in JSON with a leading dash.</div><div><br></div><div>View on the web/download</div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/index.html" target="_blank">X3DJSONLD/src/main/python/index.html at master · coderextreme/X3DJSONLD (github.com)</a><br></div><div><br></div><div>Here's the mapping python. </div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/schemamapping.py" target="_blank">X3DJSONLD/src/main/python/schemamapping.py at master · coderextreme/X3DJSONLD (github.com)</a><br></div><div><br></div><div>If you run it, be aware that it reads schema as a file, and X3DUOM on standard input.</div><div><br></div><div>Thanks, I'm not done yet.</div><div><br></div><div>John</div></div></div></div>
</blockquote></div>