{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-vxml-session-detail-schema.json",
  "title": "VxmlSessionDetail",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-session-monitoring-api-openapi.yml#/components/schemas/VxmlSessionDetail",
  "type": "object",
  "properties": {
    "sessionId": {
      "type": "string"
    },
    "callGuid": {
      "type": "string"
    },
    "applicationName": {
      "type": "string"
    },
    "startTime": {
      "type": "string",
      "format": "date-time"
    },
    "duration": {
      "type": "integer"
    },
    "currentElement": {
      "type": "string"
    },
    "callingNumber": {
      "type": "string"
    },
    "calledNumber": {
      "type": "string"
    },
    "sessionVariables": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "VXML session-level variables"
    },
    "elementHistory": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "elementName": {
            "type": "string"
          },
          "enteredAt": {
            "type": "string",
            "format": "date-time"
          },
          "exitedAt": {
            "type": "string",
            "format": "date-time"
          },
          "exitState": {
            "type": "string"
          }
        }
      },
      "description": "History of elements visited in this session"
    },
    "lastUserInput": {
      "type": "string",
      "description": "Last input received from the caller (DTMF or ASR result)"
    }
  }
}