{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/terminal-loyalty-account-id-schema.json",
  "title": "LoyaltyAccountID",
  "description": "In the Payment or the Loyalty Request message, it allows to identify the loyalty account by the Sale Terminal instead of the POI Terminal (e.g. because the account identification is a bar-code read by the Cashier on a scanner device). Identification of a Loyalty account.",
  "type": "object",
  "properties": {
    "EntryMode": {
      "$ref": "#/components/schemas/EntryMode"
    },
    "IdentificationType": {
      "$ref": "#/components/schemas/IdentificationType"
    },
    "IdentificationSupport": {
      "$ref": "#/components/schemas/IdentificationSupport"
    },
    "LoyaltyID": {
      "type": "string"
    }
  },
  "required": [
    "EntryMode",
    "IdentificationType",
    "LoyaltyID"
  ]
}