Creating XML Schema From a JSON Payload
TIBCO Business Studio provides a utility to generate an XML schema from a JSON payload.
- 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
You should see a message saying that the JSON payload parsed successfully.
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.