{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quantustik-com/json-schema/quantustik-com-fear-greed-response-schema.json",
  "title": "FearGreedResponse",
  "description": "Fear & Greed index snapshot.\n\n``value`` / ``label`` / ``timestamp`` are the flat, documented contract.\nThe upstream payload nests the same data under ``current``\n({score, rating, updated_at}), which left all three declared fields null on\nthe wire; the route lifts them so the declared shape is the shape actually\nreturned. ``current`` / ``history`` / ``sub_indicator_scores`` still ride\nalong via ``extra=\"allow\"`` for the consumers that already read them.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quantustik-com-openapi.json#/components/schemas/FearGreedResponse",
  "properties": {
    "value": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Value",
      "description": "Index score, 0 (Extreme Fear) to 100 (Extreme Greed)."
    },
    "label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "Rating for the score, e.g. \"fear\", \"greed\"."
    },
    "timestamp": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timestamp",
      "description": "When the index was last updated (ISO 8601)."
    }
  },
  "additionalProperties": true,
  "type": "object"
}