[x3d-public] X3D JSON schema

John Carlson yottzumm at gmail.com
Thu Jan 27 21:10:41 PST 2022


Am happy to report the count of @descriptions in the X3D 4.0 JSON schema
matches the count of description fields in ConcreteNodes in X3DUOM.  I have
not done any spot checking.   As far as Abstract stuff, I'm not sure if
those descriptions are being copied over to the type accepted for fields
(the stuff with dashes leading (-X3D) and inside the defs name).
 Statements don't have description (yet).  If you can find an abstract
collection of fields that does not match the X3DUOM, I would be interested.

I've got a lot on my plate right now, JSON to Python, X3D JSON schema
rules, and C/C++/C#.   It looks like you're looking at JSON schema.  I'm
now making good success with JSON to Python (lists of tuples done). I'm
hoping that most of my woes are gone (yeah, right!)

John



On Thu, Jan 27, 2022 at 10:52 PM John Carlson <yottzumm at gmail.com> wrote:

> Thanks for the bug report, will investigate missing @descriptions.
> John
>
> On Thu, Jan 27, 2022 at 10:43 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> As long as description is a named field in X3DUOM, it should get carried
>> over.
>>
>> I copied the latest x3d.py from sourceforge.  I hope I didn’t grab too
>> fast.   I have changes for XML generation of field.value and
>> fieldValue.value, if you want to beat the bug report.
>>
>> John
>>
>> On Thu, Jan 27, 2022 at 7:45 PM Brutzman, Donald (Don) (CIV) <
>> brutzman at nps.edu> wrote:
>>
>>> Hi John.  Am happy to report that your latest passes validation in
>>> XMLSpy, also committed in Sourceforge.
>>>
>>>
>>>
>>> Suggestion for future versions: when ready, have autogeneration include "@description”
>>> fields throughout.
>>>
>>>
>>>
>>> all the best, Don
>>>
>>> --
>>>
>>> Don Brutzman  Naval Postgraduate School, Code USW/Br
>>> brutzman at nps.edu
>>>
>>> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA
>>> +1.831.656.2149
>>>
>>> X3D graphics, virtual worlds, Navy robotics https://
>>> faculty.nps.edu/brutzman
>>>
>>>
>>>
>>> *From:* x3d-public <x3d-public-bounces at web3d.org> *On Behalf Of *John
>>> Carlson
>>> *Sent:* Thursday, January 27, 2022 12:56 PM
>>> *To:* X3D Graphics public mailing list <x3d-public at web3d.org>
>>> *Subject:* [x3d-public] X3D JSON schema
>>>
>>>
>>>
>>> You may now grab new versions of X3D JSON schema:
>>>
>>>
>>>
>>> X3DJSONLD/x3d-4.0-JSONSchema.json at master · coderextreme/X3DJSONLD
>>> (github.com)
>>> <https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcoderextreme%2FX3DJSONLD%2Fblob%2Fmaster%2Fsrc%2Fmain%2Fschema%2Fx3d-4.0-JSONSchema.json&data=04%7C01%7Cbrutzman%40nps.edu%7C8d6f02b545e34e776f1b08d9e1d787df%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C637789138859483144%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=SITh9gTBAVp85czCxTyUTULzochcZmyLOSZYviMdmZQ%3D&reserved=0>
>>>
>>>
>>>
>>> (Includes Navigation.type update to JSON string instead of JSON array)
>>>
>>>
>>>
>>> Thanks for your support!
>>>
>>> John
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220127/36182c30/attachment.html>


More information about the x3d-public mailing list