Mapping Child Elements within a Nested Array Scope

A child element in the input array can be directly mapped to a child element of the same data type within the array scope. Since mapping is done within the nested array scope, you do not need to explicitly state the scoping variable for the nested array scope. The mapping appears as $loop.<element>.

To map a nested array child element, follow these steps:

Procedure

  1. Map the parent of the nested array.
  2. Map the nested array itself.
  3. Map the nested array child elements if the names are not identical or if you do not want to map all elements in the nested array.

    In the following example, since street is within the scope of address1, street1 is directly mapped to street. $loop in the following example implicitly points to address which is the scope for address1 in the input schema.