{
  "tool_id": "race_week_taper",
  "slug": "race-week-taper",
  "path": "/race-week-taper/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/race-week-taper/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/race-week-taper.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/race-week-taper/",
  "sample_input": {
    "tool": "race_week_taper",
    "peak_volume": 80,
    "peak_intensity": 3,
    "taper_start_weeks_before": 2,
    "race_distance": "marathon"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "peak_volume": {
        "type": "number"
      },
      "peak_intensity": {
        "type": "number"
      },
      "taper_start_weeks_before": {
        "type": "number"
      },
      "race_distance": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "peak_volume",
      "peak_intensity",
      "taper_start_weeks_before",
      "race_distance"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "optimalVolumeCutPct": {
        "type": "number"
      },
      "intensityRetentionPct": {
        "type": "number"
      },
      "frequencyReductionPct": {
        "type": "number"
      },
      "raceDistance": {
        "type": "string"
      },
      "taperStartWeeksBefore": {
        "type": "number"
      },
      "weeklyPlan": {
        "type": "array"
      }
    }
  }
}
