{
  "_comment": "Single source of truth for balance test types. Loaded by test_types.php (PHP), test_types.py (Python), and fetched by test/index.html (JS). To add a new type (e.g. tandem stance, sit-to-stand), append to the 'types' array — every layer that uses the helpers will pick it up automatically.",
  "types": [
    {
      "key": "lbeo",
      "csv_key": "lb-eo",
      "label": "Left Balance - Eyes Open",
      "label_alt": "Left Balance Eyes Open",
      "short_label": "Left EO",
      "side": "left",
      "condition": "eyes_open",
      "chart_color": "#2563eb"
    },
    {
      "key": "rbeo",
      "csv_key": "rb-eo",
      "label": "Right Balance - Eyes Open",
      "label_alt": "Right Balance Eyes Open",
      "short_label": "Right EO",
      "side": "right",
      "condition": "eyes_open",
      "chart_color": "#16a34a"
    },
    {
      "key": "lbec",
      "csv_key": "lb-ec",
      "label": "Left Balance - Eyes Closed",
      "label_alt": "Left Balance Eyes Closed",
      "short_label": "Left EC",
      "side": "left",
      "condition": "eyes_closed",
      "chart_color": "#7c3aed"
    },
    {
      "key": "rbec",
      "csv_key": "rb-ec",
      "label": "Right Balance - Eyes Closed",
      "label_alt": "Right Balance Eyes Closed",
      "short_label": "Right EC",
      "side": "right",
      "condition": "eyes_closed",
      "chart_color": "#dc2626"
    }
  ]
}
