Interface: BoundConstraintDto
@kortexya/reasoninglayer / BoundConstraintDto
Interface: BoundConstraintDto
Section titled “Interface: 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.
Properties
Section titled “Properties”constraintType
Section titled “constraintType”constraintType:
BoundConstraintKindDto
Defined in: src/types/sorts.ts:379
Which bound the constraint declares. A value outside
BoundConstraintKindDto is refused with 422 (reasoninglayer#1247).
onViolation?
Section titled “onViolation?”
optionalonViolation?: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).
Remarks
Section titled “Remarks”OSFQL CHECK ON without VIOLATION defaults < (less_than) to
fail. Send fail here to declare the same constraint.
sourcePath
Section titled “sourcePath”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
Section titled “target”target:
string
Defined in: src/types/sorts.ts:381
Target feature name that will be constrained.