{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/diverging-bars.json",
 "description": "The data prop of <DivergingBars> (Chartory chart 004).",
 "type": "object",
 "title": "DivergingBarsData",
 "properties": {
  "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."
  },
  "up": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The values above the axis."
  },
  "down": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The values below the axis."
  },
  "xl": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "description": "The x axis labels, by index."
  }
 },
 "required": [
  "max",
  "ticks",
  "up",
  "down",
  "xl"
 ]
}
