{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/erzycall-com/json-schema/erzycall-com-post-api-v1-calls-response-schema.json",
  "title": "PostApiV1CallsResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/erzycall-com-openapi-generated.yml#/components/schemas/PostApiV1CallsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "direction": {
          "type": "string"
        },
        "callTo": {
          "type": "string"
        },
        "callFrom": {
          "type": "string"
        },
        "caseId": {
          "type": "string"
        },
        "contactId": {
          "type": "string"
        },
        "assistantConfigId": {
          "type": [
            "string",
            "null"
          ]
        },
        "firstMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "apiCallId": {
          "type": [
            "string",
            "null"
          ]
        },
        "apiCallStatus": {
          "type": [
            "string",
            "null"
          ]
        },
        "endedReason": {
          "type": [
            "string",
            "null"
          ]
        },
        "resultStatus": {
          "type": [
            "string",
            "null"
          ]
        },
        "recordingUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "durationSeconds": {
          "type": [
            "string",
            "null"
          ]
        },
        "variableValues": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "company": {
              "type": "string"
            }
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}