{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/eval-suite-bars.json",
 "description": "The data prop of <EvalSuiteBars> (Chartory chart 102).",
 "type": "object",
 "title": "EvalSuiteBarsData",
 "properties": {
  "min": {
   "type": "number",
   "description": "The bottom 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."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "EvalSuiteBarsRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "pass": {
      "type": "number",
      "description": "The pass rate."
     },
     "total": {
      "type": "number",
      "description": "The total."
     },
     "target": {
      "type": "number",
      "description": "The target value."
     }
    },
    "required": [
     "label",
     "pass",
     "total",
     "target"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "min",
  "ticks",
  "rows"
 ]
}
