{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-mobile-app-beacon-result-schema.json",
  "title": "MobileAppBeaconResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-mobile-app-analyze-api-openapi.yml#/components/schemas/MobileAppBeaconResult",
  "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/MobileAppBeaconsItem"
      }
    },
    "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"
    },
    "MobileAppBeaconsItem": {
      "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/MobileAppMonitoringBeacon"
        },
        "cursor": {
          "$ref": "#/$defs/IngestionOffsetCursor"
        },
        "impactedBeaconInfo": {
          "$ref": "#/$defs/ImpactedBeaconInfo"
        }
      },
      "required": [
        "beacon",
        "cursor"
      ]
    },
    "MobileAppMonitoringBeacon": {
      "type": "object",
      "properties": {
        "accuracyRadius": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "agentVersion": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "appBuild": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "appVersion": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "appVersionNumber": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "availableMb": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "backendTraceId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "batchSize": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "beaconId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "bundleIdentifier": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "bytesIngested": {
          "type": "integer",
          "format": "int64"
        },
        "carrier": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "city": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "clockSkew": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "coldStartTimeMs": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "connectionType": {
          "type": "string",
          "maxLength": 16,
          "minLength": 0
        },
        "continent": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "continentCode": {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        },
        "country": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "countryCode": {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        },
        "currentAppState": {
          "type": "string",
          "maxLength": 24,
          "minLength": 0
        },
        "customEventName": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "customMetric": {
          "type": "number",
          "format": "double"
        },
        "decodedBodySize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "deviceHardware": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "deviceManufacturer": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "deviceModel": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "dropView": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "duration": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "effectiveConnectionType": {
          "type": "string",
          "maxLength": 16,
          "minLength": 0
        },
        "encodedBodySize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "environment": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "errorCount": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "errorId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "errorMessage": {
          "type": "string",
          "maxLength": 16384,
          "minLength": 0
        },
        "errorType": {
          "type": "string",
          "maxLength": 1024,
          "minLength": 0
        },
        "googlePlayServicesMissing": {
          "type": "boolean"
        },
        "hotStartTimeMs": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "httpCallHeaders": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "httpCallMethod": {
          "type": "string",
          "maxLength": 16,
          "minLength": 0
        },
        "httpCallOrigin": {
          "type": "string",
          "maxLength": 1024,
          "minLength": 0
        },
        "httpCallPath": {
          "type": "string",
          "maxLength": 4096,
          "minLength": 0
        },
        "httpCallStatus": {
          "type": "integer",
          "format": "int32",
          "maximum": 599,
          "minimum": -1
        },
        "httpCallUrl": {
          "type": "string",
          "maxLength": 4096,
          "minLength": 0
        },
        "ingestionTime": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "internalMeta": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "label": {
          "type": "string"
        },
        "latitude": {
          "type": "number",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "format": "double"
        },
        "maxMb": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "meta": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "mobileAppId": {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        },
        "mobileAppLabel": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "osName": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "osVersion": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "parentBeaconId": {
          "type": "string"
        },
        "parsedStackTrace": {
          "type": "string",
          "maxLength": 16384,
          "minLength": 0
        },
        "performanceSubtype": {
          "type": "string",
          "maxLength": 24,
          "minLength": 0
        },
        "platform": {
          "type": "string",
          "maxLength": 32,
          "minLength": 0
        },
        "rateLimitBeaconType": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "rateLimitCount": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "rateLimitCustomMetricVal": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "float"
          }
        },
        "rateLimitTimeMax": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "rateLimitTimeMin": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "region": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "rooted": {
          "type": "boolean"
        },
        "sessionId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "stackTrace": {
          "type": "string",
          "maxLength": 16384,
          "minLength": 0
        },
        "stackTraceKeyChecksum": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "stackTraceKeyInformation": {
          "type": "string",
          "maxLength": 1024,
          "minLength": 0
        },
        "stackTraceLine": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StackTraceLine"
          },
          "maxItems": 128,
          "minItems": 0
        },
        "stackTraceParsingStatus": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "subdivision": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "subdivisionCode": {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        },
        "tenant": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "timestamp": {
          "type": "integer",
          "format": "int64",
          "minimum": 1
        },
        "transferSize": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "type": {
          "type": "string",
          "maxLength": 24,
          "minLength": 0
        },
        "unit": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "useFeatures": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 15,
          "minItems": 0
        },
        "usedMb": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        },
        "userEmail": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "userId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "userIp": {
          "type": "string",
          "maxLength": 45,
          "minLength": 0
        },
        "userLanguages": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 5,
          "minItems": 0
        },
        "userName": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "userSessionId": {
          "type": "string",
          "maxLength": 128,
          "minLength": 0
        },
        "view": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "viewportHeight": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "viewportWidth": {
          "type": "integer",
          "format": "int32",
          "minimum": -1
        },
        "warmStartTimeMs": {
          "type": "integer",
          "format": "int64",
          "minimum": -1
        }
      },
      "required": [
        "beaconId",
        "mobileAppId",
        "performanceSubtype",
        "rateLimitBeaconType",
        "type"
      ]
    },
    "StackTraceLine": {
      "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"
      ]
    }
  }
}