[x3d-public] Roy's schema diff

John Carlson yottzumm at gmail.com
Thu Apr 1 17:57:23 PDT 2021


Here are my changes to Roy's schema today.

Let me know if I should check in.

I have checked in 2 non-filtered results files. One for Ajv, called 
results6.txt and one for Everit called javaresults6.txt

Previous emails have discussed how to set up Everit and Ajv for Roy's 
schema.


Here are the links to the logs for Roy's schema:

https://github.com/coderextreme/x3dschema/blob/master/results6.txt

https://github.com/coderextreme/x3dschema/blob/master/javaresults6.txt

I will check in the autogenerated schema results soon, replacing "6" 
with "3"

Here's the diff to Roy's schema:


diff --git a/x3d-6.0-JSONSchema.json b/x3d-6.0-JSONSchema.json
index 04cb633..ed4ce92 100644
--- a/x3d-6.0-JSONSchema.json
+++ b/x3d-6.0-JSONSchema.json
@@ -4872,6 +4872,13 @@
                                 "@version": {
                                         "type": "string"
                                 },
+                               "@loa": {
+                                       "pattern": 
"^(\\s)*[+-]?(0|[1-9][0-9]*)([Ee][+-]?[0-9]+)?(\\s)*$",
+                                       "maximum": 4,
+                                       "minimum": -1,
+                                       "default": -1,
+                                       "type": "integer"
+                               },
                                 "-joints": {
                                         "$ref": 
"#/definitions/-hanimJoints"
                                 },
@@ -5006,6 +5013,10 @@
                                                 "type": "number"
                                         }
                                 },
+                               "@description": {
+                                       "pattern": "^(\\s|\\S)*$",
+                                       "type": "string"
+                               },
                                 "-children": {
                                         "$ref": 
"#/definitions/-jointChildren"
                                 },
@@ -6666,9 +6677,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataDouble": {
@@ -6703,9 +6711,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataFloat": {
@@ -6740,9 +6745,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataInteger": {
@@ -6777,9 +6779,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataSet": {
@@ -6838,9 +6837,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MetadataString": {
@@ -6875,9 +6871,6 @@
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }
                         },
-                       "required": [
-                               "@name"
-                       ],
                         "additionalProperties": false
                 },
                 "MotorJoint": {
@@ -8896,6 +8889,9 @@
                                 "-metadata": {
                                         "$ref": "#/definitions/-metadata"
                                 },
+                               "-normal": {
+                                       "$ref": "#/definitions/-normal"
+                               },
                                 "-children": {
                                         "$ref": 
"#/definitions/-commentRoute"
                                 }




More information about the x3d-public mailing list