Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Creating JSON Schemas from a JSON Sample

You can use the Import JSON Schema wizard to import and save various formats of JSON schema definitions.

Procedure
1. Select Import > Import JSON Schema from a REST services project.
2. You can choose to do one of the following:
   Import from JSON Schema: you can import an existing JSON schema.
   Import from JSON Sample: this allows you to import a sample of JSON data, and TIBCO Business Studio - BPM Edition creates a schema that describes the data structure.
   Paste from JSON Sample: this allows you to paste a sample of JSON text directly into the wizard and TIBCO Business Studio - BPM Edition creates a schema that describes the data structure.

3. You can now view and edit the JSON schema you imported or pasted in the JSON schema editor.

   Note: If you import a sample that is an array, then you need to import it as a single instance type and specify that it is an array on a specific method call in the REST Service Descriptor file. See Creating JSON Schemas.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.