TIBCO Business Studio for BusinessWorks provides a utility to generate an XML schema from a JSON payload.
To generate an XML schema from a JSON payload, do the following:
Procedure
Right-click on the
Schemas folder in your project and select
New > XML Schema File from JSON Payload.
Enter a name for the schema file and paste the JSON payload into the
JSON Sample text box and click
Next.
You should see a message saying that the JSON payload parsed successfully.
Click
Finish.
A
.xsd file with the name that you provided gets created under the
Schemas folder. You can view its contents by opening it in the XML Schema Editor (right-click the schema file and select
Open With > XML Schema Editor).