{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/checkout-line-item-schema.json",
  "title": "LineItem",
  "description": "LineItem schema from Adyen API",
  "type": "object",
  "properties": {
    "amountExcludingTax": {
      "description": "Item amount excluding the tax, in minor units.",
      "format": "int64",
      "type": "integer"
    },
    "amountIncludingTax": {
      "description": "Item amount including the tax, in minor units.",
      "format": "int64",
      "type": "integer"
    },
    "brand": {
      "x-addedInVersion": "70",
      "description": "Brand of the item.",
      "type": "string"
    },
    "color": {
      "x-addedInVersion": "70",
      "description": "Color of the item.",
      "type": "string"
    },
    "description": {
      "description": "Description of the line item.",
      "type": "string"
    },
    "id": {
      "description": "ID of the line item.",
      "type": "string"
    },
    "imageUrl": {
      "description": "Link to the picture of the purchased item.",
      "type": "string"
    },
    "itemCategory": {
      "description": "Item category, used by the payment methods PayPal and Ratepay.",
      "type": "string"
    },
    "manufacturer": {
      "x-addedInVersion": "70",
      "description": "Manufacturer of the item.",
      "type": "string"
    },
    "productUrl": {
      "description": "Link to the purchased item.",
      "type": "string"
    },
    "quantity": {
      "description": "Number of items.",
      "format": "int64",
      "type": "integer"
    },
    "receiverEmail": {
      "x-addedInVersion": "70",
      "description": "Email associated with the given product in the basket (usually in electronic gift cards).",
      "type": "string"
    },
    "size": {
      "x-addedInVersion": "70",
      "description": "Size of the item.",
      "type": "string"
    },
    "sku": {
      "x-addedInVersion": "70",
      "description": "Stock keeping unit.",
      "type": "string"
    },
    "taxAmount": {
      "description": "Tax amount, in minor units.",
      "format": "int64",
      "type": "integer"
    },
    "taxPercentage": {
      "description": "Tax percentage, in minor units.",
      "format": "int64",
      "type": "integer"
    },
    "upc": {
      "x-addedInVersion": "70",
      "description": "Universal Product Code.",
      "type": "string"
    }
  }
}