{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/horizon.json",
 "description": "The data prop of <Horizon> (Chartory chart 054).",
 "type": "object",
 "title": "HorizonData",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "HorizonRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "vals": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "description": "The values, in order."
     }
    },
    "required": [
     "label",
     "vals"
    ]
   },
   "description": "One entry per row."
  },
  "band": {
   "type": "number",
   "description": "The band size."
  },
  "xl": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "description": "The x axis labels, by index."
  }
 },
 "required": [
  "rows",
  "band",
  "xl"
 ]
}
