[x3d-public] X3D JSON Schema Updates

John Carlson yottzumm at gmail.com
Sun Apr 15 02:10:12 PDT 2018


I may need to include SimpleType in the schema autogenerator.  Let me know.  I currently check to see if allowAdditionalEnumerationValues is set and if it isn’t, I spit out an enum from the field’s enumeration tag.  Actually, I missed one place.  So here’s the 3.3 (5.1) schema (autogenerated, jsonlinted) with the patches.  Attached, gzipped.  You won’t approve this one, but it will probably ultimately be the way we go, unless we can do a oneOf and/or additionalItems on enums (Roy? Got a pattern that works?).  Original is here for now, until a new version is approved: https://raw.githubusercontent.com/coderextreme/X3DJSONLD/master/src/main/schema/x3d-5.1-JSONSchema.json


With this schema, we no longer have to add font families to the schema.

Also review naming scheme for things with |’s.  I didn’t quite know what to do to autogenerate them.

I really would like to work with someone to polish up the autogenerated schema (make sure both the hand generated and autogenerated schemas reject and accept the same files—or know why they don’t), so we can release it.  We need people with an eye for detail, who can spot bugs in detailed error reports and JSON files (with some guidance), and can pick up JSON schema fast.  I will see if I can find or pay someone to do it.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180415/edec5b31/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x3d-5.1-JSONSchema.json.patch.gz
Type: application/x-gzip
Size: 2534 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180415/edec5b31/attachment-0002.tgz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x3d-5.1-JSONSchema.json.gz
Type: application/x-gzip
Size: 34247 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180415/edec5b31/attachment-0003.tgz>


More information about the x3d-public mailing list