{
  "tool_id": "run_training_paces_calculator",
  "slug": "run-training-paces-calculator",
  "path": "/run-training-paces-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/run-training-paces-calculator/?<params>",
  "sample_input": {
    "tool": "run_training_paces_calculator",
    "distance": "5k",
    "race_time_minutes": 25,
    "race_time_seconds": 0
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": { "type": "string" },
      "distance": {
        "type": "string",
        "enum": ["1500m", "1mile", "5k", "10k", "half", "marathon"],
        "description": "Race distance used for the input performance"
      },
      "race_time_minutes": {
        "type": "number",
        "description": "Finish time minutes component"
      },
      "race_time_seconds": {
        "type": "number",
        "description": "Finish time seconds component (0-59)"
      }
    },
    "required": ["distance", "race_time_minutes", "race_time_seconds"]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "vdot": {
        "type": "number",
        "description": "Effective aerobic fitness index (Daniels VDOT)"
      },
      "inputRaceDistanceMeters": { "type": "number" },
      "inputRaceTimeSeconds": { "type": "number" },
      "inputPacePerKmSeconds": { "type": "number" },
      "zones": {
        "type": "array",
        "description": "Training pace zones (E, M, T, I, R)",
        "items": {
          "type": "object",
          "properties": {
            "zone": { "type": "string" },
            "label": { "type": "string" },
            "description": { "type": "string" },
            "pacePerKmSeconds": { "type": "number" },
            "pacePerMileSeconds": { "type": "number" },
            "effortPercent": { "type": "number" }
          }
        }
      },
      "equivalentRaceTimes": {
        "type": "array",
        "description": "Predicted race times at equivalent fitness for standard distances",
        "items": {
          "type": "object",
          "properties": {
            "distance": { "type": "string" },
            "distanceMeters": { "type": "number" },
            "predictedSeconds": { "type": "number" }
          }
        }
      }
    }
  }
}
