IPGeolocation.io · Schema

UserAgentOperatingSystem

Operating system information extracted from the User-Agent string.

GeocodingIP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs

Properties

Name Type Description
name string OS name (e.g. `Windows`, `macOS`, `Linux`, `Android`, `iOS`, `Cloud`).
type string OS type. Common values: `Desktop`, `Mobile`, `Tablet`, `Cloud`.
version string OS version. `??` when the version cannot be determined.
version_major string OS major version. `??` when the version cannot be determined.
build string OS build number. `??` when the build cannot be determined.
View JSON Schema on GitHub

JSON Schema

ip-location-user-agent-operating-system-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipgeolocation/refs/heads/main/json-schema/ip-location-user-agent-operating-system-schema.json",
  "title": "UserAgentOperatingSystem",
  "description": "Operating system information extracted from the User-Agent string.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "OS name (e.g. `Windows`, `macOS`, `Linux`, `Android`, `iOS`, `Cloud`).",
      "example": "Linux"
    },
    "type": {
      "type": "string",
      "description": "OS type. Common values: `Desktop`, `Mobile`, `Tablet`, `Cloud`.\n",
      "example": "Desktop"
    },
    "version": {
      "type": "string",
      "description": "OS version. `??` when the version cannot be determined.",
      "example": "??"
    },
    "version_major": {
      "type": "string",
      "description": "OS major version. `??` when the version cannot be determined.",
      "example": "??"
    },
    "build": {
      "type": "string",
      "description": "OS build number. `??` when the build cannot be determined.",
      "example": "??"
    }
  }
}