{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/budget-runway.json",
 "description": "The data prop of <BudgetRunway> (Chartory chart 101).",
 "type": "object",
 "title": "BudgetRunwayData",
 "properties": {
  "days": {
   "type": "number",
   "description": "The number of days."
  },
  "cum": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The running total."
  },
  "fc": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The forecast."
  },
  "lo": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The lower values."
  },
  "hi": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The upper values."
  },
  "budget": {
   "type": "number",
   "description": "The budget."
  },
  "max": {
   "type": "number",
   "description": "The top of the value scale."
  },
  "ticks": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The axis ticks: [value, label] pairs."
  },
  "daily": {
   "type": "array",
   "items": {
    "type": "array",
    "items": {
     "type": "number"
    }
   },
   "description": "The daily values."
  },
  "dmax": {
   "type": "number",
   "description": "The top of the daily scale."
  },
  "toks": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The colour token of each item, in order."
  },
  "xl": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The x axis labels: [position, label] pairs."
  },
  "nowText": {
   "type": "string",
   "description": "The label at now."
  },
  "endText": {
   "type": "string",
   "description": "The label at the end."
  },
  "budgetText": {
   "type": "string",
   "description": "The budget's label."
  }
 },
 "required": [
  "days",
  "cum",
  "fc",
  "lo",
  "hi",
  "budget",
  "max",
  "ticks",
  "daily",
  "dmax",
  "toks",
  "xl",
  "nowText",
  "endText",
  "budgetText"
 ]
}
