Skip to content

Value Classifications

Value Classifications

Value classifications evaluate the content of a single column in a table. They are used for data validation, data quality checks, and enforcing simple row-level conditions. Each value classification resolves to true or false for every row in the target table.

Minyu keeps all value classifications continuously up to date. A classification is automatically re-evaluated whenever its dependent data changes or when time affects the outcome (for example, age-based or date-based predicates). No manual refresh is required.

How Value Classifications Work

A value classification is defined by three elements:

  1. Column – the field to evaluate.
  2. Predicate – the condition applied to the column value.
  3. Parameters (optional) – values required by the predicate when necessary.

Example:

  • Column: email
  • Predicate: is valid email
  • Parameters: none

Managing Value Classifications

Value classifications are created and managed in the Classification window. Select Value Classifications and use the Add action to create a new entry.

Fields

  • Name – descriptive name shown in the UI.
  • Use as Filter – enables the classification as a filter in lists and searches.
  • API Name – unique identifier used in API calls.
  • Table – table where the classification applies.
  • Column – the field being evaluated.
  • Predicate – the rule used to evaluate the column.
  • Parameters – optional values for predicates that require them.

Modifying Existing Value Classifications

After saving, only Name and API Name can be edited. Table, column, predicate, and parameters are locked to ensure consistency. If these need to change, create a new classification.

Examples

Required Fields

  • Column: first_name
  • Predicate: is not empty

Format Validation

  • Column: email
  • Predicate: is valid email

Numeric Constraint

  • Column: age
  • Predicate: is greater than
  • Parameter: 18 Age-related predicates update automatically as time passes.

Date Validation

  • Column: registration_date
  • Predicate: is before
  • Parameter: 2024-01-01

Automatic Updates

Minyu automatically re-evaluates all value classifications whenever dependent data changes or when time itself changes the outcome. This ensures classifications remain accurate without manual intervention.