{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-activities-collection-schema.json",
  "title": "ActivitiesCollection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-activities-api-openapi.yml#/components/schemas/ActivitiesCollection",
  "type": "object",
  "properties": {
    "event_id": {
      "type": "string",
      "description": "This is CloudLock Internal Identifier for an activity."
    },
    "client_ip": {
      "type": "string",
      "description": "The client's IP address."
    },
    "event_type": {
      "type": "string",
      "description": "The type of the event."
    },
    "created_at": {
      "type": "string",
      "description": "When the activity took place, in UTC."
    },
    "operation_successful": {
      "type": "boolean",
      "description": "Specifies whether the activity succeeded."
    },
    "client_location": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string"
        },
        "country": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          }
        },
        "lat": {
          "type": "string"
        },
        "lng": {
          "type": "string"
        },
        "region": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          }
        }
      },
      "description": "The client location information."
    },
    "event_category": {
      "type": "string",
      "description": "The event category type."
    },
    "origin_id": {
      "type": "string",
      "description": "The origin ID."
    },
    "user": {
      "type": "object",
      "properties": {
        "user_email": {
          "type": "string",
          "description": ""
        },
        "vendor_id": {
          "type": "string",
          "description": ""
        }
      },
      "description": "The user information."
    },
    "user_agent": {
      "type": "string"
    },
    "vendor": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": ""
        },
        "service": {
          "type": "string",
          "description": "The vendor description."
        }
      },
      "description": "The platform information."
    },
    "extra": {
      "type": "object",
      "properties": {
        "auth": {
          "type": "object",
          "properties": {
            "auth_type": {
              "type": "string",
              "description": "The type of authentication."
            },
            "is_suspicious": {
              "type": "boolean",
              "description": "Indicates whether the activity is flagged as being suspicious."
            }
          }
        }
      },
      "description": "Additional information related to the activity"
    },
    "raw": {
      "type": "object",
      "description": "The raw information for the activity."
    }
  }
}