{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LogEntry",
  "title": "LogEntry",
  "type": "object",
  "description": "A single log line entry.",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of the log entry."
    },
    "level": {
      "type": "string",
      "description": "Log level.",
      "enum": [
        "info",
        "warn",
        "error",
        "debug"
      ]
    },
    "message": {
      "type": "string",
      "description": "The log message content."
    }
  }
}