{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/burn-down.json",
 "description": "The data prop of <BurnDown> (Chartory chart 113).",
 "type": "object",
 "title": "BurnDownData",
 "properties": {
  "days": {
   "type": "number",
   "description": "The number of days."
  },
  "budget": {
   "type": "number",
   "description": "The budget."
  },
  "left": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The budget left, per day."
  },
  "today": {
   "type": "number",
   "description": "Where today is on the axis."
  },
  "steps": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "BurnDownStep",
    "properties": {
     "i": {
      "type": "number",
      "description": "The index of the item it belongs to."
     },
     "n": {
      "type": "number",
      "description": "The count."
     }
    },
    "required": [
     "i",
     "n"
    ]
   },
   "description": "One entry per step."
  },
  "fast": {
   "type": "object",
   "title": "BurnDownFast",
   "properties": {
    "end": {
     "type": "number",
     "description": "The end."
    },
    "text": {
     "type": "string",
     "description": "The label as shown."
    }
   },
   "required": [
    "end",
    "text"
   ],
   "description": "The fast pace: where it ends and its label."
  },
  "even": {
   "type": "object",
   "title": "BurnDownEven",
   "properties": {
    "end": {
     "type": "number",
     "description": "The end."
    },
    "text": {
     "type": "string",
     "description": "The label as shown."
    }
   },
   "required": [
    "end",
    "text"
   ],
   "description": "The even pace: where it ends and its label."
  },
  "yt": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The y axis ticks: [value, label] pairs."
  },
  "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."
  }
 },
 "required": [
  "days",
  "budget",
  "left",
  "today",
  "steps",
  "fast",
  "even",
  "yt",
  "xl",
  "nowText"
 ]
}
