{
  "tool_id": "resting_heart_rate",
  "slug": "resting-heart-rate-calculator",
  "path": "/resting-heart-rate-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/resting-heart-rate-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/resting-heart-rate-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/resting-heart-rate-calculator/",
  "sample_input": {
    "tool": "resting_heart_rate",
    "rhr": 62,
    "age": 35,
    "sex": "male"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "rhr": {
        "type": "number"
      },
      "age": {
        "type": "number"
      },
      "sex": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "rhr",
      "age",
      "sex"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "classification": {
        "type": "string"
      },
      "cardioAge": {
        "type": "number"
      },
      "targetRHR": {
        "type": "number"
      },
      "rhrReduction": {
        "type": "number"
      },
      "cardioAgeLabel": {
        "type": "string"
      },
      "fitnessMessage": {
        "type": "string"
      }
    }
  }
}
