{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/battery-cells.json",
 "description": "The data prop of <BatteryCells> (Chartory chart 078).",
 "type": "object",
 "title": "BatteryCellsData",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "BatteryCellsItem",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "sub": {
      "type": "string",
      "description": "The second line under the label."
     },
     "charging": {
      "type": "boolean",
      "description": "Marks it as charging."
     }
    },
    "required": [
     "label",
     "v",
     "sub"
    ]
   },
   "description": "One entry per item."
  }
 },
 "required": [
  "items"
 ]
}
