{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phone-com/json-schema/phone-com-call-schema.json",
  "title": "Call",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phone-com-calls-api-openapi.yml#/components/schemas/Call",
  "type": "object",
  "properties": {
    "caller_phone_number": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\+?([0-9\\-\\(\\)\\s]*)$",
      "description": "Caller phone number"
    },
    "caller_extension": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Caller Extension ID (not the extension number)"
    },
    "caller_caller_id": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\+?([0-9\\-\\(\\)\\s]*)$",
      "description": "Caller ID shown on caller's phone when a call comes"
    },
    "caller_private": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Flag to set caller ID to private"
    },
    "callee_phone_number": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\+?([0-9\\-\\(\\)\\s]*)$",
      "description": "Callee phone number"
    },
    "callee_extension": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Callee Extension ID (not the extension number)"
    },
    "callee_caller_id": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\+?([0-9\\-\\(\\)\\s]*)$",
      "description": "Caller ID shown on callee's phone when a call comes"
    },
    "callee_private": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Flag to set callee ID to private"
    }
  }
}