Re: [xml-dev] (1) Oxygen now supports JSON Schema (2) Can auto-convert XML Schema to JSON Schema

From
Ihe Onwuka <>
To
"Costello, Roger L." <>
Date
2018-07-06T16:52:31Z
ID
<>
Thread
Re: [xml-dev] (1) Oxygen now supports JSON Schema (2) Can auto-convert XML Schema to JSON Schema


On Fri, Jul 6, 2018 at 10:33 AM, Ihe Onwuka <[email protected]> wrote:

On Fri, Jul 6, 2018 at 9:55 AM, Costello, Roger L. <[email protected]> wrote:
Hi Folks,

I just noticed that the latest version of Oxygen (version 20.1) supports JSON Schema. And it can validate a JSON instance against a JSON Schema.

https://www.oxygenxml.com/forum/topic14254.html#p47927


Good
 
I also just discovered an XQuery library module that transforms an XML Schema to a JSON Schema equivalent:

https://gist.github.com/lcahlander/0eecf499dfe307d7aecbb15f775bd4f2


Here we go again with the false equivalence fallacy. What does it transform Complex types to. How does it coerce xsd types that have exist in JSON. What does it do with namespaces (JSON-LD is not JSON).

Of course that should read "that don't exist in JSON".