{
  "$id": "https://waku-robotics.com/schema/error",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "WAKU MQTT API Errors",
  "type": "object",
  "required": ["timestamp", "message", "sourceMsgID", "sourceMsgTopic"],
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp in ISO8601 format (YYYY-MM-DDTHH:mm:ss.ssZ).",
      "examples": ["1991-03-11T11:40:03.12Z"]
    },
    "sourceMsgID": {
      "type": "integer",
      "description": "MQTT ID of message that triggered the error"
    },
    "sourceMsgTopic": {
      "type": "string",
      "description": "Topic"
    },
    "message": {
      "type": "string",
      "description": "error message"
    }
  }
}
