[x3d-public] Upgrade X3D JSON schema, validators to draft 06 JSON schema spec. patches and bugs for old schema

John Carlson yottzumm at gmail.com
Sat Feb 24 18:59:40 PST 2018


Can we upgrade X3D JSON schema to draft 06, even though the JSON schema spec currently stands at draft 07?  There is Java and JavaScript software available for draft 06, but not draft 07. .NET supports draft 07.  I am not sure what’s available for Macs, but we could support a draft04 schema and a draft06 schema.  Draft06 will allow for us to better support partial URIs.

I don’t care if it’s done by hand or autogenerated, or some of both.

Attached is the patch which will take a 3.3 draft 04 schema to draft 06. YMMV based on the below.

Plus here is still unpatched JSON schema bugs:

$ diff /c/x3d-code/www.web3d.org/specifications/x3d-3.3-JSONSchema.json x3d-3.3-JSONSchema.json.backup
5605c5605
<               "IndexedTrangleSet": {
---
>               "IndexedTriangleSet": {
16088c16088
<                                               "$ref": "#/definitions/IndexedTrangleSet"
---
>                                               "$ref": "#/definitions/IndexedTriangleSet"
17611c17611
<                                       "$ref": "#/definitions/IndexedTrangleSet"
---
>                                       "$ref": "#/definitions/IndexedTriangleSet"
18684c18684
< }
\ No newline at end of file

Please do not ignore upgrading support for X3D JSON to a recent standard.

Thanks,

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180224/b874bee8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schema.patch
Type: application/octet-stream
Size: 8557 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180224/b874bee8/attachment.obj>


More information about the x3d-public mailing list