{
  "skipTransform": false,
  "transformations": {
    "mappings": [
      {
        "source": "$.spec.endpoint",
        "target": "$.invoke.endpoint"
      },
      {
        "source": "$.spec.cache",
        "target": "$.invoke.cache"
      }
    ],
    "replacements": [
      {
        "target": "$.invoke.inputMessage",
        "value": "{{$.spec.input}}",
        "precedence": 20,
        "condition": "$.spec.input",
        "operation": "replace"
      },
      {
        "target": "$.invoke.outputMessage",
        "value": "{{$.spec.output}}",
        "precedence": 20,
        "condition": "$.spec.output",
        "operation": "replace"
      }
    ]
  }
}