{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/invoice-split.json",
 "description": "The data prop of <InvoiceSplit> (Chartory chart 132).",
 "type": "object",
 "title": "InvoiceSplitData",
 "properties": {
  "max": {
   "type": "number",
   "description": "The top of the value scale."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "InvoiceSplitRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "plan": {
      "type": "number",
      "description": "The plan amount."
     },
     "model": {
      "type": "number",
      "description": "The model amount."
     },
     "total": {
      "type": "string",
      "description": "The total as shown."
     },
     "state": {
      "type": "string",
      "description": "The state."
     },
     "est": {
      "type": "boolean",
      "description": "Marks the value as an estimate."
     }
    },
    "required": [
     "label",
     "plan",
     "model",
     "total",
     "state"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "max",
  "rows"
 ]
}
