{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BreakpointHit",
  "title": "BreakpointHit",
  "type": "object",
  "description": "Schema for a single breakpoint hit event",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the hit event"
    },
    "lineNumber": {
      "type": "integer",
      "description": "Line number where the breakpoint was hit"
    },
    "functionName": {
      "type": "string",
      "description": "Name of the function where breakpoint was hit"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "When the breakpoint was hit"
    },
    "variables": {
      "type": "object",
      "additionalProperties": true,
      "description": "Local variables at the time of the hit"
    },
    "stackTrace": {
      "type": "array",
      "items": {},
      "description": "Stack trace at the time of the hit"
    },
    "breakpoint_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the breakpoint that was hit"
    },
    "filename": {
      "type": "string",
      "description": "Filename where the breakpoint was hit"
    }
  },
  "required": [
    "breakpoint_id",
    "filename",
    "functionName",
    "id",
    "lineNumber",
    "stackTrace",
    "timestamp",
    "variables"
  ]
}