{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coinbase/main/json-schema/coinbase-order-book-schema.json",
  "title": "OrderBook",
  "description": "Product order book at a specific level of detail",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coinbase-products-api-openapi.yml#/components/schemas/OrderBook",
  "type": "object",
  "properties": {
    "sequence": {
      "type": "integer",
      "description": "Sequence number of the order book"
    },
    "bids": {
      "type": "array",
      "description": "Bid price levels",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "asks": {
      "type": "array",
      "description": "Ask price levels",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    }
  }
}