{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RequestSnapshot",
  "title": "RequestSnapshot",
  "type": "object",
  "description": "A transaction request snapshot capturing detailed execution information for a single request.",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "The internal numeric identifier for the snapshot."
    },
    "localID": {
      "type": "integer",
      "format": "int64",
      "description": "The local ID of the snapshot on the originating node."
    },
    "requestGUID": {
      "type": "string",
      "description": "The globally unique identifier for this request snapshot."
    },
    "summary": {
      "type": "string",
      "description": "A summary description of the snapshot."
    },
    "businessTransactionId": {
      "type": "integer",
      "format": "int64",
      "description": "The ID of the business transaction this snapshot belongs to."
    },
    "applicationComponentId": {
      "type": "integer",
      "format": "int64",
      "description": "The tier ID where this snapshot was captured."
    },
    "applicationComponentNodeId": {
      "type": "integer",
      "format": "int64",
      "description": "The node ID where this snapshot was captured."
    },
    "firstInChain": {
      "type": "boolean",
      "description": "Whether this is the first snapshot in a cross-application call chain."
    },
    "userExperience": {
      "type": "string",
      "description": "The user experience classification for this request.",
      "enum": [
        "NORMAL",
        "SLOW",
        "VERY_SLOW",
        "STALL",
        "ERROR"
      ]
    },
    "timeTakenInMilliSecs": {
      "type": "integer",
      "format": "int64",
      "description": "The total execution time for this request in milliseconds."
    },
    "serverStartTime": {
      "type": "integer",
      "format": "int64",
      "description": "The server-side start time in Unix epoch milliseconds."
    },
    "archived": {
      "type": "boolean",
      "description": "Whether this snapshot has been archived."
    },
    "URL": {
      "type": "string",
      "description": "The URL or entry point for this request."
    },
    "errorIDs": {
      "type": "array",
      "description": "List of error IDs associated with this snapshot.",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "errorOccured": {
      "type": "boolean",
      "description": "Whether an error occurred during this request."
    },
    "diagnosticSessionGUID": {
      "type": "string",
      "description": "The GUID of the diagnostic session that triggered this snapshot."
    }
  }
}