{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/money-flow.json",
 "description": "The data prop of <MoneyFlow> (Chartory chart 116).",
 "type": "object",
 "title": "MoneyFlowData",
 "properties": {
  "left": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "MoneyFlowNode",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "waste": {
      "type": "boolean",
      "description": "Marks the node as waste."
     }
    },
    "required": [
     "label",
     "v"
    ]
   },
   "description": "The nodes in the left column."
  },
  "mid": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "MoneyFlowNode",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "waste": {
      "type": "boolean",
      "description": "Marks the node as waste."
     }
    },
    "required": [
     "label",
     "v"
    ]
   },
   "description": "The nodes in the middle column."
  },
  "right": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "MoneyFlowNode",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "waste": {
      "type": "boolean",
      "description": "Marks the node as waste."
     }
    },
    "required": [
     "label",
     "v"
    ]
   },
   "description": "The nodes in the right column."
  },
  "lm": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     },
     {
      "type": "number"
     }
    ],
    "minItems": 3,
    "maxItems": 3
   },
   "description": "[left index, mid index, dollars]."
  },
  "mr": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     },
     {
      "type": "number"
     }
    ],
    "minItems": 3,
    "maxItems": 3
   },
   "description": "[mid index, right index, dollars]."
  }
 },
 "required": [
  "left",
  "mid",
  "right",
  "lm",
  "mr"
 ]
}
