{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-website-monitoring-beacon-schema.json",
  "title": "WebsiteMonitoringBeacon",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-website-metrics-api-openapi.yml#/components/schemas/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"
  ],
  "$defs": {
    "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"
      ]
    }
  }
}