{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-user-object-schema.json",
  "title": "UserObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-users-api-openapi.yml#/components/schemas/UserObject",
  "type": "object",
  "properties": {
    "firstname": {
      "type": "string",
      "description": "The user's first name.",
      "minLength": 1
    },
    "lastname": {
      "type": "string",
      "description": "The user's last name.",
      "minLength": 1
    },
    "email": {
      "type": "string",
      "description": "The user's email address.",
      "minLength": 1
    },
    "password": {
      "type": "string",
      "description": "The user's password.",
      "minLength": 1
    },
    "roleId": {
      "type": "integer",
      "description": "The role ID.",
      "minimum": 1
    },
    "role": {
      "type": "string",
      "description": "The user's role."
    },
    "timezone": {
      "type": "string",
      "description": "The user's timezone.",
      "minLength": 1
    },
    "status": {
      "type": "string",
      "description": "The user's status."
    },
    "lastLoginTime": {
      "type": "string",
      "format": "date-time",
      "description": "The user's last login date and time (ISO8601 timestamp)."
    },
    "twoFactorEnable": {
      "type": "boolean",
      "description": "Specifies whether two-factor authentication is enabled."
    }
  },
  "required": [
    "id",
    "email",
    "role",
    "roleId",
    "timezone",
    "status",
    "twoFactorEnable"
  ]
}