{
  "version": 1,
  "input": "monthly_orders_previous.csv",
  "input_options": {
    "column_types": {"order_id": "text", "customer_id": "text", "amount": "decimal"}
  },
  "steps": [
    {"op": "deduplicate", "keys": ["order_id"], "method": "reviewed", "decisions": []},
    {
      "op": "join",
      "binding": "customers",
      "source": "monthly_customers.xlsx",
      "selection": "Customers",
      "input_options": {"column_types": {"customer_key": "text"}},
      "how": "left",
      "keys": ["customer_id"],
      "right_keys": ["customer_key"]
    }
  ],
  "rules": [
    {"type": "required", "column": "order_id"},
    {"type": "unique", "column": "order_id"},
    {"type": "required", "column": "customer_name"},
    {"type": "range", "column": "amount", "min": "0.00"}
  ],
  "weights": {"business_rules": 2},
  "minimum_score": 100,
  "profile": false
}
