bugsnag · Schema

BreadcrumbPayload

Represents a breadcrumb event that occurred before the error, providing context about the user's actions and application state.

Properties

Name Type Description
timestamp string The ISO 8601 timestamp when the breadcrumb was recorded.
name string A short summary of the breadcrumb event.
type string The category of breadcrumb event.
metaData object Additional metadata associated with the breadcrumb.
View JSON Schema on GitHub

JSON Schema

bugsnag-breadcrumbpayload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BreadcrumbPayload",
  "title": "BreadcrumbPayload",
  "type": "object",
  "description": "Represents a breadcrumb event that occurred before the error, providing context about the user's actions and application state.",
  "required": [
    "timestamp",
    "name",
    "type"
  ],
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The ISO 8601 timestamp when the breadcrumb was recorded."
    },
    "name": {
      "type": "string",
      "description": "A short summary of the breadcrumb event.",
      "maxLength": 30
    },
    "type": {
      "type": "string",
      "description": "The category of breadcrumb event.",
      "enum": [
        "navigation",
        "request",
        "process",
        "log",
        "user",
        "state",
        "error",
        "manual"
      ]
    },
    "metaData": {
      "type": "object",
      "additionalProperties": true,
      "description": "Additional metadata associated with the breadcrumb."
    }
  }
}