{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "description": "CartLine schema from NCR Voyix Commerce Platform APIs",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ncr/refs/heads/main/json-structure/ncr-voyix-commerce-platform-cart-line-structure.json",
  "type": "object",
  "properties": {
    "productId": {
      "$ref": "#/components/schemas/ProductId"
    },
    "quantity": {
      "$ref": "#/components/schemas/Quantity"
    },
    "voidReason": {
      "type": "string",
      "example": "Customer request"
    },
    "lineId": {
      "type": "string"
    },
    "unitPrice": {
      "type": "double"
    }
  },
  "name": "CartLine"
}