{
  "tool_id": "cycling_power_ftp_zone_calculator",
  "slug": "cycling-power-ftp-zone-calculator",
  "path": "/cycling-power-ftp-zone-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/cycling-power-ftp-zone-calculator/?<params>",
  "sample_input": {
    "tool": "cycling_power_ftp_zone_calculator",
    "ftp": 250,
    "weight_kg": 75
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "ftp": {
        "type": "number"
      },
      "test_power_20_min": {
        "type": "number"
      },
      "weight_kg": {
        "type": "number"
      }
    },
    "required": [
      "weight_kg"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "ftp": {
        "type": "number",
        "description": "Functional Threshold Power in watts"
      },
      "wPerKg": {
        "type": "number",
        "description": "Watts per kilogram of body weight"
      },
      "wPerKgCategory": {
        "type": "string",
        "description": "W/kg fitness category label"
      },
      "zones": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "zone": {
              "type": "number"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "minWatts": {
              "type": "number"
            },
            "maxWatts": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}
