{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aicomputeradar-dev/json-schema/aicomputeradar-dev-history-point-schema.json",
  "title": "HistoryPoint",
  "description": "One UTC day of one class at one source. kind says whether medianUsd is a marketplace median or a posted list price; the two are never blended.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/aicomputeradar-dev-v1-openapi.json#/components/schemas/HistoryPoint",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "Source key: vast, clore, runpod, aws, azure, oracle, lambda, nebius, coreweave, hyperstack."
    },
    "kind": {
      "type": "string",
      "enum": [
        "median",
        "list"
      ]
    },
    "gpu": {
      "type": "string"
    },
    "day": {
      "type": "string",
      "format": "date"
    },
    "capturedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The day's newest hourly reading."
    },
    "medianUsd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Median of the day's counted hourly medians (marketplaces) or the posted price (list sources), USD per GPU-hour."
    },
    "minUsd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Lowest hourly minimum of the day; null for list prices."
    },
    "p75Usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Upper quartile of the day; null for list prices."
    },
    "offers": {
      "type": [
        "number",
        "null"
      ],
      "description": "Median verified offer count across the day's readings; null for list prices."
    },
    "readings": {
      "type": "integer",
      "description": "Hourly readings taken that day."
    },
    "counted": {
      "type": "integer",
      "description": "Readings with enough offers to count toward the median."
    }
  }
}