{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-website-beacon-result-schema.json",
  "title": "WebsiteBeaconResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-website-analyze-api-openapi.yml#/components/schemas/WebsiteBeaconResult",
  "type": "object",
  "properties": {
    "adjustedTimeframe": {
      "$ref": "#/$defs/AdjustedTimeframe"
    },
    "canLoadMore": {
      "type": "boolean",
      "description": "Determine if additional data is available when a new query is made using the cursor from the last item in the `items` list."
    },
    "items": {
      "type": "array",
      "description": "Represents an array of call group item containing several attributes that describe its properties.\nThe item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item.\n",
      "items": {
        "$ref": "#/$defs/WebsiteBeaconsItem"
      }
    },
    "totalHits": {
      "type": "integer",
      "format": "int64",
      "description": "The total number of items that match a given filter",
      "minimum": 0
    },
    "totalRepresentedItemCount": {
      "type": "integer",
      "format": "int64",
      "description": "For calls and EUM beacons, one row can represent multiple real items (batched call, sample multiplicity)",
      "minimum": 0
    },
    "totalRetainedItemCount": {
      "type": "integer",
      "format": "int64",
      "description": "For calls and EUM beacons, only a subset is retained for historic data. Each retained row can represent multiple real items due to batching.",
      "minimum": 0
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "AdjustedTimeframe": {
      "type": "object",
      "description": "Time frame provided in API request is slightly adjusted in response for faster API response.\nFor example, In request payload, if timeframe is 08:03 - 14:03, which is a 6 hour window size. It is adjusted to 08:05 - 14:00\nAnother example, In request payload, if timeframe is 08:20 - 08:20 (next day) which is a 24h window size. It is adjusted to 08:30 - 08:00 (next day)\n",
      "properties": {
        "to": {
          "type": "integer",
          "format": "int64",
          "description": "end of timeframe expressed as the Unix epoch time in milliseconds. Eg: `ISO 8601` standard time `2024-06-27T05:05:55.615Z` can be represented as `1719464755615` in Unix epoch time in milliseconds."
        },
        "windowSize": {
          "type": "integer",
          "format": "int64",
          "description": "windowSize in milliseconds",
          "minimum": 0
        }
      },
      "required": [
        "to"
      ]
    },
    "ImpactedBeaconInfo": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "subdivision": {
          "type": "string"
        },
        "userEmail": {
          "type": "string"
        },
        "userName": {
          "type": "string"
        }
      }
    },
    "IngestionOffsetCursor": {
      "type": "object",
      "description": "Cursor to use between successive queries"
    },
    "JsStackTraceLine": {
      "type": "object",
      "properties": {
        "column": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "file": {
          "type": "string"
        },
        "line": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "name": {
          "type": "string"
        },
        "translationExplanation": {
          "type": "string"
        },
        "translationStatus": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        }
      },
      "required": [
        "file"
      ]
    },
    "WebsiteBeaconsItem": {
      "type": "object",
      "description": "Represents an array of call group item containing several attributes that describe its properties.\nThe item includes fields such as cursor, metrics, name, and timestamp, which provide detailed information about the item.\n",
      "properties": {
        "beacon": {
          "$ref": "#/$defs/WebsiteMonitoringBeacon"
        },
        "cursor": {
          "$ref": "#/$defs/IngestionOffsetCursor"
        },
        "impactedBeaconInfo": {
          "$ref": "#/$defs/ImpactedBeaconInfo"
        }
      },
      "required": [
        "beacon",
        "cursor"
      ]
    },
    "WebsiteMonitoringBeacon": {
      "type": "object",
      "properties": {
        "accuracyRadius": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "accurateTimingsAvailable": {
          "type": "boolean"
        },
        "agentVersion": {
          "type": "string"
        },
        "appCacheTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "backendTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "backendTraceId": {
          "type": "string"
        },
        "batchSize": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "beaconId": {
          "type": "string"
        },
        "browserName": {
          "type": "string"
        },
        "browserVersion": {
          "type": "string"
        },
        "bytesIngested": {
          "type": "integer",
          "format": "int64"
        },
        "cacheInteraction": {
          "type": "string"
        },
        "childrenTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "city": {
          "type": "string"
        },
        "clockSkew": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "componentStack": {
          "type": "string"
        },
        "connectionType": {
          "type": "string"
        },
        "continent": {
          "type": "string"
        },
        "continentCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "countryCode": {
          "type": "string"
        },
        "cspBlockedUri": {
          "type": "string"
        },
        "cspColumnNumber": {
          "type": "integer",
          "format": "int64"
        },
        "cspDisposition": {
          "type": "string"
        },
        "cspEffectiveDirective": {
          "type": "string"
        },
        "cspLineNumber": {
          "type": "integer",
          "format": "int64"
        },
        "cspOriginalPolicy": {
          "type": "string"
        },
        "cspSample": {
          "type": "string"
        },
        "cspSourceFile": {
          "type": "string"
        },
        "cumulativeLayoutShift": {
          "type": "number",
          "format": "double"
        },
        "customEventName": {
          "type": "string"
        },
        "customMetric": {
          "type": "number",
          "format": "double"
        },
        "decodedBodySize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "deprecations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 16,
          "minItems": 0,
          "uniqueItems": true
        },
        "deviceType": {
          "type": "string"
        },
        "dnsTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "domTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "duration": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "encodedBodySize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "errorCount": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "errorId": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "errorType": {
          "type": "string"
        },
        "firstContentfulPaintTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "firstInputDelayTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "firstPaintTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "frontendTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "graphqlOperationName": {
          "type": "string"
        },
        "graphqlOperationType": {
          "type": "string"
        },
        "httpCallAsynchronous": {
          "type": "boolean"
        },
        "httpCallCorrelationAttempted": {
          "type": "boolean"
        },
        "httpCallHeaders": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "httpCallMethod": {
          "type": "string"
        },
        "httpCallOrigin": {
          "type": "string"
        },
        "httpCallPath": {
          "type": "string"
        },
        "httpCallStatus": {
          "type": "integer",
          "format": "int32",
          "maximum": 599,
          "minimum": -1
        },
        "httpCallUrl": {
          "type": "string"
        },
        "initiator": {
          "type": "string"
        },
        "interactionNextPaint": {
          "type": "integer",
          "format": "int64"
        },
        "internalMeta": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "label": {
          "type": "string"
        },
        "largestContentfulPaintTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "latitude": {
          "type": "number",
          "format": "double"
        },
        "locationOrigin": {
          "type": "string"
        },
        "locationPath": {
          "type": "string"
        },
        "locationUrl": {
          "type": "string"
        },
        "longitude": {
          "type": "number",
          "format": "double"
        },
        "meta": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "onLoadTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "osName": {
          "type": "string"
        },
        "osVersion": {
          "type": "string"
        },
        "page": {
          "type": "string"
        },
        "pageLoadId": {
          "type": "string"
        },
        "parentBeaconId": {
          "type": "string"
        },
        "parsedStackTrace": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsStackTraceLine"
          },
          "maxItems": 64,
          "minItems": 0
        },
        "phase": {
          "type": "string"
        },
        "processingTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "redirectTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "requestTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "resourceType": {
          "type": "string"
        },
        "responseTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "sessionId": {
          "type": "string"
        },
        "snippetVersion": {
          "type": "string"
        },
        "sslTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "stackTrace": {
          "type": "string"
        },
        "stackTraceParsingStatus": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "stackTraceReadability": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "subdivision": {
          "type": "string"
        },
        "subdivisionCode": {
          "type": "string"
        },
        "tcpTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "timestamp": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "transferSize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "type": {
          "type": "string"
        },
        "unloadTime": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "useFeatures": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 15,
          "minItems": 0
        },
        "userEmail": {
          "type": "string"
        },
        "userId": {
          "type": "string"
        },
        "userIp": {
          "type": "string"
        },
        "userLanguages": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 5,
          "minItems": 0
        },
        "userName": {
          "type": "string"
        },
        "websiteId": {
          "type": "string"
        },
        "websiteLabel": {
          "type": "string"
        },
        "windowHeight": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "windowHidden": {
          "type": "boolean"
        },
        "windowWidth": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        }
      },
      "required": [
        "beaconId",
        "locationOrigin",
        "locationUrl",
        "pageLoadId",
        "type",
        "websiteId",
        "websiteLabel"
      ]
    }
  }
}