format, formatVersion- “aepur.rulelab.rules” and 1. Any other format is rejected.
normalization- accents, plural, typos: case ignored, accents ignored, singular = simple plural, typos flagged (never classified on their own).
decision.minSupport- Number of examples below which a learned rule suggests without classifying.
columns, categories- Analysed columns and known categories.
rules[].when- Conditions that must all hold: { column, op, value }. op: contains, phrase, startsWith, endsWith, equals, pattern (“#” = run of digits).
rules[].unless- Exclusions: the rule does not apply if any is true.
rules[].priority- 1 to 9. The highest priority wins; on a tie, two different categories mean “to review”.
rules[].id, version, evidence, limits- Stable ID (derived from content), version introduced, supporting examples and known limits.
{
"format": "aepur.rulelab.rules",
"formatVersion": 1,
"normalization": { "accents": true, "plural": true, "typos": true },
"decision": { "minSupport": 2, "conflict": "review", "noMatch": "review" },
"columns": ["Description"],
"categories": ["Software", "Travel"],
"rules": [{
"id": "r0k3x9pa", "category": "Travel", "priority": 1,
"enabled": true, "version": 2, "origin": "learned",
"when": [{ "column": "Description", "op": "contains", "value": "uber" }],
"unless": [{ "column": "Description", "op": "contains", "value": "eats" }],
"evidence": { "support": 6, "counter": 0, "lines": [4, 18], "texts": ["Uber ride"] },
"limits": []
}]
}