<div dir="auto">Understood, but I am translating JSON to XML/DOM with X3DJSONLD, and then I am validating the XML/DOM with XML Schema, which does have extrinsic order. Since JSON schema may never be standardized, we may be dependent on XML Schema for JSON validation.</div><div dir="auto"><br></div><div dir="auto">I fully realize that my X3DJSONLD should “do the right thing” and reorder the children, but also realize that my X3DJSONLD also has an installed base.</div><div dir="auto"><br></div><div dir="auto">We don’t want to “break the web” if we don’t have to.</div><div dir="auto"><br></div><div dir="auto">I realize that x3d-tidy already repairs these things when converting JSON back to XML, and I will likely look at the source to see what has been done, I am kind of curious at this point. I will probably have to examine XML Schema and X3DUOM to find these specialized orderings. I am pretty sure they are not in X3DUOM, since I’ve had a lot of experience with X3DUOM.</div><div dir="auto"><br></div><div dir="auto">The solution is probably to fix both X3DJSOLD and x3d-tidy.</div><div dir="auto"><br></div><div dir="auto">cc:ed to x3d-public as FYI</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 22, 2023 at 5:23 PM Holger Seelig <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><p></p>
<p dir="auto">As it turns out, there is not an intrinsic order of properties in a JSON schema object.</p>
<p dir="auto">See also <a href="https://stackoverflow.com/questions/31691247/how-can-i-define-the-sequence-of-properties-in-json-schema/31693656#31693656" rel="nofollow" target="_blank">https://stackoverflow.com/questions/31691247/how-can-i-define-the-sequence-of-properties-in-json-schema/31693656#31693656</a>.</p>
<p style="font-size:small;color:rgb(102,102,102)">—<br>Reply to this email directly, <a href="https://github.com/create3000/x3d-tidy/issues/14#issuecomment-1868126861" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFMJ5427C3NJ2BHBEQJ5XDYKYJANAVCNFSM6AAAAABAVIGC6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGEZDMOBWGE" target="_blank">unsubscribe</a>.<br>You are receiving this because you authored the thread.<img src="https://github.com/notifications/beacon/AAFMJ53RARZ4SB4BT6E2OXLYKYJANA5CNFSM6AAAAABAVIGC6SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPLFNI2.gif" height="1" width="1" alt=""><span style="font-size:0px;display:none;overflow:hidden;opacity:0;width:0px;height:0px;max-width:0px;max-height:0px;color:transparent">Message ID: <span><create3000/x3d-tidy/issues/14/1868126861</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</blockquote></div></div>