{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/threshold-sweep.json",
 "description": "The data prop of <ThresholdSweep> (Chartory chart 112).",
 "type": "object",
 "title": "ThresholdSweepData",
 "properties": {
  "steps": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "One entry per step."
  },
  "xmin": {
   "type": "number",
   "description": "The left end of the x scale."
  },
  "xmax": {
   "type": "number",
   "description": "The right end of the x scale."
  },
  "ymax": {
   "type": "number",
   "description": "The top of the y scale."
  },
  "xt": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The x axis ticks: [value, label] pairs."
  },
  "yt": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The y axis ticks: [value, label] pairs."
  },
  "now": {
   "type": "object",
   "title": "ThresholdSweepNow",
   "properties": {
    "x": {
     "type": "number",
     "description": "The x value."
    },
    "y": {
     "type": "number",
     "description": "The y value."
    },
    "text": {
     "type": "string",
     "description": "The label as shown."
    }
   },
   "required": [
    "x",
    "y",
    "text"
   ],
   "description": "Now: where it is and its label."
  },
  "prop": {
   "type": "object",
   "title": "ThresholdSweepProp",
   "properties": {
    "x": {
     "type": "number",
     "description": "The x value."
    },
    "y": {
     "type": "number",
     "description": "The y value."
    },
    "text": {
     "type": "string",
     "description": "The label as shown."
    }
   },
   "required": [
    "x",
    "y",
    "text"
   ],
   "description": "The proposed value and its label."
  }
 },
 "required": [
  "steps",
  "xmin",
  "xmax",
  "ymax",
  "xt",
  "yt",
  "now",
  "prop"
 ]
}
