[x3d-public] A new day, probably no differences from yesterday! -- Autogenerated JSON validation

John Carlson yottzumm at gmail.com
Fri Apr 2 12:52:57 PDT 2021


Autogenerated X3D JSON schemas (All X3D JSON schemas have been validated 
by Everit).

The Savage files need the first meta changed. @key replaced with 
@content, or we should change the X3DUOM and schemas to support @key.

/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json 
needs someone other than me to look at it.

$ grep Ajv results.txt |grep -v development|grep -v 
RigidBodyPhysics|grep -v originals

[ no output ]

So we must figure out why auto-generated schema and Ajv do not find 
items below.  Note that Ajv only makes a report when auto and hand 
generated schemas either don't both validate or invalidate. That would 
be my best guess.

$ grep -vi originals javaresults.txt |grep -v Xvl|grep -v 
json-parse|grep -v RigidBodyPhysics|grep -v development
json-schema 3.1 Validation error 
org.everit.json.schema.InternalValidationException: 
#/X3D/Scene/-children/3/CADAssembly: #: 0 subschemas matched instead of 
one 
/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeB.json
json-schema 3.1 Validation error 
org.everit.json.schema.InternalValidationException: 
#/X3D/Scene/-children/3/CADAssembly: #: 0 subschemas matched instead of 
one 
/c/x3d-code/www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildTransformationAlternativeC.json
json-schema 4.0 Validation error 
org.everit.json.schema.InternalValidationException: 
#/X3D/Scene/-children/1/Shape: #: 0 subschemas matched instead of one 
/c/x3d-code/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
required key [@content] not found 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON9/COMDESRON9.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
extraneous key [@key] is not permitted 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON9/COMDESRON9.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
required key [@content] not found 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON31/COMDESRON31.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
extraneous key [@key] is not permitted 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON31/COMDESRON31.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
required key [@content] not found 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON31/DESRON31Test.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
extraneous key [@key] is not permitted 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/COMDESRON31/DESRON31Test.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
required key [@content] not found 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/CSG11/CSG11.json
json-schema 3.0 Validation error 
org.everit.json.schema.InternalValidationException: #/X3D/head/meta/0: 
extraneous key [@key] is not permitted 
/c/x3d-code/www.web3d.org/x3d/content/examples/Savage/ModelDetailing/MilitaryCrestsAndSeals/CSG11/CSG11.json


Next report will be on hand generated




More information about the x3d-public mailing list