{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-access-browser-api-browser-session-structure.json",
  "name": "BrowserSession",
  "description": "BrowserSession schema from Palo Alto Networks Prisma Access Browser Management API",
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "Unique identifier of the browser session."
    },
    "user_id": {
      "type": "string",
      "description": "User ID of the session owner."
    },
    "device_id": {
      "type": "string",
      "description": "Device ID used in this session."
    },
    "ip_address": {
      "type": "string",
      "description": "Client IP address."
    },
    "policy_id": {
      "type": "string",
      "description": "Policy applied during this session."
    },
    "browser_version": {
      "type": "string",
      "description": "Prisma Access Browser version."
    },
    "status": {
      "type": "string",
      "description": "Session status.",
      "enum": [
        "active",
        "terminated"
      ]
    },
    "started_at": {
      "type": "datetime"
    },
    "ended_at": {
      "type": "datetime"
    }
  }
}
