{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/limit-tracks.json",
 "description": "The data prop of <LimitTracks> (Chartory chart 128).",
 "type": "object",
 "title": "LimitTracksData",
 "properties": {
  "lim": {
   "type": "number",
   "description": "The limit."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "LimitTracksRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "used": {
      "type": "number",
      "description": "The amount used."
     },
     "fc": {
      "type": "number",
      "description": "The forecast."
     },
     "value": {
      "type": "string",
      "description": "The value as shown."
     },
     "sub": {
      "type": "string",
      "description": "The second line under the label."
     },
     "tone": {
      "const": "warn",
      "description": "The tone of the mark (a colour token)."
     }
    },
    "required": [
     "label",
     "used",
     "fc",
     "value",
     "sub"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "lim",
  "rows"
 ]
}
