{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-call-flow-element-schema.json",
  "title": "CallFlowElement",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-application-configuration-api-openapi.yml#/components/schemas/CallFlowElement",
  "type": "object",
  "properties": {
    "elementName": {
      "type": "string",
      "description": "Name of the call flow element"
    },
    "elementType": {
      "type": "string",
      "enum": [
        "voice",
        "action",
        "decision",
        "subdialog"
      ],
      "description": "Type of element. Voice elements interact with the caller, action elements perform backend operations, decision elements control flow logic, and subdialog elements invoke sub-applications."
    },
    "description": {
      "type": "string"
    },
    "className": {
      "type": "string",
      "description": "Java class implementing the element"
    },
    "configParameters": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Element-specific configuration"
    },
    "exits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "targetElement": {
            "type": "string"
          }
        }
      },
      "description": "Element exit paths and their targets"
    }
  }
}