{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-log-in-resource-request-schema.json",
  "title": "LogInResourceRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-agents-api-openapi.yml#/components/schemas/LogInResourceRequest",
  "properties": {
    "dialNumber": {
      "description": "A dialNumber field contains the number to dial such as a route point or extension, maximum length 43 characters.",
      "type": "string"
    },
    "teamId": {
      "description": "The unique ID representing a team of users. Leaving this field blank is valid for supervisor role but invalid for agent role, maximum length 36 characters.",
      "type": "string"
    },
    "isExtension": {
      "description": "It indicates if the dialNumber field is full number or extension. It is set to false by default.",
      "type": "boolean"
    },
    "roles": {
      "description": "It represents the current role of the user. The user can either be an ```agent``` or a ```supervisor```.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "deviceType": {
      "description": "It represents the way to differentiate type of login request (```AGENT_DN```, ```EXTENSION```, ```BROWSER```). Leaving this field is valid for supervisor role but invalid for agent role.",
      "type": "string"
    },
    "deviceId": {
      "description": "It is equal to dialNumber for AGENT_DN & EXTENSION deviceType and for BROWSER it is populated as webrtc-AgentUUID, maximum length 43 characters.",
      "type": "string"
    }
  },
  "required": [
    "dialNumber",
    "roles"
  ],
  "type": "object"
}