{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/dot-plot-with-intervals.json",
 "description": "The data prop of <DotPlotWithIntervals> (Chartory chart 050).",
 "type": "object",
 "title": "DotPlotWithIntervalsData",
 "properties": {
  "min": {
   "type": "number",
   "description": "The bottom of the value scale."
  },
  "max": {
   "type": "number",
   "description": "The top of the value scale."
  },
  "target": {
   "type": "number",
   "description": "The target value."
  },
  "ticks": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The axis ticks: [value, label] pairs."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "DotPlotWithIntervalsRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "lo": {
      "type": "number",
      "description": "The interval's low end."
     },
     "hi": {
      "type": "number",
      "description": "The interval's high end."
     }
    },
    "required": [
     "label",
     "v",
     "lo",
     "hi"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "min",
  "max",
  "target",
  "ticks",
  "rows"
 ]
}
