Transformations > Hierarchy Parser Transformation > Sample or Schema
  

Sample or Schema

When you create a standalone hierarchical schema, you import a JSON sample file or .xsd file as the basis of the schema. Alternatively, you can create a hierarchical schema from within the transformation using an XML or JSON sample file.
It is recommended to use a schema if available. If you use a sample, ensure that it is representative of the data that you expect to process with the transformation and that it is comprehensive. Ensure that the sample contains all the possible fields that the transformation might process, including permutations regarding values and types. The lengths of fields must be representative.