[x3d-public] Updates to 4.0 X3DUOM and schema for HAnim (possibly ok?). Ajv still fails these.

John Carlson yottzumm at gmail.com
Tue May 1 07:26:21 PDT 2018


There was not a new version of the JSON zip on the web3.org website, so I regenerated the JSON on my own, using Saxon (there were may apparent bugs in this, but I ignored them.  Here are the files that still don’t pass JSON schema, and the Ajv results (attached).

I do not know if the 4.0 files got wiped out or not, but I will check.

John

0 Ajv 3.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/development/X3dRetreatProtoExercise.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/AllenDutton.json
0 Ajv 3.3 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.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Illustrated.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Invisible.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimSpecificationLOA3Motion.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/InterchangableActorsViaDynamicRoutingPrototypes.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/JoeSkinTexcoordDisplacerKick.json
0 Ajv 3.3 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/NancyNativeTags.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.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

Sent from Mail for Windows 10

From: John Carlson
Sent: Tuesday, May 1, 2018 9:55 AM
To: Don Brutzman; x3d-public at web3d.org
Subject: Updates to 4.0 X3DUOM and schema for HAnim. Ajv still fails these.

Her are the Schema errors for the non-recent JSON V4.0 files from X3D Resources examples for the HAnim changes to the 4.0 X3DUOM.

The 4.0 JSON schema should be checked in.  Most of these errors appear to be specified @name, I guess.  Not really sure though, since I haven’t looked at the examples.

Let me know if they JSON files have been updated, and I will probably download a new copy anyway.

Good luck!

John


0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json

keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_Foot","@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_Foot","@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootLeft.json
version: 4.0

0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json

keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_Foot","@DEF":"Humanoid_Right_Foot","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_Foot","@DEF":"Humanoid_Right_Foot","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelFootRight.json
version: 4.0

0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json

keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_hand","@DEF":"Humanoid_Left_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Left_hand","@DEF":"Humanoid_Left_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandLeft.json
version: 4.0

0 Ajv 4.0 Validation failed on C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json

keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid
value: {"@name":"Humanoid_Right_hand","@DEF":"Humanoid_Right_hand","@version":"2.2","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"@name"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0


keyword: additionalProperties
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint > -children > 0
value: {"HAnimJoint":"|omitted|"}
message: should NOT have additional properties
params: {"additionalProperty":"HAnimJoint"}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0


keyword: oneOf
dataPath: X3D > Scene > -children > 0 > HAnimHumanoid > -skeleton > 0 > HAnimJoint
value: {"@name":"HumanoidRoot","@DEF":"hanim_HumanoidRoot","-children":"|omitted|"}
message: should match exactly one schema in oneOf
params: {"passingSchemas":null}
file: C:/x3d-code/www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/HAnimModelHandRight.json
version: 4.0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180501/0db9ea05/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: results.txt
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180501/0db9ea05/attachment-0001.txt>


More information about the x3d-public mailing list