{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/live-earnings-com/json-schema/live-earnings-com-call-meta-schema.json",
  "title": "CallMeta",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/live-earnings-com-openapi.yaml#/components/schemas/CallMeta",
  "type": "object",
  "required": [
    "callSlug",
    "tenantId",
    "ticker",
    "status",
    "roster",
    "rosterSource"
  ],
  "properties": {
    "callSlug": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "ticker": {
      "type": [
        "string",
        "null"
      ]
    },
    "fiscalPeriod": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "scheduled",
        "live",
        "ended",
        "unknown"
      ]
    },
    "elapsedSec": {
      "type": [
        "integer",
        "null"
      ]
    },
    "roster": {
      "type": [
        "object",
        "null"
      ],
      "description": "Null when the call has no stored roster (rosterSource none or error).",
      "required": [
        "ceo",
        "cfo",
        "ir",
        "extras"
      ],
      "properties": {
        "ceo": {
          "type": [
            "string",
            "null"
          ]
        },
        "cfo": {
          "type": [
            "string",
            "null"
          ]
        },
        "ir": {
          "type": [
            "string",
            "null"
          ]
        },
        "extras": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "participants": {
      "type": "array",
      "description": "Absent when the call has no stored roster.",
      "items": {
        "$ref": "#/$defs/Participant"
      }
    },
    "coveringAnalysts": {
      "type": "array",
      "description": "Absent when the call has no stored roster.",
      "items": {
        "$ref": "#/$defs/CoveringAnalyst"
      }
    },
    "companyLogoUrl": {
      "type": "string",
      "format": "uri-reference",
      "description": "The company's logo, served by Live Earnings, as a site-relative path (`/api/speaker-image/<sha256>.<jpg|png|webp>`); resolve it against https://live-earnings.com. Absent when the call has none."
    },
    "rosterSource": {
      "type": "string",
      "enum": [
        "db",
        "none",
        "error"
      ],
      "description": "Where the roster came from, as STORED at request time: `db` (the call's own stored roster), `none` (nothing stored for this exact call slug — turns publish unnamed), `error` (a stored roster failed validation — no names are served). A running session can trail it: one that had a roster follows a write made during the call within about 30 s; one that started without a roster keeps running without one."
    },
    "rosterUpdatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the stored roster was last written; null unless rosterSource is db."
    },
    "listed": {
      "type": "boolean",
      "description": "Whether the call is published on the account-level MCP endpoint (https://live-earnings.com/api/mcp, where you sign in with your Live Earnings account). Unlisted calls are reachable over MCP only with this call's key, at /api/mcp/{slug}."
    },
    "timing": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "upcoming",
        "live",
        "past",
        null
      ],
      "description": "When the call is, from the clock, as the /calls directory shows it. Unlike status, a call whose events stopped 30 minutes ago is past even if its status still says live. Null when the call has no row."
    },
    "scheduledStart": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the call is scheduled to start (UTC). Null when none is stored."
    },
    "tabs": {
      "type": "object",
      "description": "Whether the call has anything to show on its data surfaces: metrics is false when /metrics would answer 404 (the company is not covered); release is false when /release would answer available false (no release stored yet).",
      "properties": {
        "metrics": {
          "type": "boolean"
        },
        "release": {
          "type": "boolean"
        }
      }
    },
    "rosterProblems": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Operator-auth responses only, when rosterSource is error. Never sent to subscribers."
    },
    "sttEngine": {
      "type": "string",
      "description": "Operator-auth responses only; never sent to subscribers. The\nspeech engine code stored for this call (for example `aai` or\n`muse`). When the stored value is one this server does not\nknow, it is echoed as-is and `sttEngineSource` is `invalid`; the\ncall's audio ingest then refuses to start (503\n`stt_engine_not_available`). This is the stored choice; the engine\na running session uses is logged at session open.\n"
    },
    "sttEngineSource": {
      "type": "string",
      "enum": [
        "row",
        "default",
        "invalid"
      ],
      "description": "Operator-auth responses only. `row`: chosen for this call.\n`default`: nothing stored, so the default engine. `invalid`: see sttEngine.\n"
    },
    "operatorAudioUrl": {
      "type": "string",
      "description": "Operator-auth responses only. A direct audio URL for playback in the operator console."
    }
  },
  "$defs": {
    "CoveringAnalyst": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "firm": {
          "type": [
            "string",
            "null"
          ]
        },
        "firmDomain": {
          "type": "string",
          "description": "Used to render the firm's logo via logo.dev.\n"
        }
      }
    },
    "Participant": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri-reference",
          "description": "A photo of the executive, served by Live Earnings, as a site-relative path (`/api/speaker-image/<sha256>.<jpg|png|webp>`); resolve it against https://live-earnings.com. Null when there is no photo."
        },
        "role": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "ceo",
            "cfo",
            "ir",
            null
          ]
        },
        "brainSlug": {
          "type": "string",
          "description": "Reserved. A legacy identifier some older calls carry; it links to\nnothing. Ignore it.\n"
        }
      }
    }
  }
}