{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ListSupervisorObject",
  "title": "ListSupervisorObject",
  "type": "object",
  "required": [
    "id",
    "agentCount"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS81OGVkZTIwNi0yNTM5LTQ1ZjQtODg4Ny05M2E3ZWIwZWI3ZDI",
      "description": "A unique identifier for the supervisor."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "First name of the supervisor."
    },
    "lastName": {
      "type": "string",
      "example": "Smith",
      "description": "Last name of the supervisor."
    },
    "phoneNumber": {
      "type": "string",
      "example": "+19845550186",
      "description": "Primary phone number of the supervisor."
    },
    "extension": {
      "type": "string",
      "example": "12554",
      "description": "Primary phone extension of the supervisor."
    },
    "routingPrefix": {
      "type": "string",
      "example": "34",
      "description": "Routing prefix of location."
    },
    "esn": {
      "type": "string",
      "example": "3412554",
      "description": "Routing prefix + extension of a person."
    },
    "agentCount": {
      "type": "integer",
      "example": 2,
      "description": "Number of agents managed by supervisor. A supervisor must manage at least one agent."
    }
  }
}