# Template: Load to File
# Copy to your pipeline directory as load.yaml
#
# Supported formats: json, jsonl, csv, parquet
# Write modes: overwrite, append

title: load_file
description: Load data to local file
version: "1.0.0"

# Target type (required)
type: file

# File path
path: ./output/data.json
# Or use environment variable:
# path: ${OUTPUT_DIR:-./output}/data.json

# Output format: json, jsonl, csv, parquet
format: json

# Write mode: overwrite, append
write_mode: overwrite

# CSV-specific options (when format: csv)
# csv_options:
#   delimiter: ","
#   quotechar: '"'
#   include_header: true

# JSON-specific options (when format: json)
# json_options:
#   indent: 2
#   ensure_ascii: false
