{
  "$id": "https://waku-robotics.com/schema/error",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Scalar Value",
  "type": "object",
  "required": ["name", "unit", "value"],
  "properties": {
    "name": {
      "type": "string",
      "description": "name of the value (e.g., windspeed, temperature, etc.)"
    },
    "unit": {
      "type": "string",
      "enum": [
        "mps",
        "kmph",
        "mph",

        "rad",
        "deg",
        "rev",
        "16segment",

        "rpm",

        "m",
        "cm",
        "mm",
        "in",
        "ft",
        "mi",

        "pa",
        "hpa",
        "psi",
        "bar",

        "k",
        "c",
        "f",

        "w",
        "kw",

        "j",
        "wh",
        "kwh",

        "percent",

        "none"
      ],
      "description": "unit of the value"
    },

    "value": {
      "type": "number",
      "description": "value"
    }
  }
}
