Skip to content

Interface: ClausePolicyBranch

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ClausePolicyBranch

Defined in: src/types/document-check.ts:305

One sufficient path to an effect; its conditions are conjunctive.

const branch: ClausePolicyBranch = {
name: 'late_payment',
effect: 'penalty_due',
quote: 'a penalty is due',
conditions: [],
};

conditions: ClausePolicyCondition[]

Defined in: src/types/document-check.ts:313

The conditions, all of which must hold.


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.