{
  "name": "Body BMI Calculator API",
  "version": "1.0.0",
  "description": "Machine-readable clinical BMI reference limits, adult classifications, risk mappings, and pediatric CDC LMS percentiles.",
  "author": "Premium Wellness Clinic",
  "license": "CC-BY-4.0",
  "wikidata": {
    "bodyMassIndex": "https://www.wikidata.org/wiki/Q11145",
    "cdc": "https://www.wikidata.org/wiki/Q308599",
    "who": "https://www.wikidata.org/wiki/Q7817"
  },
  "formulas": {
    "metric": {
      "expression": "weight_kg / (height_m * height_m)",
      "description": "Weight in kilograms divided by the square of height in meters."
    },
    "imperial": {
      "expression": "(weight_lbs / (height_in * height_in)) * 703",
      "description": "Weight in pounds divided by the square of height in inches, multiplied by a conversion factor of 703."
    }
  },
  "adultClassifications": [
    {
      "range": "< 18.5",
      "status": "Underweight",
      "level": 1,
      "riskLevel": "Moderate Concern",
      "colorHex": "#3b82f6",
      "description": "Your weight is currently below the average range for your height. Let’s focus on gently nourishing your body."
    },
    {
      "range": "18.5 - 24.9",
      "status": "Healthy Weight",
      "level": 2,
      "riskLevel": "Low Risk",
      "colorHex": "#10b981",
      "description": "Fantastic! You are currently in a wonderfully balanced weight range. Your body is doing amazing."
    },
    {
      "range": "25.0 - 29.9",
      "status": "Overweight",
      "level": 3,
      "riskLevel": "Increased Risk",
      "colorHex": "#f59e0b",
      "description": "Your weight is slightly above average. Taking positive, sustainable steps is a beautiful way to support your daily energy."
    },
    {
      "range": "30.0 - 34.9",
      "status": "Obesity Class 1",
      "level": 4,
      "riskLevel": "High Health Risk",
      "colorHex": "#ef4444",
      "description": "Your body is carrying some extra weight. Embracing positive, caring lifestyle changes is the perfect start for your health journey."
    },
    {
      "range": "35.0 - 39.9",
      "status": "Obesity Class 2",
      "level": 5,
      "riskLevel": "Severe Health Risk",
      "colorHex": "#ef4444",
      "description": "Your current weight indicates an extra load on your system. Choosing gentle, supportive habits will help you regain light, active energy."
    },
    {
      "range": ">= 40.0",
      "status": "Obesity Class 3",
      "level": 6,
      "riskLevel": "Extreme Health Risk",
      "colorHex": "#ef4444",
      "description": "Your current weight indicates a significant load on your body. Embracing a kind, highly supportive approach is essential right now."
    }
  ],
  "pediatricPercentileClassifications": [
    {
      "range": "< 5th percentile",
      "status": "Underweight",
      "description": "Your growth is currently a bit below the average range. Let’s support your growing body with extra high-quality energy."
    },
    {
      "range": "5th to < 85th percentile",
      "status": "Healthy Weight",
      "description": "Wonderful! You are growing perfectly in the healthy range. Keep up the amazing and happy physical energy."
    },
    {
      "range": "85th to < 95th percentile",
      "status": "Overweight",
      "description": "Your growth is slightly above average. Simple daily active adjustments are a wonderful way to support your natural vitality."
    },
    {
      "range": ">= 95th percentile",
      "status": "Obesity",
      "description": "Your body is carrying some extra weight. Joining a fun, family-guided wellness path is a wonderful way to build lifelong strength."
    }
  ],
  "cdcLmsTables": {
    "male": {
      "60": { "L": -0.601, "M": 15.2, "S": 0.082 },
      "72": { "L": -0.803, "M": 15.3, "S": 0.090 },
      "84": { "L": -1.042, "M": 15.5, "S": 0.100 },
      "96": { "L": -1.334, "M": 15.8, "S": 0.111 },
      "108": { "L": -1.650, "M": 16.3, "S": 0.123 },
      "120": { "L": -1.972, "M": 16.8, "S": 0.134 },
      "132": { "L": -2.250, "M": 17.5, "S": 0.144 },
      "144": { "L": -2.463, "M": 18.2, "S": 0.150 },
      "156": { "L": -2.604, "M": 19.1, "S": 0.154 },
      "168": { "L": -2.685, "M": 20.0, "S": 0.156 },
      "180": { "L": -2.715, "M": 20.8, "S": 0.155 },
      "192": { "L": -2.709, "M": 21.6, "S": 0.154 },
      "204": { "L": -2.678, "M": 22.2, "S": 0.152 },
      "216": { "L": -2.628, "M": 22.8, "S": 0.149 },
      "228": { "L": -2.571, "M": 23.3, "S": 0.147 }
    },
    "female": {
      "60": { "L": -0.404, "M": 15.0, "S": 0.088 },
      "72": { "L": -0.569, "M": 15.1, "S": 0.098 },
      "84": { "L": -0.771, "M": 15.4, "S": 0.110 },
      "96": { "L": -0.999, "M": 15.8, "S": 0.122 },
      "108": { "L": -1.238, "M": 16.3, "S": 0.134 },
      "120": { "L": -1.472, "M": 17.0, "S": 0.144 },
      "132": { "L": -1.688, "M": 17.7, "S": 0.152 },
      "144": { "L": -1.875, "M": 18.6, "S": 0.157 },
      "156": { "L": -2.025, "M": 19.4, "S": 0.160 },
      "168": { "L": -2.138, "M": 20.1, "S": 0.161 },
      "180": { "L": -2.215, "M": 20.8, "S": 0.160 },
      "192": { "L": -2.259, "M": 21.3, "S": 0.159 },
      "204": { "L": -2.282, "M": 21.7, "S": 0.157 },
      "216": { "L": -2.289, "M": 22.1, "S": 0.156 },
      "228": { "L": -2.285, "M": 22.4, "S": 0.155 }
    }
  }
}
