Skip to content

Interface: DelegationScope

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DelegationScope

Defined in: src/types/compliance.ts:627

One delegation scope of the ledger.

attestedBy: string | null

Defined in: src/types/compliance.ts:648

The key that attested the commitment, when the sealing request signed it.

null means the scope is committed but not attributed to a key — never that a signature failed: a failed signature is refused at admission and never recorded.


children: string[]

Defined in: src/types/compliance.ts:650

Scopes delegated from this one.


commitment: string | null

Defined in: src/types/compliance.ts:639

The RFC 6962 Merkle root committed by the seal, or null while it is open.


depth: number

Defined in: src/types/compliance.ts:633

0 for a root scope, the parent’s depth + 1 otherwise.


nLeaves: number

Defined in: src/types/compliance.ts:654

Leaves under the commitment: the scope’s records and its children’s seals.


nRecords: number

Defined in: src/types/compliance.ts:652

Records carrying this scope.


openedBy: string

Defined in: src/types/compliance.ts:635

The record that opened the scope.


parent: string | null

Defined in: src/types/compliance.ts:631

The scope this one was delegated from; null for a root scope.


scopeId: string

Defined in: src/types/compliance.ts:629

The scope id (the UUID the requests named in x-reasoninglayer-scope).


sealedBy: string | null

Defined in: src/types/compliance.ts:637

The record that sealed it, or null while it is open.