{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/bump.json",
 "description": "The data prop of <Bump> (Chartory chart 045).",
 "type": "object",
 "title": "BumpData",
 "properties": {
  "cols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The column labels, in order."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "BumpRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "tok": {
      "type": "string",
      "description": "The colour token, e.g. \"data/primary\"."
     },
     "ranks": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "description": "The rank per period."
     }
    },
    "required": [
     "label",
     "tok",
     "ranks"
    ]
   },
   "description": "One entry per row."
  },
  "focus": {
   "type": "string",
   "description": "The highlighted item."
  }
 },
 "required": [
  "cols",
  "rows"
 ]
}
