[x3d-public] My errors left in HAnim, I think.

John Carlson yottzumm at gmail.com
Mon May 4 22:50:19 PDT 2020


DOM2JSONSerializer.js has the following issues:

-skeleton is treated as an object instead of an array.

John

Loading schema
Parsing schema
Adding schema
Schema 4.0 added
Schema 4.0 compiled
================================================================================
File: HAnimModelFootLeft.json
Error reading HAnimModelFootLeft.json
 keyword: additionalProperties
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Left_Foot","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"@DEF"}
 file: HAnimModelFootLeft.json
 version: 4.0

 keyword: type
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid > -skeleton
 value: {"HAnimJoint":"|omitted|"}
 message: should be array
 params: {"type":"array"}
 file: HAnimModelFootLeft.json
 version: 4.0

 keyword: oneOf
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Left_Foot","@info":"|omitted|","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Left_Foot","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should match exactly one schema in "oneOf"
 params: {"passingSchemas":null}
 file: HAnimModelFootLeft.json
 version: 4.0

================================================================================
File: HAnimModelFootRight.json
Error reading HAnimModelFootRight.json
 keyword: additionalProperties
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Right_Foot","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Right_Foot","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"@DEF"}
 file: HAnimModelFootRight.json
 version: 4.0

 keyword: type
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid > -skeleton
 value: {"HAnimJoint":"|omitted|"}
 message: should be array
 params: {"type":"array"}
 file: HAnimModelFootRight.json
 version: 4.0

 keyword: oneOf
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Right_Foot","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Right_Foot","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should match exactly one schema in "oneOf"
 params: {"passingSchemas":null}
 file: HAnimModelFootRight.json
 version: 4.0

================================================================================
File: HAnimModelHandLeft.json
Error reading HAnimModelHandLeft.json
 keyword: additionalProperties
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Left_hand","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Left_hand","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"@DEF"}
 file: HAnimModelHandLeft.json
 version: 4.0

 keyword: type
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid > -skeleton
 value: {"HAnimJoint":"|omitted|"}
 message: should be array
 params: {"type":"array"}
 file: HAnimModelHandLeft.json
 version: 4.0

 keyword: oneOf
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Left_hand","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Left_hand","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should match exactly one schema in "oneOf"
 params: {"passingSchemas":null}
 file: HAnimModelHandLeft.json
 version: 4.0

================================================================================
File: HAnimModelHandRight.json
Error reading HAnimModelHandRight.json
 keyword: additionalProperties
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Right_hand","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Right_hand","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"@DEF"}
 file: HAnimModelHandRight.json
 version: 4.0

 keyword: type
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid > -skeleton
 value: {"HAnimJoint":"|omitted|"}
 message: should be array
 params: {"type":"array"}
 file: HAnimModelHandRight.json
 version: 4.0

 keyword: oneOf
 dataPath: X3D > Scene > -children > 1 > HAnimHumanoid
 value:
{"@DEF":"Humanoid_Right_hand","@jointBindingPositions":"|omitted|","@jointBindingRotations":"|omitted|","@jointBindingScales":"|omitted|","@loa":-1,"@name":"Humanoid_Right_hand","@skeletalConfiguration":"BASIC","@version":"2.0","-skeleton":"|omitted|","-joints":"|omitted|","-segments":"|omitted|"}
 message: should match exactly one schema in "oneOf"
 params: {"passingSchemas":null}
 file: HAnimModelHandRight.json
 version: 4.0

Success reading HAnimModelsHandsFeet.json
================================================================================
File: KoreanCharacterAnnexC01Jin.json
Error reading KoreanCharacterAnnexC01Jin.json
 keyword: additionalProperties
 dataPath: X3D > Scene > -children > 2 > HAnimHumanoid
 value:
{"@DEF":"hanim_AnnexC01Jin","@info":"|omitted|","@name":"AnnexC01Jin","@scale":"|omitted|","@version":"2.0","-skeleton":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"@DEF"}
 file: KoreanCharacterAnnexC01Jin.json
 version: 4.0

 keyword: type
 dataPath: X3D > Scene > -children > 2 > HAnimHumanoid > -skeleton
 value: {"HAnimJoint":"|omitted|"}
 message: should be array
 params: {"type":"array"}
 file: KoreanCharacterAnnexC01Jin.json
 version: 4.0

 keyword: oneOf
 dataPath: X3D > Scene > -children > 2 > HAnimHumanoid
 value:
{"@DEF":"hanim_AnnexC01Jin","@info":"|omitted|","@name":"AnnexC01Jin","@scale":"|omitted|","@version":"2.0","-skeleton":"|omitted|"}
 message: should match exactly one schema in "oneOf"
 params: {"passingSchemas":null}
 file: KoreanCharacterAnnexC01Jin.json
 version: 4.0

================================================================================
File: KoreanCharacterAnnexD01Jin.json
Error reading KoreanCharacterAnnexD01Jin.json
 keyword: additionalProperties
 dataPath: X3D > Scene
 value: {"-children":"|omitted|","-skeleton":"|omitted|"}
 message: should not have additional properties
 params: {"additionalProperty":"-skeleton"}
 file: KoreanCharacterAnnexD01Jin.json
 version: 4.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200505/566c1b91/attachment.html>


More information about the x3d-public mailing list