{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/bullet.json",
 "description": "The data prop of <Bullet> (Chartory chart 008).",
 "type": "object",
 "title": "BulletData",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "BulletRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "sub": {
      "type": "string",
      "description": "The second line under the label."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "target": {
      "type": "number",
      "description": "The target value."
     },
     "max": {
      "type": "number",
      "description": "The top of the value scale."
     },
     "bands": {
      "type": "array",
      "items": {
       "type": "number"
      },
      "description": "The range ends, low to high."
     },
     "text": {
      "type": "string",
      "description": "The label as shown."
     },
     "ttext": {
      "type": "string",
      "description": "The target's label."
     }
    },
    "required": [
     "label",
     "sub",
     "v",
     "target",
     "max",
     "bands",
     "text",
     "ttext"
    ]
   },
   "description": "One entry per row."
  },
  "labelW": {
   "type": "number",
   "description": "The width of the label column, in px."
  },
  "valueW": {
   "type": "number",
   "description": "The width of the value column, in px."
  }
 },
 "required": [
  "rows"
 ]
}
