Creating 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

  1. Right-click on the Schemas folder in your project and select New > XML Schema File from JSON Payload.

  2. 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.
  3. 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).
  4. Save the project.