[x3d-public] patch to JSON schemas
yottzumm at gmail.com
Mon May 27 08:21:46 PDT 2019
I will leave the definitions as they currently are. Things seem to be working. Just be aware that the x3d-code/specifications folder may have out of date schemas.
Sent from Mail for Windows 10
From: Brutzman, Donald (Don) (CIV)
Sent: Monday, May 27, 2019 10:09 AM
To: John Carlson
Cc: X3D Graphics public mailing list
Subject: Re: [x3d-public] patch to JSON schemas
John, we need JSON Schema to stabilize in order to take full advantage of its expected expressive power. This is not an invention task - we already have acceptableNodeTypes defined and implemented in XML DTD, XML Schema, X3DUOM and X3DJSAIL. Also documented in X3D Tooltips and all matching X3D Architecture Specification.
So acceptableNodeTypes might work as a annotation/decoration in JSON Schema, or there might be an appropriate first-class expression for it using eventual constructs in JSON Schema. This is a common data-structure design requirement.
We know we can do it, having accomplished this multiple times already. No need to keep re-doing it and muddying waters further until they are ready.
Recommend that we wait, and defer significant effort on that task until they get to draft-08 at least, keeping in mind that they are still designing. Extra benefit to waiting: if we find shortfalls in what they think is their final version, we can have a positive influence on that effort to the benefit of X3D.
On 5/26/2019 11:09 PM, John Carlson wrote:
> Yeah, we’ll have to otherwise choose something besides the contents of acceptableNodeTypes to make it acceptable to definitions in JSON schema. We probably want to make it at least somewhat understandable. Suggestions are welcome. I believe Roy did a good job selecting names. Perhaps we could create a mapping from definitions to Roy’s strings?
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 http://faculty.nps.edu/brutzman
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the x3d-public