{
  "tool_id": "heart_rate_zone_calculator",
  "slug": "heart-rate-zone-calculator",
  "path": "/heart-rate-zone-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/heart-rate-zone-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/heart-rate-zone-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/heart-rate-zone-calculator/",
  "sample_input": {
    "tool": "heart_rate_zone_calculator",
    "age": 30,
    "resting_hr": 60
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "age": {
        "type": "number"
      },
      "resting_hr": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "age",
      "resting_hr"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "maxHr": {
        "type": "number"
      },
      "hrr": {
        "type": "number"
      },
      "zones": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "zone": {
              "type": "string"
            },
            "lowBpm": {
              "type": "number"
            },
            "highBpm": {
              "type": "number"
            }
          }
        }
      }
    }
  }
}
