{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fintent-ai/json-schema/fintent-ai-history-point-schema.json",
  "title": "HistoryPoint",
  "description": "One week of signal for one signal type. Weeks with no signal are absent rather than zero-filled.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fintent-ai-openapi.yml#/components/schemas/HistoryPoint",
  "type": "object",
  "properties": {
    "signal_type": {
      "type": "string"
    },
    "week_start": {
      "type": "string",
      "format": "date"
    },
    "week_end": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "score": {
      "type": "integer"
    },
    "rating": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "topic_1": {
      "type": [
        "string",
        "null"
      ],
      "description": "First topic for regular signals (absent for Deal-Maker signals)"
    },
    "topic_2": {
      "type": [
        "string",
        "null"
      ]
    },
    "topic_3": {
      "type": [
        "string",
        "null"
      ]
    },
    "deal_maker_1": {
      "type": [
        "string",
        "null"
      ],
      "description": "First deal-maker for Deal-Maker signals (absent for regular signals)"
    },
    "deal_maker_2": {
      "type": [
        "string",
        "null"
      ]
    },
    "deal_maker_3": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}