{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-allowed-product-schema.json",
  "title": "AllowedProduct",
  "description": "Product that is payable by the payment card. Product codes that are payable by the payment card.",
  "type": "object",
  "properties": {
    "ProductCode": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "Product code of item purchased with the transaction."
    },
    "EanUpc": {
      "type": "integer",
      "description": "Standard product code of item purchased with the transaction."
    },
    "ProductLabel": {
      "type": "string",
      "pattern": "^.+$",
      "description": "Product name of an item purchased with the transaction."
    },
    "AdditionalProductInfo": {
      "type": "string",
      "pattern": "^.+$",
      "description": "Additionl information related to the line item."
    }
  },
  "required": [
    "ProductCode"
  ]
}