{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/block-timeline.json",
 "description": "The data prop of <BlockTimeline> (Chartory chart 038).",
 "type": "object",
 "title": "BlockTimelineData",
 "properties": {
  "cols": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "BlockTimelineCol",
    "properties": {
     "name": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "blocks": {
      "type": "array",
      "items": {
       "type": "array",
       "prefixItems": [
        {
         "type": "number"
        },
        {
         "type": "string"
        },
        {
         "type": "string"
        },
        {
         "type": "string"
        }
       ],
       "minItems": 3,
       "maxItems": 4
      },
      "description": "The blocks."
     }
    },
    "required": [
     "name",
     "blocks"
    ]
   },
   "description": "One entry per column."
  }
 },
 "required": [
  "cols"
 ]
}
