A hierarchical schema is based on a schema file or sample file that you import to Data Integration. If you import a sample file, Data Integration generates a schema based on the structure of the sample file. The schema defines the expected hierarchy of the input data.
You can use a hierarchical schema in a Hierarchy Builder transformation or a Hierarchy Parser transformation in two ways. You can create a standalone hierarchical schema that can be associated with any transformation that you choose. Alternatively, you can create a hierarchical schema from within a specific transformation.
When you create a standalone hierarchical schema, you import a JSON sample file, XML sample file, or an XSD file as the basis of the schema.
You can associate the hierarchical schema with any transformation, whether you create it as a standalone hierarchical schema or as part of a specific transformation.
You can create, edit, or delete a hierarchical schema. You can edit a hierarchical schema and change the root or change the schema definition. However if you have used the hierarchical schema in a transformation, you cannot edit or delete it. Before you delete a hierarchical schema, verify that you did not use it in a transformation. You can also update an existing XSD schema file or an XML sample file to reflect new or updated changes in the files. You can download an existing hierarchical schema asset created from an XML or XSD file so that you can review, reuse, or share the file.