{
  "schemaVersion": 1,
  "version": "longevitymate-category-rules.2026-10-07",
  "method": "Rounded mean of available category scores; equal category contributions. Missing categories excluded.",
  "weightBasis": "LongevityMate scoring choices; published biomarker research does not validate numerical weights.",
  "categories": {
    "Heart & Circulation": {
      "must_haves": [
        "LDL",
        "HDL",
        "TG"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "LDL"
          },
          {
            "type": "biomarker",
            "biomarker": "HDL"
          },
          {
            "type": "biomarker",
            "biomarker": "TG"
          }
        ]
      },
      "biomarkers": {
        "LDL": {
          "role": "must",
          "weight": 20
        },
        "HDL": {
          "role": "must",
          "weight": 15
        },
        "TG": {
          "role": "must",
          "weight": 15
        },
        "ApoB": {
          "role": "support",
          "weight": 25
        },
        "Lp(a)": {
          "role": "support",
          "weight": 15
        },
        "TC": {
          "role": "support",
          "weight": 5
        },
        "ApoB/A1": {
          "role": "support",
          "weight": 3
        },
        "hsTnT": {
          "role": "support",
          "weight": 1
        },
        "NTpBNP": {
          "role": "support",
          "weight": 1
        }
      }
    },
    "Liver & Kidney Health": {
      "must_haves": [
        "eGFR",
        "Creat",
        "ALT",
        "AST",
        "Alb"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "any",
            "count": 1,
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "eGFR"
              },
              {
                "type": "biomarker",
                "biomarker": "Creat"
              }
            ]
          },
          {
            "type": "any",
            "count": 2,
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "ALT"
              },
              {
                "type": "biomarker",
                "biomarker": "AST"
              },
              {
                "type": "biomarker",
                "biomarker": "Alb"
              }
            ]
          }
        ]
      },
      "biomarkers": {
        "eGFR": {
          "role": "must",
          "weight": 20
        },
        "Creat": {
          "role": "must",
          "weight": 15
        },
        "ALT": {
          "role": "must",
          "weight": 20
        },
        "AST": {
          "role": "must",
          "weight": 15
        },
        "Alb": {
          "role": "must",
          "weight": 10
        },
        "ALP": {
          "role": "support",
          "weight": 5
        },
        "GGT": {
          "role": "support",
          "weight": 5
        },
        "Bil": {
          "role": "support",
          "weight": 5
        },
        "CysC": {
          "role": "support",
          "weight": 5
        }
      }
    },
    "Vitamins & Minerals": {
      "must_haves": [
        "Vit D",
        "B12",
        "Fol",
        "Fer"
      ],
      "unlock_rule": {
        "type": "any",
        "count": 3,
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "Vit D"
          },
          {
            "type": "biomarker",
            "biomarker": "B12"
          },
          {
            "type": "biomarker",
            "biomarker": "Fol"
          },
          {
            "type": "biomarker",
            "biomarker": "Fer"
          }
        ]
      },
      "biomarkers": {
        "Vit D": {
          "role": "must",
          "weight": 20
        },
        "B12": {
          "role": "must",
          "weight": 15
        },
        "Fol": {
          "role": "must",
          "weight": 15
        },
        "Fer": {
          "role": "must",
          "weight": 15
        },
        "TSat": {
          "role": "support",
          "weight": 10
        },
        "Mg RBC": {
          "role": "support",
          "weight": 5
        },
        "Zn": {
          "role": "support",
          "weight": 5
        },
        "Se": {
          "role": "support",
          "weight": 3
        },
        "O3I": {
          "role": "support",
          "weight": 3
        },
        "Fe": {
          "role": "support",
          "weight": 3
        },
        "Cu": {
          "role": "support",
          "weight": 3
        },
        "CaCorr": {
          "role": "support",
          "weight": 3
        }
      }
    },
    "Hormones & Vitality": {
      "must_haves": [
        "TT",
        "FT",
        "SHBG"
      ],
      "unlock_rule": {
        "type": "any",
        "count": 1,
        "rules": [
          {
            "type": "all",
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "TT"
              },
              {
                "type": "biomarker",
                "biomarker": "FT"
              }
            ]
          },
          {
            "type": "all",
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "TT"
              },
              {
                "type": "biomarker",
                "biomarker": "SHBG"
              }
            ]
          }
        ]
      },
      "biomarkers": {
        "TT": {
          "role": "must",
          "weight": 25
        },
        "FT": {
          "role": "must",
          "weight": 20
        },
        "SHBG": {
          "role": "must",
          "weight": 15
        },
        "DHEAS": {
          "role": "support",
          "weight": 10
        },
        "CortAM": {
          "role": "support",
          "weight": 5
        },
        "E2": {
          "role": "support",
          "weight": 3
        },
        "IGF1": {
          "role": "support",
          "weight": 4
        }
      }
    },
    "Blood Health & Oxygen": {
      "must_haves": [
        "Hgb",
        "Hct",
        "RBC",
        "MCV"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "Hgb"
          },
          {
            "type": "biomarker",
            "biomarker": "Hct"
          },
          {
            "type": "any",
            "count": 1,
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "RBC"
              },
              {
                "type": "biomarker",
                "biomarker": "MCV"
              }
            ]
          }
        ]
      },
      "biomarkers": {
        "Hgb": {
          "role": "must",
          "weight": 25
        },
        "Hct": {
          "role": "must",
          "weight": 15
        },
        "RBC": {
          "role": "must",
          "weight": 15
        },
        "MCV": {
          "role": "must",
          "weight": 10
        },
        "RDW": {
          "role": "support",
          "weight": 10
        },
        "Plt": {
          "role": "support",
          "weight": 5
        },
        "Lym": {
          "role": "support",
          "weight": 3
        },
        "Mon": {
          "role": "support",
          "weight": 3
        },
        "Neu": {
          "role": "support",
          "weight": 3
        }
      }
    },
    "Inflammation & Immune": {
      "must_haves": [
        "hsCRP",
        "WBC",
        "ESR"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "hsCRP"
          },
          {
            "type": "any",
            "count": 1,
            "rules": [
              {
                "type": "biomarker",
                "biomarker": "WBC"
              },
              {
                "type": "biomarker",
                "biomarker": "ESR"
              }
            ]
          }
        ]
      },
      "biomarkers": {
        "hsCRP": {
          "role": "must",
          "weight": 25
        },
        "WBC": {
          "role": "must",
          "weight": 20
        },
        "ESR": {
          "role": "must",
          "weight": 15
        },
        "Fibrinogen": {
          "role": "support",
          "weight": 10
        },
        "IL-6": {
          "role": "support",
          "weight": 5
        },
        "TNF-α": {
          "role": "support",
          "weight": 5
        }
      }
    },
    "Metabolic Fitness": {
      "must_haves": [
        "HbA1c",
        "Gluc"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "HbA1c"
          },
          {
            "type": "biomarker",
            "biomarker": "Gluc"
          }
        ]
      },
      "biomarkers": {
        "HbA1c": {
          "role": "must",
          "weight": 30
        },
        "Gluc": {
          "role": "must",
          "weight": 20
        },
        "Ins": {
          "role": "support",
          "weight": 20
        },
        "UA": {
          "role": "support",
          "weight": 10
        },
        "HOMA-IR": {
          "role": "support",
          "weight": 0,
          "scoringMode": "derived_modifier",
          "maxPenalty": 20
        }
      }
    },
    "Thyroid Function": {
      "must_haves": [
        "TSH",
        "FT4"
      ],
      "unlock_rule": {
        "type": "all",
        "rules": [
          {
            "type": "biomarker",
            "biomarker": "TSH"
          },
          {
            "type": "biomarker",
            "biomarker": "FT4"
          }
        ]
      },
      "biomarkers": {
        "TSH": {
          "role": "must",
          "weight": 30
        },
        "FT4": {
          "role": "must",
          "weight": 25
        },
        "FT3": {
          "role": "support",
          "weight": 20
        },
        "TPOAb": {
          "role": "support",
          "weight": 12.5
        },
        "TgAb": {
          "role": "support",
          "weight": 12.5
        }
      }
    }
  },
  "rangeSources": "Supporting source not yet documented. Personal scoring ranges and their units are included in the authenticated score download.",
  "biologicalAge": {
    "name": "Clinical PhenoAge",
    "version": "clinical-phenoage-original.2026-09-05.2",
    "sources": [
      "https://www.aging-us.com/article/101414/text",
      "https://github.com/dayoonkwon/BioAge/blob/7e7764fc432115ee9d59f281d4f6ca17177ae7ec/R/phenoage_calc.R"
    ]
  }
}
