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