Vapi · Schema

EventsTableNumberCondition

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
column string The number field name from the event data
operator string Number comparison operator
value number The number value to compare
View JSON Schema on GitHub

JSON Schema

vapi-eventstablenumbercondition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventsTableNumberCondition",
  "title": "EventsTableNumberCondition",
  "type": "object",
  "properties": {
    "column": {
      "type": "string",
      "description": "The number field name from the event data",
      "example": "latency"
    },
    "operator": {
      "type": "string",
      "description": "Number comparison operator",
      "example": ">=",
      "enum": [
        "=",
        "!=",
        ">",
        ">=",
        "<",
        "<="
      ]
    },
    "value": {
      "type": "number",
      "description": "The number value to compare",
      "example": 1000
    }
  },
  "required": [
    "column",
    "operator",
    "value"
  ]
}