{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tickerz-com/json-schema/tickerz-com-changelog-response-schema.json",
  "title": "ChangelogResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tickerz-com-openapi.json#/components/schemas/ChangelogResponse",
  "type": "object",
  "properties": {
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "ships": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "pr": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          }
        }
      }
    },
    "score_events": {
      "type": "array",
      "description": "Recent open and closed events",
      "items": {
        "$ref": "#/$defs/ChangelogEvent"
      }
    },
    "score_halted": {
      "type": "boolean",
      "description": "true when activity-score feeds are unavailable"
    },
    "heat_events": {
      "type": "array",
      "deprecated": true,
      "description": "Deprecated alias of score_events, the same events with kind resolved where score_events says closed. Remains until at least 2026-12-31.",
      "items": {
        "$ref": "#/$defs/ChangelogEvent"
      }
    },
    "heat_halted": {
      "type": "boolean",
      "deprecated": true,
      "description": "Deprecated alias of score_halted, same value. Remains until at least 2026-12-31."
    }
  },
  "$defs": {
    "ChangelogEvent": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "kind": {
          "type": "string",
          "enum": [
            "open",
            "closed",
            "resolved"
          ],
          "description": "open, or closed in score_events (its receipts may still be pending). heat_events carries the old value resolved for a closed event."
        },
        "symbol": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "opened_at": {
          "type": "string",
          "format": "date-time"
        },
        "peak_score": {
          "type": [
            "number",
            "null"
          ],
          "description": "Peak unusual trading score during the event"
        },
        "peak_heat": {
          "type": [
            "number",
            "null"
          ],
          "description": "Deprecated alias of peak_score, same value. Remains until at least 2026-12-31.",
          "deprecated": true
        },
        "score_at_open": {
          "type": [
            "number",
            "null"
          ],
          "description": "Unusual trading score of the tick that opened the event"
        }
      }
    }
  }
}