{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CartItem",
  "title": "CartItem",
  "type": "object",
  "description": "A product line item in a shopping cart (quote).",
  "properties": {
    "item_id": {
      "type": "integer",
      "description": "Numeric cart item entity ID."
    },
    "sku": {
      "type": "string",
      "description": "SKU of the product in the cart."
    },
    "qty": {
      "type": "number",
      "description": "Quantity of the product in the cart."
    },
    "name": {
      "type": "string",
      "description": "Display name of the product."
    },
    "price": {
      "type": "number",
      "description": "Unit price of the product."
    },
    "product_type": {
      "type": "string",
      "description": "Product type of the cart item."
    },
    "quote_id": {
      "type": "string",
      "description": "The cart (quote) ID this item belongs to."
    }
  }
}