Propagate a Schema Backward
The project, PE_Backward_Schema_Propagation_Contacts, demonstrates the schema that suggests a feature of the Pipeline Execute Snap. It contains the following files:
-
PE_Backward_Schema_Propagation_Contacts_Parent
-
PE_Backward_Schema_Propagation_Contacts_Child
-
contact.schema (Schema file)
-
test.json (Output file)
The parent pipeline is shown below:


The child pipeline is as shown below:


The Pipeline Execute Snap is configured as:
The following schema is provided in the JSON
Formatter Snap. It has three properties -
$firsName, $lastName, and $age. This schema is back propagated to the
parent pipeline.


The parent Pipeline must be validated in order for the child Pipeline's schema to be
back-propagated to the parent Pipeline. Below is the Mapper Snap in the parent pipeline:


Notice that the Target Schema section shows the three properties of the schema in
the child pipeline:



On execution, the data passed in the Mapper Snap will be written into the test.json file in the child Pipeline.
Note:
To reuse the example project ZIP files:
- Download and import the project ZIP file into your Environment.
- Open each SLP file from the project in the Designer.
- Configure Snap accounts.
- Provide Pipeline parameters, if any.