{
  "schema": "resourceitem1.schema.json",
  "id": "state/airquality",
  "datatype": "String",
  "access": "R",
  "public": true,
  "description": "Text representation of the air quality based on tVOC level.",
  "parse": {
    "fn": "numtostr",
    "srcitem": "state/airqualityppb",
    "op": "le",
    "to": [
      65,
      "excellent",
      220,
      "good",
      660,
      "moderate",
      5000,
      "unhealthy",
      65535,
      "out of scale"
    ]
  }
}
