{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/order-book-depth.json",
 "description": "The data prop of <OrderBookDepth> (Chartory chart 053).",
 "type": "object",
 "title": "OrderBookDepthData",
 "properties": {
  "bids": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The bids: [price, quantity]."
  },
  "asks": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "number"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The asks: [price, quantity]."
  },
  "mid": {
   "type": "number",
   "description": "The mid price."
  },
  "min": {
   "type": "number",
   "description": "The bottom of the value scale."
  },
  "max": {
   "type": "number",
   "description": "The top of the value scale."
  },
  "qmax": {
   "type": "number",
   "description": "The top of the quantity scale."
  },
  "ticks": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The axis tick labels."
  },
  "midText": {
   "type": "string",
   "description": "The mid price's label."
  },
  "xt": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "number"
     },
     {
      "type": "string"
     }
    ],
    "minItems": 2,
    "maxItems": 2
   },
   "description": "The x axis ticks: [value, label] pairs."
  }
 },
 "required": [
  "bids",
  "asks",
  "mid",
  "min",
  "max",
  "qmax",
  "ticks",
  "midText",
  "xt"
 ]
}
