{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.EarningsCall",
  "title": "v3.EarningsCall",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roic-ai-content-api-openapi.yml#/components/schemas/v3.EarningsCall",
  "anyOf": [
    {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "object": {
          "const": "v3.content.earnings_call_transcript",
          "type": "string"
        },
        "symbol": {
          "type": "string"
        },
        "fiscal_year": {
          "minimum": 1990,
          "maximum": 2100,
          "anyOf": [
            {
              "format": "integer",
              "default": 0,
              "type": "string"
            },
            {
              "minimum": 1990,
              "maximum": 2100,
              "type": "integer"
            }
          ]
        },
        "fiscal_quarter": {
          "minimum": 1,
          "maximum": 4,
          "anyOf": [
            {
              "format": "integer",
              "default": 0,
              "type": "string"
            },
            {
              "minimum": 1,
              "maximum": 4,
              "type": "integer"
            }
          ]
        },
        "date": {
          "anyOf": [
            {
              "format": "date",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "minLength": 10,
              "maxLength": 10,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "transcript": {
          "type": "array",
          "items": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
              "speaker": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "text": {
                "type": "string"
              }
            },
            "required": [
              "speaker",
              "text"
            ],
            "$id": "#/components/schemas/v3.EarningsCallTranscriptTurn"
          }
        }
      },
      "required": [
        "id",
        "object",
        "symbol",
        "fiscal_year",
        "fiscal_quarter",
        "date",
        "transcript"
      ],
      "$id": "#/components/schemas/v3.EarningsCallJson"
    },
    {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "object": {
          "const": "v3.content.earnings_call_transcript",
          "type": "string"
        },
        "symbol": {
          "type": "string"
        },
        "fiscal_year": {
          "minimum": 1990,
          "maximum": 2100,
          "anyOf": [
            {
              "format": "integer",
              "default": 0,
              "type": "string"
            },
            {
              "minimum": 1990,
              "maximum": 2100,
              "type": "integer"
            }
          ]
        },
        "fiscal_quarter": {
          "minimum": 1,
          "maximum": 4,
          "anyOf": [
            {
              "format": "integer",
              "default": 0,
              "type": "string"
            },
            {
              "minimum": 1,
              "maximum": 4,
              "type": "integer"
            }
          ]
        },
        "date": {
          "anyOf": [
            {
              "format": "date",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "minLength": 10,
              "maxLength": 10,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "transcript": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "object",
        "symbol",
        "fiscal_year",
        "fiscal_quarter",
        "date",
        "transcript"
      ],
      "$id": "#/components/schemas/v3.EarningsCallText"
    }
  ]
}