{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-active-session-schema.json",
  "title": "ActiveSession",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-analysis-api-openapi.yml#/components/schemas/ActiveSession",
  "properties": {
    "authenticationType": {
      "type": "string"
    },
    "currentIP": {
      "type": "string"
    },
    "department": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "device": {
      "type": "string"
    },
    "discoveryApplication": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "lastSeen": {
      "format": "int32",
      "type": "integer"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "loginTime": {
      "format": "int32",
      "type": "integer"
    },
    "metadata": {
      "$ref": "#/$defs/IMetadata",
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "patRangeStart": {
      "format": "int32",
      "type": "integer"
    },
    "phone": {
      "type": "string"
    },
    "realmId": {
      "format": "int32",
      "type": "integer"
    },
    "realmName": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "user": {
      "type": "string"
    },
    "userId": {
      "format": "int32",
      "type": "integer"
    },
    "userPatEnd": {
      "format": "int32",
      "type": "integer"
    },
    "userPatStart": {
      "format": "int32",
      "type": "integer"
    },
    "username": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "vpnClientApplication": {
      "type": "string"
    },
    "vpnClientOS": {
      "type": "string"
    },
    "vpnClientPublicIP": {
      "type": "string"
    },
    "vpnConnectionProfile": {
      "type": "string"
    },
    "vpnGroupPolicy": {
      "type": "string"
    },
    "vpnSessionType": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ILinks": {
      "description": "This defines the self referencing links for the given resource.",
      "properties": {
        "parent": {
          "description": "Full resource URL path to reference the parent (if any) for this resource.",
          "type": "string"
        },
        "self": {
          "description": "Full resource URL path to reference this particular resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IMetadata": {
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IMetadataUser": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    }
  }
}