{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rayana-ai/json-schema/rayana-ai-ticker-analyst-brief-schema.json",
  "title": "TickerAnalystBrief",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rayana-ai-openapi.json#/components/schemas/TickerAnalystBrief",
  "properties": {
    "ticker": {
      "type": "string",
      "title": "Ticker"
    },
    "analysis_date": {
      "type": "string",
      "title": "Analysis Date"
    },
    "lean": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lean"
    },
    "conviction": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conviction"
    },
    "thesis": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thesis"
    },
    "sections": {
      "anyOf": [
        {
          "additionalProperties": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sections"
    },
    "evidence_for": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Evidence For",
      "default": []
    },
    "evidence_against": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Evidence Against",
      "default": []
    },
    "invalidation": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invalidation"
    },
    "changed_since_last": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Changed Since Last"
    },
    "version": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Version"
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model"
    },
    "cost_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cost Usd"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At"
    },
    "cached": {
      "type": "boolean",
      "title": "Cached",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "ticker",
    "analysis_date"
  ]
}