{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphaai/json-schema/alphaai-watchlist-brief-dto-schema.json",
  "title": "WatchlistBriefDTO",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphaai-news-api-openapi.yml#/components/schemas/WatchlistBriefDTO",
  "properties": {
    "generated_at": {
      "format": "date-time",
      "title": "Generated At",
      "type": "string"
    },
    "window_start": {
      "format": "date-time",
      "title": "Window Start",
      "type": "string"
    },
    "window_end": {
      "format": "date-time",
      "title": "Window End",
      "type": "string"
    },
    "hours": {
      "title": "Hours",
      "type": "integer"
    },
    "tickers": {
      "items": {
        "type": "string"
      },
      "title": "Tickers",
      "type": "array"
    },
    "unknown_tickers": {
      "items": {
        "type": "string"
      },
      "title": "Unknown Tickers",
      "type": "array"
    },
    "events": {
      "items": {
        "$ref": "#/$defs/BriefEventDTO"
      },
      "title": "Events",
      "type": "array"
    },
    "filings": {
      "items": {
        "$ref": "#/$defs/BriefEventDTO"
      },
      "title": "Filings",
      "type": "array"
    },
    "upcoming_earnings": {
      "items": {
        "$ref": "#/$defs/BriefEarningsDateDTO"
      },
      "title": "Upcoming Earnings",
      "type": "array"
    },
    "events_truncated": {
      "default": false,
      "title": "Events Truncated",
      "type": "boolean"
    },
    "filings_truncated": {
      "default": false,
      "title": "Filings Truncated",
      "type": "boolean"
    }
  },
  "required": [
    "generated_at",
    "window_start",
    "window_end",
    "hours",
    "tickers",
    "unknown_tickers",
    "events",
    "filings",
    "upcoming_earnings"
  ],
  "type": "object",
  "$defs": {
    "BriefEarningsDateDTO": {
      "properties": {
        "ticker": {
          "title": "Ticker",
          "type": "string"
        },
        "report_date": {
          "format": "date",
          "title": "Report Date",
          "type": "string"
        }
      },
      "required": [
        "ticker",
        "report_date"
      ],
      "title": "BriefEarningsDateDTO",
      "type": "object"
    },
    "BriefEventDTO": {
      "properties": {
        "uid": {
          "title": "Uid",
          "type": "string"
        },
        "story_id": {
          "title": "Story Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "summary": {
          "title": "Summary",
          "type": "string"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "article_url": {
          "title": "Article Url",
          "type": "string"
        },
        "source_domain": {
          "title": "Source Domain",
          "type": "string"
        },
        "source_type": {
          "title": "Source Type",
          "type": "string"
        },
        "time_published": {
          "format": "date-time",
          "title": "Time Published",
          "type": "string"
        },
        "matched_tickers": {
          "items": {
            "type": "string"
          },
          "title": "Matched Tickers",
          "type": "array"
        },
        "category": {
          "title": "Category",
          "type": "string"
        },
        "relevance_score": {
          "title": "Relevance Score",
          "type": "integer"
        },
        "information_novelty": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Information Novelty"
        },
        "actionability": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Actionability"
        },
        "signals": {
          "items": {
            "$ref": "#/$defs/BriefSignalDTO"
          },
          "title": "Signals",
          "type": "array"
        },
        "earnings_available": {
          "default": false,
          "title": "Earnings Available",
          "type": "boolean"
        }
      },
      "required": [
        "uid",
        "story_id",
        "title",
        "summary",
        "url",
        "article_url",
        "source_domain",
        "source_type",
        "time_published",
        "matched_tickers",
        "category",
        "relevance_score"
      ],
      "title": "BriefEventDTO",
      "type": "object"
    },
    "BriefSignalDTO": {
      "properties": {
        "ticker": {
          "title": "Ticker",
          "type": "string"
        },
        "sentiment": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sentiment"
        }
      },
      "required": [
        "ticker"
      ],
      "title": "BriefSignalDTO",
      "type": "object"
    }
  }
}