Skip to content

Interface: BoundConstraintDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Sorts / BoundConstraintDto

Interface: BoundConstraintDto

Defined in: src/types/sorts.ts:86

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

constraintType

constraintType: string

Defined in: src/types/sorts.ts:88

Constraint type: “upper”, “lower”, “less_than”, “equal”.


onViolation?

optional onViolation: string

Defined in: src/types/sorts.ts:97

Action on violation: “update” (default), “fail”, “warn”, “residuate”.


sourcePath

sourcePath: string

Defined in: src/types/sorts.ts:95

Source path (dot-separated) to the value that provides the bound. Examples: “termination_date”, “person.death_date”, “company.dissolution_date”.


target

target: string

Defined in: src/types/sorts.ts:90

Target feature name that will be constrained.