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 nameValueSample valueDescription
Validation Scheme IDAn alphanumeric value from zero to 40 charactersCreditDebitAccount

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 KeyAn alphanumeric value from zero to 40 charactersCreditDebitValidatorSpecifies 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
AddressValidatorInfoFormValidatormessageType: AddressValidationValidatedFields: Address1, Address2, City, State, Country, ZipCode(None)(None)
BarcodedCouponBarcodedCouponValidator min_length:13, max_length:13alternate_code_start_index:2, alternate_code_length:4,prefix_set:11 12 13 14(None)(None)
ClearanceCodeBarCodeClearanceCodeBarCodeValidatorlength:17, item_code_start_index:3, item_code_length:14, clearance_start_index:0, clearance_length:1length: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 NumericValidatormin_value:100, max_value:999999999(None)(None)(None)
CreditDebitAccountCreditDebit
Validator
max_length:16, min_length:13modulus:10, weights:2121212
1212121212121, sum_product_digits:yes
(None)(None)
CustomerAccountBarcodeCustomerAccountBarcodeValidatormin_length:1, max_length:8, is_entire_input_customer_account_number:truemin_length:16, max_length:16, prefix:00, customer_account_number_start_index:2, customer_account_number_length:8min_length:28, max_length:28, customer_account_number_start_index:14, customer_account_number_length:8(None)
DataNotRemovedDataNotRemovedValidator(None)(None)(None)(None)
EcommTransaction
Barcode
Transaction
Barcode

Validator

min_length:27, max_length:27store_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)
GiftCardAccountGiftCard
Validator
min_length:16, max_length:16bin_type:GiftCard(None)(None)
GiftCertificateGiftCertificate
Validator
min_ID_length:10, max_ID_length:10(None)(None)(None)
HouseAccountCreditDebit
Validator
max_length:16, min_length:16modulus:10, weights:212121
21212121212121, sum_product_digits:yes
(None)(None)
IndustrialCouponDataCouponData
Validator
coupon_data_length:13amount_multiplier:10(None)(None)
LegacyTransaction
Barcode
Transaction
Barcode

Validator

min_length:25, max_length:25store_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)
MerchCardAccountGiftCard
Validator
min_length:16, max_length:16bin_type:MerchCard(None)(None)
MicrosoftCheckDigitValidatorcheck_digit_start:0, check_digit_length:12modulus:7, weights:111111100000, sum_product_digits:no(None)(None)
Nintendo11CheckDigitValidatorcheck_digit_start:2, check_digit_length:9modulus:10, weights:13131313131, sum_product_digits:no(None)(None)
Nintendo14CheckDigitValidatorcheck_digit_start:3, check_digit_length:11modulus:10, weights:13131313131, sum_product_digits:no(None)(None)
NoOfBagsAllowedNumericValidatormin_value:1, max_value:999999999(None)(None)(None)
PersonalIDFieldLinkPersonalIDFieldValidatorDriversLicense_State:DriversLicenseNumberStateIssued_State:StateIssuedIDGenericPassport:PasportNmber, GenericMilitaryID:MilitaryIDNumber, GenericCustomerID:CustomerIDResidentAlienID:ResidentAlienID
PersonalIdParseSAPersonalIdValidatormin_length:88Address1=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=PersonalIDTypeDriversLicense=DriversLicense;Passport=Passport;MilitaryID=MilitaryID;(None)
PersonalIDTypePOSLogPersonalIDTypePOSLogMapperDriversLicense_State:DriversLicenseStateIssued_State:ncr:StateIssuedIDGenericPassport:PasportNmber, GenericMilitaryID:MilitaryIDNumber, GenericCustomerID:ncr:CustomerIDResidentAlienID:ncr:ResidentAlienID
PriceTagBarCodePriceTagBarCodeValidator min_length: 16, max_length:16item_code_start:0, item_code_length:10, item_price_start_index:10, item_price_length:6(None)(None)
PromoCardAccountGiftCardValidatormin_length:19, max_length:19bin_type:PromoCard(None)(None)
SVSGiftCard
Account
GiftCard
Validator
min_length:16, max_length:16bin_type:SVSGiftCard(None)(None)
SVSGiftCard
AuthorizationCode
SVSGiftCard
Authorization
Code
Validator
min_ID_length:8, max_ID_length:8modulus:10, weights:3713713
71371, sum_product_digits:yes
(None)(None)
ValueLinkGiftCardAuthorizationCodeValueLinkGCAuthorizationCodeValidatorauth_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 featureValidation Scheme IDValidation Object Definition KeyValidation Extra Data 1Validation Extra Data 2Validation Extra Data 3Validation Extra Data 4
Basket ImportIdentifyBasketImportBarcodeBasketImportBarcodeValidatorregex=(?=\d*[a-zA-Z]\d*)\d{3}[a-zA-Z\d]{3}(None)(None)(None)
Charity Donation on the PIN pad CharityPromptingThresholdNumericValidatormin_value:1, max_value:999999999(None)(None)(None)
Item ActivationEmbeddedItemDataBarcodeEmbeddedItemDataBarcodeValidatorfield: ItemCode 0 11field: SerialNumber 11(None)(None)
Marketing ConsentMarketingConsentValidatorFlagMarketingConsentsetField: needsMarketingConsent yes(None)(None)(None)
Third-party Gift Card ValidationEmbeddedItemDataBarcodeEmbeddedItemDataBarcodeValidatorfield: ItemCode 0 11field: GiftCardNumber 11(None)(None)