<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>One of these errors brought up an issue:  We should probably allow -children along with @USE if the children are comments.   What do you think?  Can someone craft a schema item that I can put into all nodes?  Making it a ref would reduce the amount of code.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This may be a standards issue, whether to allow comments in USE nodes.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s a start:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                        "oneOf": [</p><p class=MsoNormal>                                {</p><p class=MsoNormal>                                        "type": "object",</p><p class=MsoNormal>                                        "properties": {</p><p class=MsoNormal>                                                "@USE": {</p><p class=MsoNormal>                                                        "type": "string"</p><p class=MsoNormal>                                                },</p><p class=MsoNormal>                                                    “-children”: {</p><p class=MsoNormal style='margin-left:.5in'>                                        "type": "array",</p><p class=MsoNormal style='margin-left:.5in'>                                        "minItems": 1,</p><p class=MsoNormal style='margin-left:.5in'>                                        "items": {</p><p class=MsoNormal style='margin-left:.5in'>                                                "type": "object",</p><p class=MsoNormal style='margin-left:.5in'>                                                "properties": {</p><p class=MsoNormal style='margin-left:.5in'>                                                        "#comment": {</p><p class=MsoNormal style='margin-left:.5in'>                                                                "type": "string"</p><p class=MsoNormal style='margin-left:.5in'>                                                        }</p><p class=MsoNormal style='margin-left:.5in'>                                                },</p><p class=MsoNormal style='margin-left:.5in'>                                                "additionalProperties": false</p><p class=MsoNormal style='margin-left:.5in'>                                          }</p><p class=MsoNormal style='margin-left:.5in'>                                   }</p><p class=MsoNormal>                                        },</p><p class=MsoNormal>                                        "required": [</p><p class=MsoNormal>                                            "@USE"</p><p class=MsoNormal>                                        ],</p><p class=MsoNormal>                                        "additionalProperties": false</p><p class=MsoNormal>                                },</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>Wednesday, October 25, 2017 1:18 AM<br><b>To: </b><a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Subject: </b>RE: Here are the org.everit JSON schema verifier errors with theX3DResource Examples files recently converted to JSON.</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/3/Group: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/5/Switch: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/6/Group: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/8/Group: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>@USE and @name in ProtoInstance (several) – search for USE<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/0/NavigationInfo: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Jeep/Jeep.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/10/Transform: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Jeep/Jeep.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/12/Inline: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/GroundVehicles/Jeep/Jeep.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>“EXAMINE ANY” is a single SFString in an MFString in NavigationInfo @type<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/1/ExternProtoDeclare/@url: 2 schema violations found C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/Frigate-MEKO200-Greece/MEKO200.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/2/Transform: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/Frigate-MEKO200-Greece/MEKO200.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Both @USE (FAT_SHAFT) and -children in a Shape. (comment)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/1/NavigationInfo: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/6/Group: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/18/Transform: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/19/Transform: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json<o:p></o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/20/Transform: #: only 1 subschema matches out of 2 C:/x3d-code/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SubWorld.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>ALL is invalid NavigationInfo @type.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>json-schema 3.3 Validation error org.everit.json.schema.ValidationException: #/X3D/Scene/-children/4/HAnimHumanoid: #: 0 subschemas matched instead of one C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1.json<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>l_middistal_tip, r_middistal_tip, vl5_to_Chest2, Chest_to_LeftCollar, LeftCollar, Chest_to_RightCollar, RightCollar, Chest2_to_Neck,  Neck, Chest2 are illegal @name’s<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>