About Validation Rule Types
CheckHub provides two types of validation rules to help you validate your documents:

1. Decision Rules
Decision rules are evaluated first and produce an immediate outcome. Once a decision rule matches, no further rules are evaluated.
Possible outcomes:
- Reject
- Mark as Pending
- Validate

Use decision rules when you can immediately determine how to handle a document based on specific criteria.
Examples:
- If the origin country is not part of the European Union → Reject
- If document type is diplomatic → Mark as Pending
Important: Decision rules are processed in sequence. Once a document is marked as Valid, Pending, or Rejected by a rule, subsequent rules are ignored.
2. Scoring Rules
Score rules are useful when you want to apply multiple validation checks without having a clear rejection rule. All score rules are evaluated to calculate a final score, which determines the document status.

Score thresholds:
- Final score ≥ "Valid" threshold → Document is validated
- Final score between "Pending" and "Valid" thresholds → Document is marked as Pending (requires manual review)
- Final score < "Pending" threshold → Document is rejected

Note: Setting a "Pending" threshold is optional.
Examples:
- Check if the contact's first or last name matches the cardholder name
- Check if the document title contains "Diploma," "School," "Master," or "License"
