[x3d-public] These files fail Ajv JSON schema validation for draft07 autogeneratedX3D JSON schema. Need eyes.

John Carlson yottzumm at gmail.com
Mon Apr 16 02:33:25 PDT 2018


I was able to reduce the number of errors from Ajv by 75+%.  So there’s only 10 or so errors per file now.  Whew, and attached.

Many of these may be ProtoInstance @name and @USE together.
John

Sent from Mail for Windows 10

From: John Carlson
Sent: Monday, April 16, 2018 2:48 AM
To: Don Brutzman; Roy Walmsley; x3d-public at web3d.org
Subject: These files fail Ajv JSON schema validation for draft07 autogeneratedX3D JSON schema. Need eyes.

Please verify they are failing with Everit or online sources, and if so, fix the file or let me know what the error in the autogenerated versioned JSON schema is.  Or just report the actual error in the autogenerated schema for the version of X3D or file.

You may use my x3dschema project https://github.com/coderextreme/x3dschema.

Full error report from Ajv attached, gzipped, but it will probably lead you on some wild goose chases.

Run:

$ sh validate.sh

With X3D Resource examples JSON zip extracted to C:/x3d-code or /c/x3d-code

Thanks a bunch!

0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/FollowerPrototypeDeclarations.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/Slider.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Followers/ThirdPersonViewChaser.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDutton.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDuttonProtoInstances.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxMan.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/BoxManAnimationPanel.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/DiamondManLOA_0.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimBehaviorPrototypes.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Illustrated.json
0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Networking/NetworkSensorConnectionPrototypes.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounce.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallBounceSimple.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BallJoint.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BodyGeometry.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/BounceTrimesh.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/DoubleHingeJoint.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MotorJoint.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/MovingBody.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SingleHingeJoint.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/SliderJoint.json
0 Ajv 3.2 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/RigidBodyPhysics/UniversalJoint.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example15.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Robot.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Buildings/UHRB/SimpleBuildingConstructionExample.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/SeaWeb/BuoyCommunicationsGridExample.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/SeaWeb/SeaWebBuoyPrototype.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/SonobuoyFieldScenario.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHueneme.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Scenarios/LimitedObjectiveExperimentPortHueneme/LimitedObjectiveExperimentPortHuenemeDIS.json
0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Savage/Tools/Animation/PushButtonPrototype.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Illustrated.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhConversion1Invisible.json
0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionAnimation/BvhSeamless3dExport1.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Illustrated.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhConversion1Invisible.json
0 Ajv 3.1 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/MotionCapture/BvhSeamless3dExport1.json

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180416/6eb7af86/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: results.txt.gz
Type: application/x-gzip
Size: 14131 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180416/6eb7af86/attachment-0001.tgz>


More information about the x3d-public mailing list