{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/gantt.json",
 "description": "The data prop of <Gantt> (Chartory chart 037).",
 "type": "object",
 "title": "GanttData",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The row labels, in order."
  },
  "start": {
   "type": "number",
   "description": "The start."
  },
  "end": {
   "type": "number",
   "description": "The end."
  },
  "ticks": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The axis ticks: [value, label] pairs."
  },
  "bars": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     },
     {
      "type": "number"
     },
     {
      "type": "string"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 5,
    "maxItems": 5
   },
   "description": "The bar series."
  },
  "now": {
   "type": "number",
   "description": "Where now is on the axis."
  },
  "yW": {
   "type": "number",
   "description": "The width of the y axis label column, in px."
  }
 },
 "required": [
  "rows",
  "start",
  "end",
  "ticks",
  "bars"
 ]
}
