{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-skill-based-queue-request-dto-schema.json",
  "title": "SkillBasedQueueRequestDTO",
  "description": "Request payload used to look up skill-based contact service queues. Supply skillProfileId together with either a userId (to scope by a specific agent) or a list of dynamicSkills (to scope by dynamic skill values). For endpoints that filter by userId, omit dynamicSkills; for endpoints that filter by dynamic skills, omit userId.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-contact-service-queue-api-openapi.yml#/components/schemas/SkillBasedQueueRequestDTO",
  "type": "object",
  "properties": {
    "skillProfileId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier of the skill profile to look up queues for."
    },
    "dynamicSkills": {
      "type": "array",
      "description": "Dynamic skill values used to further narrow down the matching skill-based queues. Used by the dynamic-skills lookup endpoint.",
      "items": {
        "$ref": "#/$defs/DynamicSkillDTO",
        "description": "Dynamic Skill."
      }
    },
    "userId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier of the user (agent) whose skill-based queues should be retrieved. Used by the user-and-skill-profile lookup endpoint."
    }
  },
  "$defs": {
    "DynamicSkillDTO": {
      "type": "object",
      "description": "Data transfer object representing a dynamic skill assignment with its value",
      "properties": {
        "skillId": {
          "type": "string",
          "description": "The unique identifier of the dynamic skill"
        },
        "textValue": {
          "type": "string",
          "description": "Text value for text-type dynamic skills"
        },
        "booleanValue": {
          "type": "boolean",
          "description": "Boolean value for boolean-type dynamic skills"
        },
        "proficiencyValue": {
          "type": "integer",
          "format": "int32",
          "description": "Proficiency value for proficiency-type dynamic skills (range: 0-10)"
        },
        "enumSkillValues": {
          "type": "array",
          "description": "Set of enumerated skill values for enum-type dynamic skills",
          "items": {
            "type": "string",
            "description": "Enum Skill Value."
          },
          "uniqueItems": true
        }
      }
    }
  }
}