{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BlockingDisableCallingLocation",
  "title": "BlockingDisableCallingLocation",
  "type": "object",
  "description": "Factors that completely block disabling a calling location.",
  "properties": {
    "lastLocation": {
      "type": "boolean",
      "description": "Indicates if this is the last calling location in the organization."
    },
    "trunksInUseCount": {
      "type": "integer",
      "description": "Number of trunks in use at this location."
    },
    "usersInUseCount": {
      "type": "integer",
      "description": "Number of users in use at this location."
    },
    "workspacesInUseCount": {
      "type": "integer",
      "description": "Number of workspaces in use at this location."
    },
    "virtualLineInUseCount": {
      "type": "integer",
      "description": "Number of virtual lines in use at this location."
    },
    "numbersOrderPending": {
      "type": "boolean",
      "description": "Indicates if there are pending number orders for this location."
    }
  }
}