{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/live-earnings-com/json-schema/live-earnings-com-call-release-schema.json",
  "title": "CallRelease",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/live-earnings-com-openapi.yaml#/components/schemas/CallRelease",
  "type": "object",
  "required": [
    "available"
  ],
  "properties": {
    "available": {
      "type": "boolean"
    },
    "sourceUrl": {
      "type": "string",
      "format": "uri",
      "description": "Where the release was published (SEC filing or company site)."
    },
    "sourceKind": {
      "type": "string",
      "enum": [
        "sec_exhibit",
        "ir_html",
        "ir_pdf"
      ]
    },
    "fetchedAt": {
      "type": "string",
      "format": "date-time"
    },
    "downloadUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Path of our stored copy, /api/release/<sha256>.<htm|pdf>."
    },
    "cards": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "quote",
          "line",
          "context",
          "amounts"
        ],
        "properties": {
          "quote": {
            "type": "string",
            "description": "One sentence of the release, verbatim, approved by a person against the original."
          },
          "line": {
            "type": "integer",
            "description": "Its line in the release text (cards are in release order)."
          },
          "context": {
            "type": [
              "object",
              "null"
            ],
            "description": "The release's own lead-in line for this sentence, verbatim (e.g. a guidance list's introduction).",
            "properties": {
              "quote": {
                "type": "string"
              },
              "line": {
                "type": "integer"
              }
            }
          },
          "amounts": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "description": "[start, end) offsets of the amounts in quote, for emphasis."
          }
        }
      }
    }
  }
}