{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-sequential-ring-criteria-get-schema.json",
  "title": "SequentialRingCriteriaGet",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-call-settings-for-me-with-userhub-phase3-api-openapi.yml#/components/schemas/SequentialRingCriteriaGet",
  "type": "object",
  "required": [
    "id",
    "scheduleName",
    "scheduleType",
    "scheduleLevel",
    "callsFrom",
    "ringEnabled"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for criteria."
    },
    "scheduleName": {
      "type": "string",
      "description": "Name of the location's schedule which determines when the sequential ring is in effect."
    },
    "scheduleType": {
      "type": "string",
      "enum": [
        "holidays",
        "businessHours"
      ],
      "description": "The type of schedule.\n * `holidays` - The Schedule is of type `holidays`.\n * `businessHours` - The Schedule is of type `businessHours`.\n"
    },
    "scheduleLevel": {
      "type": "string",
      "enum": [
        "GROUP"
      ],
      "description": "This indicates the level of the schedule specified by `scheduleName`.\n * `GROUP` - The Schedule specified is of `GROUP` level.\n"
    },
    "callsFrom": {
      "type": "string",
      "enum": [
        "SELECT_PHONE_NUMBERS",
        "ANY_PHONE_NUMBER"
      ],
      "description": "This indicates if criteria are applicable for calls from any phone number or selected phone numbers.\n * `SELECT_PHONE_NUMBERS` - Sequential ring criteria only apply for selected incoming numbers.\n * `ANY_PHONE_NUMBER` - Sequential ring criteria apply for any incoming number.\n"
    },
    "anonymousCallersEnabled": {
      "type": "boolean",
      "description": "When `true` incoming calls from private numbers are allowed. This is only applicable when `callsFrom` is set to `SELECT_PHONE_NUMBERS`."
    },
    "unavailableCallersEnabled": {
      "type": "boolean",
      "description": "When `true` incoming calls from unavailable numbers are allowed. This is only applicable when `callsFrom` is set to `SELECT_PHONE_NUMBERS`."
    },
    "phoneNumbers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "When callsFrom is set to `SELECT_PHONE_NUMBERS`, indicates a list of incoming phone numbers for which the criteria apply."
    },
    "ringEnabled": {
      "type": "boolean",
      "description": "When set to `true` sequential ringing is enabled for calls that meet the current criteria. Criteria with `ringEnabled` set to `false` take priority."
    }
  }
}