[
  {
    "//": "Replaces the vanilla weight_desc widget to change the text descriptions",
    "id": "weight_desc_label",
    "type": "widget",
    "label": "Weight",
    "style": "text",
    "clauses": [
      {
        "id": "skeletal",
        "text": "Spooky Scary Skeleton",
        "color": "red",
        "condition": { "math": [ "u_val('bmi_permil') <= 1000" ] }
      },
      {
        "id": "emaciated",
        "text": "Emaciated",
        "color": "light_red",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 1000" ] }, { "math": [ "u_val('bmi_permil') <= 2000" ] } ] }
      },
      {
        "id": "underweight",
        "text": "Bean Pole",
        "color": "yellow",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 2000" ] }, { "math": [ "u_val('bmi_permil') <= 3000" ] } ] }
      },
      {
        "id": "normal",
        "text": "Normal",
        "color": "light_gray",
        "//": "Actually 18.5 - 25",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 3000" ] }, { "math": [ "u_val('bmi_permil') <= 5000" ] } ] }
      },
      {
        "id": "overweight",
        "text": "Big",
        "color": "yellow",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 5000" ] }, { "math": [ "u_val('bmi_permil') <= 10000" ] } ] }
      },
      {
        "id": "obese",
        "text": "Healthy",
        "color": "light_red",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 10000" ] }, { "math": [ "u_val('bmi_permil') <= 15000" ] } ] }
      },
      {
        "id": "very_obese",
        "text": "Husky",
        "color": "red",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 15000" ] }, { "math": [ "u_val('bmi_permil') <= 20000" ] } ] }
      },
      {
        "id": "morbidly_obese",
        "text": "Fluffy",
        "color": "red",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 20000" ] }, { "math": [ "u_val('bmi_permil') <= 25000" ] } ] }
      },
      {
        "id": "morbidly_obese_plus_5",
        "text": "DAYUM",
        "color": "red",
        "condition": { "and": [ { "math": [ "u_val('bmi_permil') > 25000" ] }, { "math": [ "u_val('bmi_permil') <= 30000" ] } ] }
      },
      {
        "id": "morbidly_obese_plus_10",
        "text": "AW HELL NAH",
        "color": "red",
        "condition": { "math": [ "u_val('bmi_permil') > 30000" ] }
      }
    ]
  },
  {
    "id": "weight_desc_no_label",
    "type": "widget",
    "copy-from": "weight_desc_label",
    "flags": [ "W_LABEL_NONE" ]
  }
]
