JSON Schema and JSON/XML conversion?
Are you missing a feature? Request its implementation here.
-
- Posts: 43
- Joined: Tue Jul 26, 2016 6:31 pm
JSON Schema and JSON/XML conversion?
Please could I request 2 new features?
- 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)
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON Schema and JSON/XML conversion?
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 81
- Joined: Wed Aug 30, 2017 3:56 pm
Re: JSON Schema and JSON/XML conversion?
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 83
- Joined: Fri Sep 17, 2004 10:53 am
- Location: Prague, the Czech Republic, Europe
Re: JSON Schema and JSON/XML conversion?
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...
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...

-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON Schema and JSON/XML conversion?
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Tue Nov 03, 2009 6:31 pm
Re: JSON Schema and JSON/XML conversion?
Post by lcahlander »
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
- Json-schema-viewer http://jlblcc.github.io/json-schema-viewer/ is an excellent viewer. I am planning on making some updates.
- 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.
-
- Posts: 4
- Joined: Tue Nov 03, 2009 6:31 pm
Re: JSON Schema and JSON/XML conversion?
Post by lcahlander »
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.tatra603 wrote:Or even JSON -> JSON Schema generation
-
- Posts: 4
- Joined: Tue Nov 03, 2009 6:31 pm
Re: JSON Schema and JSON/XML conversion?
Post by lcahlander »
I have the beginnings of an XML Schema to JSON Schema converter. It is in my GIST. Please supply me with comments and suggestions so that it can be better.
https://gist.github.com/lcahlander/0eec ... 5f775bd4f2
https://gist.github.com/lcahlander/0eec ... 5f775bd4f2
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: JSON Schema and JSON/XML conversion?
Hi,
I left a comment for you on the opened issue.
The Oxygen forum is quite static, most registered users follow only the threads they started, if you want feedback from more Oxygen users you may want to consider registering on the Oxygen Users List and asking there:
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
Regards,
Radu
I left a comment for you on the opened issue.
The Oxygen forum is quite static, most registered users follow only the threads they started, if you want feedback from more Oxygen users you may want to consider registering on the Oxygen Users List and asking there:
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: JSON Schema and JSON/XML conversion?
Hello,
We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents:
- Validate JSON documents against JSON Schema
- Validate JSON Schema according to the specification
- Batch validate JSON documents
- New document templates to create JSON schemas
- Navigate references in JSON documents
- JSON format and indent improvements
https://www.oxygenxml.com/xml_editor/wh ... l#20.1JSON
Best Regards,
Octavian
We just released version 20.1 of oXygen XML Editor that includes new editing features and validation support for JSON documents:
- Validate JSON documents against JSON Schema
- Validate JSON Schema according to the specification
- Batch validate JSON documents
- New document templates to create JSON schemas
- Navigate references in JSON documents
- JSON format and indent improvements
https://www.oxygenxml.com/xml_editor/wh ... l#20.1JSON
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service