{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coinxview-com/json-schema/coinxview-com-fear-greed-schema.json",
  "title": "FearGreed",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinxview-com-openapi.json#/components/schemas/FearGreed",
  "type": "object",
  "properties": {
    "updated": {
      "type": "integer",
      "description": "Server time when the response was built (unix milliseconds)."
    },
    "now": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "value": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "label": {
          "type": "string",
          "enum": [
            "Extreme fear",
            "Fear",
            "Neutral",
            "Greed",
            "Extreme greed"
          ]
        },
        "time": {
          "type": "integer",
          "description": "Unix seconds."
        }
      }
    },
    "history": {
      "type": "array",
      "maxItems": 90,
      "items": {
        "type": "object",
        "properties": {
          "time": {
            "type": "integer",
            "description": "Unix seconds."
          },
          "value": {
            "type": "integer"
          }
        }
      }
    },
    "method": {
      "type": "string",
      "description": "Methodology page.",
      "format": "uri"
    }
  }
}