Validation Definitions

The Validation Definitions options are configurable for tenders with an account number. Validation Definitions options are retailer-specific. For more information, consult with an NCR Representative.

The following table describes the Validation Definitions options.

Note

This is a multi-record option group. Records can be added as necessary. This parameter group has a maximum limit of 999 records.

Option name Value Sample value Description
Validation Scheme ID An alphanumeric value from zero to 40 characters CreditDebitAccount

Identifies the validation scheme.

This parameter is the record's key.

Validation Extra Data (1–4) An alphanumeric from zero to 255 characters (None)

Specifies the data used to initialize the validation object.

Note

This parameter accepts multiple values separated by a comma.

Note

For Validation Extra Data 3, the POS can be enabled to determine the receipt type based on the bar code by adding the following configuration:

receipt_type_start_index:xx, receipt_type_length:x

Validation Object Definition Key An alphanumeric value from zero to 40 characters CreditDebitValidator Specifies the key to a defined OFM object.
Default Data
Validation
Scheme ID
Validation Object
Definition Key
Validation
Extra Data 1
Validation
Extra Data 2
Validation
Extra Data 3
Validation
Extra Data 4
AddressValidator InfoFormValidator messageType: AddressValidation ValidatedFields: Address1, Address2, City, State, Country, ZipCode (None) (None)
BarcodedCoupon BarcodedCouponValidator min_length:13, max_length:13 alternate_code_start_index:2, alternate_code_length:4,prefix_set:11 12 13 14 (None) (None)
ClearanceCodeBarCode ClearanceCodeBarCodeValidator length:17, item_code_start_index:3, item_code_length:14, clearance_start_index:0, clearance_length:1 length:13, item_code_start_index:1, item_code_length:12, clearance_start_index:0, clearance_length:1, weight:31313131313, modulus:10, replace_last_digit:false (None) (None)
CreditAppPurchaseAmount NumericValidator min_value:100, max_value:999999999 (None) (None) (None)
CreditDebitAccount CreditDebit
Validator
max_length:16, min_length:13 modulus:10, weights:2121212
1212121212121, sum_product_digits:yes
(None) (None)
CustomerAccountBarcode CustomerAccountBarcodeValidator min_length:1, max_length:8, is_entire_input_customer_account_number:true min_length:16, max_length:16, prefix:00, customer_account_number_start_index:2, customer_account_number_length:8 min_length:28, max_length:28, customer_account_number_start_index:14, customer_account_number_length:8 (None)
DataNotRemoved DataNotRemovedValidator (None) (None) (None) (None)
EcommTransaction
Barcode
Transaction
Barcode

Validator

min_length:27, max_length:27 store_number_start_index:2, store_number_length:4, terminal_number_start_index:6, terminal_number_length:3, transaction_number_start_index:9, transaction_number_length:4, business_date_start_index:13, business_date_length:8, date_format:MMddyyyy (None) (None)
GiftCardAccount GiftCard
Validator
min_length:16, max_length:16 bin_type:GiftCard (None) (None)
GiftCertificate GiftCertificate
Validator
min_ID_length:10, max_ID_length:10 (None) (None) (None)
HouseAccount CreditDebit
Validator
max_length:16, min_length:16 modulus:10, weights:212121
21212121212121, sum_product_digits:yes
(None) (None)
IndustrialCouponData CouponData
Validator
coupon_data_length:13 amount_multiplier:10 (None) (None)
LegacyTransaction
Barcode
Transaction
Barcode

Validator

min_length:25, max_length:25 store_number_start_index:0, store_number_length:4, terminal_number_start_index:4, terminal_number_length:3, transaction_number_start_index:7, transaction_number_length:4, business_date_start_index:11, business_date_length:8, date_format:MMddyyyy (None) (None)
MerchCardAccount GiftCard
Validator
min_length:16, max_length:16 bin_type:MerchCard (None) (None)
Microsoft CheckDigitValidator check_digit_start:0, check_digit_length:12 modulus:7, weights:111111100000, sum_product_digits:no (None) (None)
Nintendo11 CheckDigitValidator check_digit_start:2, check_digit_length:9 modulus:10, weights:13131313131, sum_product_digits:no (None) (None)
Nintendo14 CheckDigitValidator check_digit_start:3, check_digit_length:11 modulus:10, weights:13131313131, sum_product_digits:no (None) (None)
NoOfBagsAllowed NumericValidator min_value:1, max_value:999999999 (None) (None) (None)
PersonalIDFieldLink PersonalIDFieldValidator DriversLicense_State:DriversLicenseNumber StateIssued_State:StateIssuedID GenericPassport:PasportNmber, GenericMilitaryID:MilitaryIDNumber, GenericCustomerID:CustomerID ResidentAlienID:ResidentAlienID
PersonalIdParse SAPersonalIdValidator min_length:88 Address1=Address1;Address2=Address2;Birthdate=DateOfBirth,Birthdate;City=City;CountryCode=Country;FirstName=FirstName,FirstNameWithPED;LastName=LastName,LastNameWithPED;State=State;LicenseNumber=DriversLicenseNumber,MilitaryIDNumber,PassportNumber,PersonalID;MiddleName=MiddleName;PostalCode=ZipCode;ExpirationDate=DriversLicenseExpiryDate;IssuingState=DriversLicenseIssuingState;PersonalIdType=PersonalIDType DriversLicense=DriversLicense;Passport=Passport;MilitaryID=MilitaryID; (None)
PersonalIDTypePOSLog PersonalIDTypePOSLogMapper DriversLicense_State:DriversLicense StateIssued_State:ncr:StateIssuedID GenericPassport:PasportNmber, GenericMilitaryID:MilitaryIDNumber, GenericCustomerID:ncr:CustomerID ResidentAlienID:ncr:ResidentAlienID
PriceTagBarCode PriceTagBarCodeValidator min_length: 16, max_length:16 item_code_start:0, item_code_length:10, item_price_start_index:10, item_price_length:6 (None) (None)
PromoCardAccount GiftCardValidator min_length:19, max_length:19 bin_type:PromoCard (None) (None)
SVSGiftCard
Account
GiftCard
Validator
min_length:16, max_length:16 bin_type:SVSGiftCard (None) (None)
SVSGiftCard
AuthorizationCode
SVSGiftCard
Authorization
Code
Validator
min_ID_length:8, max_ID_length:8 modulus:10, weights:3713713
71371, sum_product_digits:yes
(None) (None)
ValueLinkGiftCardAuthorizationCode ValueLinkGCAuthorizationCodeValidator auth_magic:0 (None) (None) (None)
Sample Data

The following table provides sample records that can be used to support different POS features according to each retailer's needs.

Related POS feature Validation Scheme ID Validation Object Definition Key Validation Extra Data 1 Validation Extra Data 2 Validation Extra Data 3 Validation Extra Data 4
Basket Import IdentifyBasketImportBarcode BasketImportBarcodeValidator regex=(?=\d*[a-zA-Z]\d*)\d{3}[a-zA-Z\d]{3} (None) (None) (None)
Charity Donation on the PIN pad CharityPromptingThreshold NumericValidator min_value:1, max_value:999999999 (None) (None) (None)
Item Activation EmbeddedItemDataBarcode EmbeddedItemDataBarcodeValidator field: ItemCode 0 11 field: SerialNumber 11 (None) (None)
Marketing Consent MarketingConsentValidator FlagMarketingConsent setField: needsMarketingConsent yes (None) (None) (None)
Third-party Gift Card Validation EmbeddedItemDataBarcode EmbeddedItemDataBarcodeValidator field: ItemCode 0 11 field: GiftCardNumber 11 (None) (None)