{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/heatmap.json",
 "description": "The data prop of <Heatmap> (Chartory chart 024).",
 "type": "object",
 "title": "HeatmapData",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The row labels, in order."
  },
  "cols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The column labels, in order."
  },
  "xl": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "description": "The x axis labels, by index."
  },
  "vals": {
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "type": "number"
    }
   },
   "description": "The values, in order."
  },
  "marks": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "description": "The marks, by key."
  },
  "yW": {
   "type": "number",
   "description": "The width of the y axis label column, in px."
  },
  "gap": {
   "type": "number",
   "description": "The gap between cells, in px."
  }
 },
 "required": [
  "rows",
  "cols",
  "xl",
  "vals"
 ]
}
