{
  "tool_id": "treadmill_pace_converter",
  "slug": "treadmill-pace-converter",
  "path": "/treadmill-pace-converter/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/treadmill-pace-converter/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/treadmill-pace-converter.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/treadmill-pace-converter/",
  "sample_input": {
    "tool": "treadmill_pace_converter",
    "speed_kph": 10,
    "incline_pct": 1,
    "weight_kg": 75,
    "duration_minutes": 30
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "speed_kph": {
        "type": "number"
      },
      "incline_pct": {
        "type": "number"
      },
      "weight_kg": {
        "type": "number"
      },
      "duration_minutes": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "speed_kph",
      "incline_pct",
      "weight_kg"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "speedKph": {
        "type": "number"
      },
      "speedMph": {
        "type": "number"
      },
      "paceMinPerKm": {
        "type": "number"
      },
      "paceMinPerMile": {
        "type": "number"
      },
      "adjustedPaceMinPerKm": {
        "type": "number",
        "description": "Incline-adjusted equivalent flat pace per km"
      },
      "adjustedPaceMinPerMile": {
        "type": "number"
      },
      "adjustedSpeedKph": {
        "type": "number"
      },
      "caloriesPerHour": {
        "type": "number"
      },
      "caloriesTotal": {
        "type": [
          "number",
          "null"
        ]
      },
      "durationMinutes": {
        "type": [
          "number",
          "null"
        ]
      },
      "distanceKm": {
        "type": [
          "number",
          "null"
        ]
      },
      "projectedRaces": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "distanceKm": {
              "type": "number"
            },
            "timeMinutes": {
              "type": "number"
            }
          }
        }
      }
    }
  }
}
