Interface: ClausePolicyBranch
@kortexya/reasoninglayer / ClausePolicyBranch
Interface: ClausePolicyBranch
Section titled “Interface: ClausePolicyBranch”Defined in: src/types/document-check.ts:305
One sufficient path to an effect; its conditions are conjunctive.
Example
Section titled “Example”const branch: ClausePolicyBranch = { name: 'late_payment', effect: 'penalty_due', quote: 'a penalty is due', conditions: [],};Properties
Section titled “Properties”conditions
Section titled “conditions”conditions:
ClausePolicyCondition[]
Defined in: src/types/document-check.ts:313
The conditions, all of which must hold.
effect
Section titled “effect”effect:
string
Defined in: src/types/document-check.ts:309
The effect the branch concludes.
name:
string
Defined in: src/types/document-check.ts:307
The branch name, carried on each policy result.
quote:
string
Defined in: src/types/document-check.ts:311
The exact wording of the clause that supports the effect.