Creating an XML Schema from a JSON Payload
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
.
- Enter a name for the schema file and paste the JSON payload into the
JSON Sample text box and click
Next.
You can 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 ).
- Save the project.