[x3d-public] patch to JSON schemas
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Mon May 27 08:09:23 PDT 2019
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
More information about the x3d-public