[x3d-public] Updates to 4.0 X3DUOM and schema for HAnim. Ajv still fails these.

John Carlson yottzumm at gmail.com
Tue May 1 06:55:11 PDT 2018


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/43af1e38/attachment-0001.html>


More information about the x3d-public mailing list