[x3d-public] These files failed my modifications of Roy's X3D JSON schema

John Carlson yottzumm at gmail.com
Thu Apr 1 15:39:27 PDT 2021


Here's a list of changes made to Roy's schema.  Full file available on 
request.


John


diff --git a/x3d-6.0-JSONSchema.json b/x3d-6.0-JSONSchema.json
index 04cb633..0c4a6b7 100644
--- a/x3d-6.0-JSONSchema.json
--- a/x3d-6.0-JSONSchema.json
+++ b/x3d-6.0-JSONSchema.json
@@ -6740,9 +6740,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataInteger": {
@@ -6777,9 +6774,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataSet": {
@@ -6875,9 +6869,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MotorJoint": {
@@ -8896,6 +8887,9 @@
                                 "-metadata": {
                                         "$ref": "#/definitions/-metadata"
                                 },
+                               "-normal": {
+                                       "$ref": 
"#/definitions/-X3DNormalNodeSFNode"
+                               },
                                 "-children": {
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
@@ -18615,6 +18609,18 @@
                                 },
                                 "additionalProperties": false
                         }
+               },
+               "-X3DNormalNodeSFNode": {
+                       "type": "object",
+                       "properties": {
+                               "Normal": {
+                                       "$ref": "#/definitions/Normal"
+                               },
+                               "ProtoInstance": {
+                                       "$ref": 
"#/definitions/ProtoInstance"
+                               }
+                       },
+                       "additionalProperties": false
                 }
         }
  }




More information about the x3d-public mailing list