changedOutput schema / properties / result / items / anyOf
Previous value: -[
- {
- "properties": {
- "analysis": {
- "anyOf": [
- {
- "properties": {
- "actionability": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "alternative_perspectives": {
- "anyOf": [
- {
- "properties": {
- "contrarian_view": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "overlooked_factors": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "background_context": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "indirect_market_effects": {
- "anyOf": [
- {
- "properties": {
- "global_market_relevance": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "regional_market_impact": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "sector_implications": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "information_novelty": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "key_entities": {
- "items": {
- "properties": {
- "description": {
- "default": "",
- "type": "string"
- },
- "entity_type": {
- "default": "",
- "type": "string"
- },
- "name": {
- "default": "",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "market_relevance_summary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "market_sentiment_alignment": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "ticker_analysis": {
- "items": {
- "properties": {
- "confidence": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "price_impact_prediction": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "reasoning": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "relevance_context": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "sentiment": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "ticker"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "timing_relevance": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "banner_image": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "category": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "earnings": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "event": {
- "anyOf": [
- {
- "description": "The corporate event an SEC 8-K, a 6-K earnings release or a PR Newswire\nrelease reports. ``type`` is what the document is about first of all;\n``role`` is the reporting company's side (issuer, acquirer, target,\ncustomer, supplier, other); ``stage`` (for ``m_and_a`` and ``offering``)\nand ``counterparty`` repeat the facts of the same names. ``facts`` are\nquoted from the document, and a fact whose quote is not found there is\nwithheld: ``verified`` is false when that happened or while the facts are\nstill being read, and the facts present have passed the check either way.\n``also`` lists the other events of the same document; the ``event_type``\nargument matches them too. Types settled by the 8-K item alone\n(``shareholder_vote``, ``bankruptcy``, ``restructuring``,\n``listing_notice`` from an item 3.01) carry no facts. AI-generated from\nthe document; check the filing before acting on a number.",
- "properties": {
- "also": {
- "items": {
- "description": "Another event reported in the same document as the main one, typically\na dividend, a buyback or a guidance change inside an earnings release.",
- "properties": {
- "facts": {
- "items": {
- "description": "One fact of a corporate event, quoted from the document. ``value`` is\nthe document's own wording (``$25 billion``, ``Dec. 21, 2026``) and was\nfound in its text before being published; for enumerated facts (``action``,\n``kind``, ``stage``, ``direction``, ``consideration``, ``frequency``,\n``milestone``, ``is_increase``, ``is_reverse``, ``upsized``, ``currency``)\nit is the normalized value (``resigned``, ``raise``, ``true``). ``number``\nis parsed from ``value``: the single figure or the low end of a range,\nwith ``number_high`` the high end (``$6.50 to $6.90`` gives 6.5 and 6.9),\nin the stated ``scale`` (``$2.5 billion`` gives 2.5 and ``billions``);\n``unit`` is a currency code, ``percent`` or ``bps``. All four are null for\ntext, dates and enumerated facts.",
- "properties": {
- "name": {
- "type": "string"
- },
- "number": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "number_high": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "scale": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "unit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "description": "What a company document is about: the type of the corporate event it reports.",
- "enum": [
- "earnings",
- "earnings_date",
- "exec_change",
- "m_and_a",
- "offering",
- "debt_financing",
- "dividend",
- "buyback",
- "contract_award",
- "guidance_update",
- "stock_split",
- "listing_notice",
- "shareholder_vote",
- "bankruptcy",
- "restructuring",
- "clinical_regulatory",
- "other"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "counterparty": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "facts": {
- "items": {
- "description": "One fact of a corporate event, quoted from the document. ``value`` is\nthe document's own wording (``$25 billion``, ``Dec. 21, 2026``) and was\nfound in its text before being published; for enumerated facts (``action``,\n``kind``, ``stage``, ``direction``, ``consideration``, ``frequency``,\n``milestone``, ``is_increase``, ``is_reverse``, ``upsized``, ``currency``)\nit is the normalized value (``resigned``, ``raise``, ``true``). ``number``\nis parsed from ``value``: the single figure or the low end of a range,\nwith ``number_high`` the high end (``$6.50 to $6.90`` gives 6.5 and 6.9),\nin the stated ``scale`` (``$2.5 billion`` gives 2.5 and ``billions``);\n``unit`` is a currency code, ``percent`` or ``bps``. All four are null for\ntext, dates and enumerated facts.",
- "properties": {
- "name": {
- "type": "string"
- },
- "number": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "number_high": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "scale": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "unit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "stage": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "type": {
- "description": "What a company document is about: the type of the corporate event it reports.",
- "enum": [
- "earnings",
- "earnings_date",
- "exec_change",
- "m_and_a",
- "offering",
- "debt_financing",
- "dividend",
- "buyback",
- "contract_award",
- "guidance_update",
- "stock_split",
- "listing_notice",
- "shareholder_vote",
- "bankruptcy",
- "restructuring",
- "clinical_regulatory",
- "other"
- ],
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "required": [
- "type",
- "verified"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "filing": {
- "anyOf": [
- {
- "description": "Structured SEC 8-K filing block (``source_type == \"sec_form8k\"`` items on\nthe news tools).\n\nA read-only projection of the 8-K sidecar\n(``apps.data.models.EightKEventModel``) — same fields and semantics as the\nREST ``/api/news/`` block (openapi.yaml: ``EightKFiling``): ``items`` is\nevery item code the filing carries (the ``item`` filter matches any of\nthem; empty for a header-only filing), ``primary_item`` the one that drove\nthe category, ``accession_number`` the id to cite, ``filed_at`` EDGAR's\nacceptance time, ``event_date`` the filing's own date of report and\n``exhibit_url`` the press-release exhibit the summary was built from.\nDates are ISO strings like the insider block; empty sidecar strings are\n``null``, never ``\"\"``.",
- "properties": {
- "accession_number": {
- "type": "string"
- },
- "event_date": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "exhibit_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "filed_at": {
- "type": "string"
- },
- "items": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "primary_item": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "items",
- "accession_number",
- "filed_at"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "insider": {
- "anyOf": [
- {
- "description": "Structured SEC Form 4 event block (``alphai_insider_news`` items only).\n\nAggregate of the news row's whole transaction group — same semantics as the\nREST ``/api/news/insider/`` block (openapi.yaml: ``InsiderEvent``): shares and\nvalue are GROUP sums (a 10b5-1 ladder is one event), ``avg_price_usd`` is\nvalue-weighted over priced tranches, ``is_10b5_1`` is the group OR, the\nlast fill dates the event. ``side`` is the signal label: buy (P) / sell (S)\n/ other (everything else, incl. D — sale to issuer, a buyback/redemption,\nnot an open-market disposition); the raw ``transaction_code`` rides along.\nMoney/share fields are decimal STRINGS (\"25000\", \"187.32\") — flat, precise,\nschema-simple; null when the filing prices no tranche.\n\n``filed_at`` is when EDGAR accepted the filing and ``late_filing`` marks the\nones that missed the SEC's two-business-day deadline; the rule lives in\n``_is_late_filing`` in ``repository.py`` (ported from the backend's\n``apps.insider.services.filing_lateness``). Field reference for both\nsurfaces: ``backend/openapi.yaml`` (``InsiderEvent``).\n\n``decision`` / ``decision_reason`` label a sale: the insider's own decision,\na plan or paperwork, or not readable; null when the event holds no sale.",
- "properties": {
- "avg_price_usd": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "decision": {
- "anyOf": [
- {
- "description": "Was the sale the insider's own decision: discretionary, plan_like or unknown.",
- "enum": [
- "discretionary",
- "plan_like",
- "unknown"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Was the sale the insider's own decision? discretionary: the insider chose to sell. plan_like: the sale follows from a 10b5-1 plan or from paperwork (tax on vesting, an option exercise cover). unknown: the filing does not let us tell. Several sales: discretionary if any is, else unknown if any is, else plan_like. null when the event holds no sale. The label can be revised as the reading rules improve; sort='ingested' does not send a revised event again."
- },
- "decision_reason": {
- "anyOf": [
- {
- "description": "Why the sale got its decision.",
- "enum": [
- "plan_10b5_1",
- "tax_withholding",
- "exercise_cover",
- "stated_non_discretionary",
- "exercise_and_sell",
- "sold_all_vested",
- "partial_vest_sale",
- "cover_ambiguous",
- "mixed_acquisitions",
- "price_disputed",
- "open_market",
- "no_lines"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Why the event got its decision, from the largest sale that set it. plan_like: plan_10b5_1 (can come with is_10b5_1 false when a footnote names the plan), tax_withholding, exercise_cover, stated_non_discretionary. discretionary: open_market, exercise_and_sell, sold_all_vested. unknown: partial_vest_sale, cover_ambiguous, mixed_acquisitions, price_disputed, no_lines (we do not hold the rest of the filing). null when decision is null or no reason is recorded."
- },
- "filed_at": {
- "type": "string"
- },
- "insider_name": {
- "type": "string"
- },
- "insider_title": {
- "type": "string"
- },
- "is_10b5_1": {
- "type": "boolean"
- },
- "is_director": {
- "type": "boolean"
- },
- "is_officer": {
- "type": "boolean"
- },
- "is_ten_percent_owner": {
- "type": "boolean"
- },
- "late_filing": {
- "type": "boolean"
- },
- "shares": {
- "type": "string"
- },
- "side": {
- "type": "string"
- },
- "total_value_usd": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "transaction_code": {
- "type": "string"
- },
- "transaction_date": {
- "type": "string"
- }
- },
- "required": [
- "side",
- "transaction_code",
- "shares",
- "is_10b5_1",
- "insider_name",
- "insider_title",
- "is_officer",
- "is_director",
- "is_ten_percent_owner",
- "transaction_date",
- "filed_at",
- "late_filing"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "ownership_form": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "read_time_minutes": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "relevance_score": {
- "type": "integer"
- },
- "search_match": {
- "anyOf": [
- {
- "description": "Per-item evidence from the text path: ``score`` orders the page (cover\ndensity × recency; comparable within one response, not a probability),\n``terms_matched`` is set in broadened mode, ``context`` marks the matched\nwords in the summary with ``**``.",
- "properties": {
- "context": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "score": {
- "type": "number"
- },
- "terms_matched": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "score"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "source": {
- "type": "string"
- },
- "source_domain": {
- "type": "string"
- },
- "source_type": {
- "default": "",
- "type": "string"
- },
- "sources": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "sources_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "story_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "summary": {
- "type": "string"
- },
- "tickers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "time_published": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "uid": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "uid",
- "title",
- "url",
- "source",
- "source_domain",
- "summary",
- "category",
- "relevance_score",
- "time_published",
- "created_at"
- ],
- "type": "object"
- },
- {
- "description": "Opt-in feed projection. Expand ``uid`` with ``alphai_article``.\n\nOnly the two scalar analysis signals survive, at the top level. Summary,\nanalysis prose, images and SEC detail blocks are absent, not truncated.\nSearch evidence and Form 4 ownership remain so triage keeps its meaning.",
- "properties": {
- "actionability": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "category": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "information_novelty": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "ownership_form": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "relevance_score": {
- "type": "integer"
- },
- "search_match": {
- "anyOf": [
- {
- "description": "Per-item evidence from the text path: ``score`` orders the page (cover\ndensity × recency; comparable within one response, not a probability),\n``terms_matched`` is set in broadened mode, ``context`` marks the matched\nwords in the summary with ``**``.",
- "properties": {
- "context": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "score": {
- "type": "number"
- },
- "terms_matched": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "score"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "type": "string"
- },
- "source_domain": {
- "type": "string"
- },
- "source_type": {
- "type": "string"
- },
- "sources": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "sources_count": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "story_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tickers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "time_published": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "uid": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "uid",
- "title",
- "url",
- "source",
- "source_domain",
- "source_type",
- "time_published",
- "created_at",
- "tickers",
- "category",
- "relevance_score",
- "actionability",
- "information_novelty",
- "story_id",
- "sources_count",
- "sources",
- "ownership_form",
- "search_match"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "analysis": {
+ "anyOf": [
+ {
+ "properties": {
+ "actionability": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "alternative_perspectives": {
+ "anyOf": [
+ {
+ "properties": {
+ "contrarian_view": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "overlooked_factors": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "background_context": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "indirect_market_effects": {
+ "anyOf": [
+ {
+ "properties": {
+ "global_market_relevance": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "regional_market_impact": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "sector_implications": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "information_novelty": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "key_entities": {
+ "items": {
+ "properties": {
+ "description": {
+ "default": "",
+ "type": "string"
+ },
+ "entity_type": {
+ "default": "",
+ "type": "string"
+ },
+ "name": {
+ "default": "",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "market_relevance_summary": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "market_sentiment_alignment": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "ticker_analysis": {
+ "items": {
+ "properties": {
+ "confidence": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "price_impact_prediction": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "reasoning": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "relevance_context": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "sentiment": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "timing_relevance": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "banner_image": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "category": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "earnings": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "event": {
+ "anyOf": [
+ {
+ "description": "The corporate event an SEC 8-K, a 6-K earnings release or a PR Newswire\nrelease reports. ``type`` is what the document is about first of all;\n``role`` is the reporting company's side (issuer, acquirer, target,\nseller, customer, supplier, other); ``stage`` (for ``m_and_a`` and ``offering``)\nand ``counterparty`` repeat the facts of the same names. ``facts`` are\nquoted from the document, and a fact whose quote is not found there is\nwithheld: ``verified`` is false when that happened or while the facts are\nstill being read, and the facts present have passed the check either way.\n``also`` lists the other events of the same document; the ``event_type``\nargument matches them too. Types settled by the 8-K item alone\n(``shareholder_vote``, ``bankruptcy``, ``restructuring``,\n``listing_notice`` from an item 3.01) carry no facts. AI-generated from\nthe document; check the filing before acting on a number.",
+ "properties": {
+ "also": {
+ "items": {
+ "description": "Another event reported in the same document as the main one, typically\na dividend, a buyback or a guidance change inside an earnings release; or\none more part of the main event (a further note tranche, offering or\nexecutive), which then repeats its type.",
+ "properties": {
+ "facts": {
+ "items": {
+ "description": "One fact of a corporate event, quoted from the document. ``value`` is\nthe document's own wording (``$25 billion``, ``Dec. 21, 2026``) and was\nfound in its text before being published; for enumerated facts (``action``,\n``kind``, ``stage``, ``direction``, ``consideration``, ``frequency``,\n``milestone``, ``is_increase``, ``is_reverse``, ``upsized``, ``currency``)\nit is the normalized value (``resigned``, ``raise``, ``narrow``, ``true``). ``number``\nis parsed from ``value``: the single figure or the low end of a range,\nwith ``number_high`` the high end (``$6.50 to $6.90`` gives 6.5 and 6.9),\nin the stated ``scale`` (``$2.5 billion`` gives 2.5 and ``billions``);\n``unit`` is a currency code, ``percent`` or ``bps``. All four are null for\ntext, dates and enumerated facts.",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "number_high": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "scale": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "unit": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "What a company document is about: the type of the corporate event it reports.",
+ "enum": [
+ "earnings",
+ "earnings_date",
+ "exec_change",
+ "m_and_a",
+ "offering",
+ "debt_financing",
+ "dividend",
+ "buyback",
+ "contract_award",
+ "guidance_update",
+ "stock_split",
+ "listing_notice",
+ "shareholder_vote",
+ "bankruptcy",
+ "restructuring",
+ "clinical_regulatory",
+ "other"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "counterparty": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "facts": {
+ "items": {
+ "description": "One fact of a corporate event, quoted from the document. ``value`` is\nthe document's own wording (``$25 billion``, ``Dec. 21, 2026``) and was\nfound in its text before being published; for enumerated facts (``action``,\n``kind``, ``stage``, ``direction``, ``consideration``, ``frequency``,\n``milestone``, ``is_increase``, ``is_reverse``, ``upsized``, ``currency``)\nit is the normalized value (``resigned``, ``raise``, ``narrow``, ``true``). ``number``\nis parsed from ``value``: the single figure or the low end of a range,\nwith ``number_high`` the high end (``$6.50 to $6.90`` gives 6.5 and 6.9),\nin the stated ``scale`` (``$2.5 billion`` gives 2.5 and ``billions``);\n``unit`` is a currency code, ``percent`` or ``bps``. All four are null for\ntext, dates and enumerated facts.",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "number": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "number_high": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "scale": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "unit": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "stage": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "type": {
+ "description": "What a company document is about: the type of the corporate event it reports.",
+ "enum": [
+ "earnings",
+ "earnings_date",
+ "exec_change",
+ "m_and_a",
+ "offering",
+ "debt_financing",
+ "dividend",
+ "buyback",
+ "contract_award",
+ "guidance_update",
+ "stock_split",
+ "listing_notice",
+ "shareholder_vote",
+ "bankruptcy",
+ "restructuring",
+ "clinical_regulatory",
+ "other"
+ ],
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "type",
+ "verified"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "filing": {
+ "anyOf": [
+ {
+ "description": "Structured SEC 8-K filing block (``source_type == \"sec_form8k\"`` items on\nthe news tools).\n\nA read-only projection of the 8-K sidecar\n(``apps.data.models.EightKEventModel``) — same fields and semantics as the\nREST ``/api/news/`` block (openapi.yaml: ``EightKFiling``): ``items`` is\nevery item code the filing carries (the ``item`` filter matches any of\nthem; empty for a header-only filing), ``primary_item`` the one that drove\nthe category, ``accession_number`` the id to cite, ``filed_at`` EDGAR's\nacceptance time, ``event_date`` the filing's own date of report and\n``exhibit_url`` the press-release exhibit the summary was built from.\nDates are ISO strings like the insider block; empty sidecar strings are\n``null``, never ``\"\"``.",
+ "properties": {
+ "accession_number": {
+ "type": "string"
+ },
+ "event_date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "exhibit_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "filed_at": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "primary_item": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "items",
+ "accession_number",
+ "filed_at"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "insider": {
+ "anyOf": [
+ {
+ "description": "Structured SEC Form 4 event block (``alphai_insider_news`` items only).\n\nAggregate of the news row's whole transaction group — same semantics as the\nREST ``/api/news/insider/`` block (openapi.yaml: ``InsiderEvent``): shares and\nvalue are GROUP sums (a 10b5-1 ladder is one event), ``avg_price_usd`` is\nvalue-weighted over priced tranches, ``is_10b5_1`` is the group OR, the\nlast fill dates the event. ``side`` is the signal label: buy (P) / sell (S)\n/ other (everything else, incl. D — sale to issuer, a buyback/redemption,\nnot an open-market disposition); the raw ``transaction_code`` rides along.\nMoney/share fields are decimal STRINGS (\"25000\", \"187.32\") — flat, precise,\nschema-simple; null when the filing prices no tranche.\n\n``filed_at`` is when EDGAR accepted the filing and ``late_filing`` marks the\nones that missed the SEC's two-business-day deadline; the rule lives in\n``_is_late_filing`` in ``repository.py`` (ported from the backend's\n``apps.insider.services.filing_lateness``). Field reference for both\nsurfaces: ``backend/openapi.yaml`` (``InsiderEvent``).\n\n``decision`` / ``decision_reason`` label a sale: the insider's own decision,\na plan or paperwork, or not readable; null when the event holds no sale.",
+ "properties": {
+ "avg_price_usd": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "decision": {
+ "anyOf": [
+ {
+ "description": "Was the sale the insider's own decision: discretionary, plan_like or unknown.",
+ "enum": [
+ "discretionary",
+ "plan_like",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Was the sale the insider's own decision? discretionary: the insider chose to sell. plan_like: the sale follows from a 10b5-1 plan or from paperwork (tax on vesting, an option exercise cover). unknown: the filing does not let us tell. Several sales: discretionary if any is, else unknown if any is, else plan_like. null when the event holds no sale. The label can be revised as the reading rules improve; sort='ingested' does not send a revised event again."
+ },
+ "decision_reason": {
+ "anyOf": [
+ {
+ "description": "Why the sale got its decision.",
+ "enum": [
+ "plan_10b5_1",
+ "tax_withholding",
+ "exercise_cover",
+ "stated_non_discretionary",
+ "exercise_and_sell",
+ "sold_all_vested",
+ "partial_vest_sale",
+ "cover_ambiguous",
+ "mixed_acquisitions",
+ "price_disputed",
+ "open_market",
+ "no_lines"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Why the event got its decision, from the largest sale that set it. plan_like: plan_10b5_1 (can come with is_10b5_1 false when a footnote names the plan), tax_withholding, exercise_cover, stated_non_discretionary. discretionary: open_market, exercise_and_sell, sold_all_vested. unknown: partial_vest_sale, cover_ambiguous, mixed_acquisitions, price_disputed, no_lines (we do not hold the rest of the filing). null when decision is null or no reason is recorded."
+ },
+ "filed_at": {
+ "type": "string"
+ },
+ "insider_name": {
+ "type": "string"
+ },
+ "insider_title": {
+ "type": "string"
+ },
+ "is_10b5_1": {
+ "type": "boolean"
+ },
+ "is_director": {
+ "type": "boolean"
+ },
+ "is_officer": {
+ "type": "boolean"
+ },
+ "is_ten_percent_owner": {
+ "type": "boolean"
+ },
+ "late_filing": {
+ "type": "boolean"
+ },
+ "shares": {
+ "type": "string"
+ },
+ "side": {
+ "type": "string"
+ },
+ "total_value_usd": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "transaction_code": {
+ "type": "string"
+ },
+ "transaction_date": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "side",
+ "transaction_code",
+ "shares",
+ "is_10b5_1",
+ "insider_name",
+ "insider_title",
+ "is_officer",
+ "is_director",
+ "is_ten_percent_owner",
+ "transaction_date",
+ "filed_at",
+ "late_filing"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "ownership_form": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "read_time_minutes": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "relevance_score": {
+ "type": "integer"
+ },
+ "search_match": {
+ "anyOf": [
+ {
+ "description": "Per-item evidence from the text path: ``score`` orders the page (cover\ndensity × recency; comparable within one response, not a probability),\n``terms_matched`` is set in broadened mode, ``context`` marks the matched\nwords in the summary with ``**``.",
+ "properties": {
+ "context": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "score": {
+ "type": "number"
+ },
+ "terms_matched": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "score"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "source": {
+ "type": "string"
+ },
+ "source_domain": {
+ "type": "string"
+ },
+ "source_type": {
+ "default": "",
+ "type": "string"
+ },
+ "sources": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "sources_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "story_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "summary": {
+ "type": "string"
+ },
+ "tickers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "time_published": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "uid": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "uid",
+ "title",
+ "url",
+ "source",
+ "source_domain",
+ "summary",
+ "category",
+ "relevance_score",
+ "time_published",
+ "created_at"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Opt-in feed projection. Expand ``uid`` with ``alphai_article``.\n\nOnly the two scalar analysis signals survive, at the top level. Summary,\nanalysis prose, images and SEC detail blocks are absent, not truncated.\nSearch evidence and Form 4 ownership remain so triage keeps its meaning.",
+ "properties": {
+ "actionability": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "category": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "information_novelty": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ownership_form": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "relevance_score": {
+ "type": "integer"
+ },
+ "search_match": {
+ "anyOf": [
+ {
+ "description": "Per-item evidence from the text path: ``score`` orders the page (cover\ndensity × recency; comparable within one response, not a probability),\n``terms_matched`` is set in broadened mode, ``context`` marks the matched\nwords in the summary with ``**``.",
+ "properties": {
+ "context": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "score": {
+ "type": "number"
+ },
+ "terms_matched": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "score"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "source_domain": {
+ "type": "string"
+ },
+ "source_type": {
+ "type": "string"
+ },
+ "sources": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sources_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "story_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tickers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "time_published": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "uid": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "uid",
+ "title",
+ "url",
+ "source",
+ "source_domain",
+ "source_type",
+ "time_published",
+ "created_at",
+ "tickers",
+ "category",
+ "relevance_score",
+ "actionability",
+ "information_novelty",
+ "story_id",
+ "sources_count",
+ "sources",
+ "ownership_form",
+ "search_match"
+ ],
+ "type": "object"
+ }
+]