Skip to content

Interface: VocabularyPicklist

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyPicklist

Defined in: src/types/vocabulary.ts:5498

GET /api/v1/vocabulary/schemes/{scheme_id}/picklist: one page of a depth-first list for a form control.

complete: boolean

Defined in: src/types/vocabulary.ts:5516

Whether the list is complete and this is its last page.


optional context?: VocabularyContextRef

Defined in: src/types/vocabulary.ts:5502

The stored context of the view.


entries: VocabularyPicklistEntry[]

Defined in: src/types/vocabulary.ts:5512

This page of the depth-first list: siblings by display label, then id.


optional nextCursor?: string

Defined in: src/types/vocabulary.ts:5514

The cursor of the next page; absent on the last page.


optional root?: string

Defined in: src/types/vocabulary.ts:5506

The requested root (UUID), if any.


roots: string[]

Defined in: src/types/vocabulary.ts:5510

The roots, in listing order (UUIDs).


rootsFrom: VocabularyPicklistRoots

Defined in: src/types/vocabulary.ts:5508

Where the roots come from.


schemeId: string

Defined in: src/types/vocabulary.ts:5504

The scheme; only its accepted broader relations are followed (UUID).


optional stopReason?: VocabularyTraversalStopReason

Defined in: src/types/vocabulary.ts:5518

Why the traversal stopped, when maxNodes cut the list.


view: VocabularyViewRef

Defined in: src/types/vocabulary.ts:5500

The view.