1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
version: 1 input: format: json json: {} mappings: - target: "id" source: "id" - target: "name" source: "name" when: { ref: "input.active" } - target: "tag" value: "active" when: true - target: "note" value: "ignored" when: false