Interface: VocabularyHierarchy
@kortexya/reasoninglayer / VocabularyHierarchy
Interface: VocabularyHierarchy
Section titled “Interface: VocabularyHierarchy”Defined in: src/types/vocabulary.ts:5279
GET /api/v1/vocabulary/schemes/{scheme_id}/hierarchy: the broader
links of one scheme around a concept, or below its top concepts.
Remarks
Section titled “Remarks”A concept with several parents appears once, with every relation that
reaches it in via. complete: false with stopReason is a partial
answer, not an error.
Properties
Section titled “Properties”complete
Section titled “complete”complete:
boolean
Defined in: src/types/vocabulary.ts:5297
Whether every reachable concept is listed.
context?
Section titled “context?”
optionalcontext?:VocabularyContextRef
Defined in: src/types/vocabulary.ts:5283
The stored context of the view.
direction
Section titled “direction”direction:
VocabularyHierarchyDirection
Defined in: src/types/vocabulary.ts:5289
The direction followed.
edges:
VocabularyHierarchyEdge[]
Defined in: src/types/vocabulary.ts:5295
Every selected link between two concepts of nodes, by relation id.
nodes:
VocabularyHierarchyNode[]
Defined in: src/types/vocabulary.ts:5293
The concepts reached, the starts included, by concept id.
optionalroot?:string
Defined in: src/types/vocabulary.ts:5287
The start concept (UUID); absent when the scheme’s top concepts are the starts.
schemeId
Section titled “schemeId”schemeId:
string
Defined in: src/types/vocabulary.ts:5285
The scheme; only its relations are followed (UUID).
stopReason?
Section titled “stopReason?”
optionalstopReason?:VocabularyTraversalStopReason
Defined in: src/types/vocabulary.ts:5299
Why the traversal stopped, when incomplete.
transitive
Section titled “transitive”transitive:
boolean
Defined in: src/types/vocabulary.ts:5291
Whether links were followed transitively.
view:
VocabularyViewRef
Defined in: src/types/vocabulary.ts:5281
The view.