Scale Intelligence■ Docs
Docs / The model / NormalisationRule

NormalisationRule.

How one extracted field becomes a typed value: trimmed text, a number with its unit, money with its currency, a date with its basis, a regular-expression capture, a map of words to a registered kind, or an entity looked up by identifier

Figure 1NormalisationRulespecified
NORMALISATIONRULEvalue at none scopefieldtextkindenum:trim|number with unit|money with …the unit, the currency, the basis, the pattern, the kind or the namespaceargumenttextoptionala row missing a required value is not ready with the reasonrequiredboolpoints at no other object
NormalisationRule is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
sources

Fields#

fieldtyperequirednote
fieldtextyes
kindone of trim | number with unit | money with currency | date with basis | regex capture | map to a kind | lookup by identifieryes
argumenttextnothe unit, the currency, the basis, the pattern, the kind or the namespace
requiredboolyesa row missing a required value is not ready with the reason

Routes that use it#

No route takes or returns NormalisationRule directly. The record holds it, and the objects that point at it reach it.