{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-guest-calling-numbers-get-schema.json",
  "title": "GuestCallingNumbersGet",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-call-settings-for-me-phase-4-api-openapi.yml#/components/schemas/GuestCallingNumbersGet",
  "type": "object",
  "required": [
    "phoneNumbers"
  ],
  "properties": {
    "phoneNumbers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GuestCallingNumber"
      },
      "description": "List of phone numbers available for guest calling."
    }
  },
  "$defs": {
    "GuestCallingNumber": {
      "type": "object",
      "required": [
        "phoneNumber",
        "state",
        "isMainNumber"
      ],
      "properties": {
        "phoneNumber": {
          "type": "string",
          "description": "Phone number available for guest calling."
        },
        "state": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ],
          "description": " * `ACTIVE` - Phone number is in the active state.\n * `INACTIVE` - Phone number is in the inactive state.\n"
        },
        "isMainNumber": {
          "type": "boolean",
          "description": "Indicates whether this is the location's main number."
        }
      }
    }
  }
}