Locate keywords
Locate keywords run first. They select the value the rest of the pipeline works on.
source
Section titled “source”Core. Reads from the current source scope, and scopes descendant descriptors to what it read.
/name: { source: /user/name }{ "user": { "name": "Ada" } }writes "Ada" to /name.
target
Section titled “target”Core. Reads what earlier pairings wrote at the current nesting level.
/id: { constant: 7 }/copy: { target: /id }produces { "id": 7, "copy": 7 }.
Core. Reads from the root input, regardless of scope. Use it to escape a nested scope:
/out: source: /nested mapping: /fromScope: /val /fromRoot: { input: /rootVal }{ "rootVal": "R", "nested": { "val": "V" } }produces { "out": { "fromScope": "V", "fromRoot": "R" } }.
output
Section titled “output”Core. Reads from the root output produced so far. Later pairings see earlier writes:
/a: { constant: 1 }/b: { output: /a }produces { "a": 1, "b": 1 }.