{
  "tool_id": "marathon_pace_elevation",
  "slug": "marathon-pace-elevation",
  "path": "/marathon-pace-elevation/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/marathon-pace-elevation/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/marathon-pace-elevation.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/marathon-pace-elevation/",
  "sample_input": {
    "tool": "marathon_pace_elevation",
    "target_distance_km": 42.195,
    "target_time_minutes": 240,
    "total_elevation_gain_m": 200,
    "total_elevation_loss_m": 200
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "target_distance_km": {
        "type": "number"
      },
      "target_time_minutes": {
        "type": "number"
      },
      "total_elevation_gain_m": {
        "type": "number"
      },
      "total_elevation_loss_m": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "target_distance_km",
      "target_time_minutes",
      "total_elevation_gain_m",
      "total_elevation_loss_m"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "averagePaceLabel": {
        "type": "string"
      },
      "flatEquivalentPaceLabel": {
        "type": "string"
      },
      "averagePaceSecondsPerKm": {
        "type": "number"
      },
      "flatEquivalentPaceSecondsPerKm": {
        "type": "number"
      },
      "netElevationCorrectionSeconds": {
        "type": "number"
      },
      "difficulty": {
        "type": "string"
      },
      "segments": {
        "type": "array"
      }
    }
  }
}
