Skip to content

Interface: BoundConstraintDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BoundConstraintDto

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

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.

constraintType: BoundConstraintKindDto

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

Which bound the constraint declares. A value outside BoundConstraintKindDto is refused with 422 (reasoninglayer#1247).


optional onViolation?: ViolationActionDto

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

What a write that breaks the constraint gets; update when absent, for every constraintType. A value outside ViolationActionDto is refused with 422 (reasoninglayer#1247).

OSFQL CHECK ON without VIOLATION defaults < (less_than) to fail. Send fail here to declare the same constraint.


sourcePath: string

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

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


target: string

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

Target feature name that will be constrained.