Interface: BoundConstraintDto
@kortexya/reasoninglayer / BoundConstraintDto
Interface: BoundConstraintDto
Section titled “Interface: BoundConstraintDto”Defined in: src/types/sorts.ts:351
Inter-feature ordering constraint within a sort.
Expresses that a feature’s value must be bounded by another feature’s value, supporting upper and lower bound relationships.
Properties
Section titled “Properties”constraintType
Section titled “constraintType”constraintType:
string
Defined in: src/types/sorts.ts:353
Constraint type: “upper”, “lower”, “less_than”, “equal”.
onViolation?
Section titled “onViolation?”
optionalonViolation?:string
Defined in: src/types/sorts.ts:362
Action on violation: “update” (default), “fail”, “warn”, “residuate”.
sourcePath
Section titled “sourcePath”sourcePath:
string
Defined in: src/types/sorts.ts:360
Source path (dot-separated) to the value that provides the bound. Examples: “termination_date”, “person.death_date”, “company.dissolution_date”.
target
Section titled “target”target:
string
Defined in: src/types/sorts.ts:355
Target feature name that will be constrained.