JSON Schema and JSON/XML conversion?

Are you missing a feature? Request it's implementation here.
mhGLEIF
Posts: 40

JSON Schema and JSON/XML conversion?

Wed Mar 15, 2017 2:09 pm

Please could I request 2 new features?

[list=]
JSON Schema generation and validation (please see http://json-schema.org/);
JSON to XML and back with a more-or-less round-trippable convention e.g. Badgerfish (please see https://docs.tibco.com/pub/activematrix ... AB0FF.html for example)
[/list]
Radu
Posts: 5090

Re: JSON Schema and JSON/XML conversion?

Wed Mar 15, 2017 2:29 pm

Hi Michael,

Thanks for the requests, we already have internal issues for each of them and I will try to increase their priority.
We'll try to update this forum post when any of them is implemented.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
teo
Posts: 6

Re: JSON Schema and JSON/XML conversion?

Mon Oct 02, 2017 2:41 pm

Hi Michael,

We released Oxygen XML Editor 19.1 a couple of days ago and the feature you requested is now available.
You can find more details here: https://www.oxygenxml.com/doc/versions/ ... o-XML.html.

Regards,
Teo
Teodor Timplaru
<oXygen/> XML Editor
http://www.oxygenxml.com
tatra603
Posts: 72
Location: Prague, the Czech Republic, Europe

Re: JSON Schema and JSON/XML conversion?

Fri Oct 13, 2017 2:37 pm

And can I ask You about status of JSON Schema <-> XML Schema request from original post?

Or even JSON -> JSON Schema generation, JSON validation by JSon Schema and general JSON Schema functionality like XMl Schema? Yes, I know, oXygen is about XML, not JSON, but... ;-)
Radu
Posts: 5090

Re: JSON Schema and JSON/XML conversion?

Mon Oct 16, 2017 3:41 pm

Hi,

We have not yet made any progress in adding a JSON Schema-based validator. When we do, we'll try to also update this forum thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
lcahlander
Posts: 3

Re: JSON Schema and JSON/XML conversion?

Thu Nov 16, 2017 6:36 pm

I have been working on JSON schemas for a while now. I have found the following:
  • Viewers
    • Json-schema-viewer http://jlblcc.github.io/json-schema-viewer/ is an excellent viewer. I am planning on making some updates.
      • It is incomplete. e.g. It does not handle patternProperties. I have added that to my copy of the code.
      • The validator is tv4 and has not been maintained for a while. I am looking into incorporating ajv.
      • Uses d3.js version 3. I am planning on updating to version 4 and incorporating d3-flextree-v4 to improve the look
      • Planning on creating a Polymer wrapper around the viewer
  • Validators
    • ajv appears to be the best maintained
  • Convert XSDs to JSON Schemas
    • I found xsd2json and xsd2json2. I have problems with what is generated, when I get them to work.
    • I am planning on writing an XQuery 3.1 script to perform the transform. It will be in GitHub's Gist.
lcahlander
Posts: 3

Re: JSON Schema and JSON/XML conversion?

Thu Nov 16, 2017 7:06 pm

tatra603 wrote:Or even JSON -> JSON Schema generation


There is a JSON Documents to JSON Schema generator called GenSON https://github.com/wolverdude/GenSON that does a decent start of a JSON Schema. The schema does need editing after the generation, but provides a good start.

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 0 guests