{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/underwater-drawdown.json",
 "description": "The data prop of <UnderwaterDrawdown> (Chartory chart 080).",
 "type": "object",
 "title": "UnderwaterDrawdownData",
 "properties": {
  "vals": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "The values, in order."
  },
  "min": {
   "type": "number",
   "description": "The bottom of the value scale."
  },
  "ticks": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The axis tick labels."
  },
  "xl": {
   "type": "object",
   "additionalProperties": {
    "type": "string"
   },
   "description": "The x axis labels, by index."
  },
  "mark": {
   "type": "object",
   "title": "UnderwaterDrawdownMark",
   "properties": {
    "i": {
     "type": "number",
     "description": "The index of the item it belongs to."
    },
    "text": {
     "type": "string",
     "description": "The label as shown."
    }
   },
   "required": [
    "i",
    "text"
   ],
   "description": "A marked point: where and its label."
  }
 },
 "required": [
  "vals",
  "min",
  "ticks",
  "xl",
  "mark"
 ]
}
