Note: If you already have generated or added a schema, the schema that is built will replace the existing schema.
- With the Schema and Transformation Builder open, Click Add.
- Select the option from the drop down list.
- Click in the text area.
-
Enter the sample content that represents the content you want to parse. For example, you might have the following sample JSON:
{"region":"name", "city": "name"}
. To make sure the generated schema is complete, make sure your sample input contains all the elements in the schema. - Click Build Schema. The transformation is automatically generated using the default parsing options.
- Click OK to close the Edit Transformations Window
- Click Accept Changes.
If you use the generator to build your schema, the first field in the schema will always be a Struct with no Source Name given.