Skip to content

How to generate a json schema with the same specifications using a json payload? #65

Closed
@tikaa

Description

@tikaa

Hello,

I need to generate json schema from a json payload/ XML payload and XSD. I could observe with this library I can cover both XML and XSD as follows

XSD _-> directly use the library
XML -> convert to XSD using JAXB -> Use this library to generate JSON schema from XSD

I used some other online tools to generate json schema from json payload, but the schema specification is different. How can I use this library to generate the json schema for a json payload I have with me?

One option is the generate the XML payload for a json using org.json and then generate the corresponding XSD then convert it to json schema which is a tedious approach.

Regards
Awanthika

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions