Skip to content

Interface: DelegationScope

@kortexya/reasoninglayer


@kortexya/reasoninglayer / DelegationScope

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

One delegation scope of the ledger.

attestedBy: string | null

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

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:442

Scopes delegated from this one.


commitment: string | null

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

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


depth: number

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

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


nLeaves: number

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

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


nRecords: number

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

Records carrying this scope.


openedBy: string

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

The record that opened the scope.


parent: string | null

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

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


scopeId: string

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

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


sealedBy: string | null

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

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