Interface: BulkSortDefinition
@kortexya/reasoninglayer / BulkSortDefinition
Interface: BulkSortDefinition
Section titled “Interface: BulkSortDefinition”Defined in: src/types/sorts.ts:760
A sort definition within a bulk creation request.
Remarks
Section titled “Remarks”Unlike CreateSortRequest, parents are specified as sort names (not UUIDs), which are resolved server-side. This enables defining an entire hierarchy in a single request.
Properties
Section titled “Properties”altLabels?
Section titled “altLabels?”
optionalaltLabels?:SortLabelInput[]
Defined in: src/types/sorts.ts:771
Alternative labels / synonyms (e.g., HPO synonyms for semantic matching), each with its language; a bare string is a label with no language.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/sorts.ts:780
Human-readable description.
features?
Section titled “features?”
optionalfeatures?:FeatureDescriptorDto[]
Defined in: src/types/sorts.ts:766
Feature descriptors.
hiddenLabels?
Section titled “hiddenLabels?”
optionalhiddenLabels?:SortLabelInput[]
Defined in: src/types/sorts.ts:776
Search-only labels (skos:hiddenLabel) — misspellings, abbreviations,
legacy terms. They resolve like synonyms but are never displayed.
name:
string
Defined in: src/types/sorts.ts:762
Sort name.
parents?
Section titled “parents?”
optionalparents?:string[]
Defined in: src/types/sorts.ts:764
Parent sort names (resolved server-side).
scopeNote?
Section titled “scopeNote?”
optionalscopeNote?:string|null
Defined in: src/types/sorts.ts:778
Usage guidance (skos:scopeNote) — when to reach for this concept.
worldMode?
Section titled “worldMode?”
optionalworldMode?:WorldModeDto
Defined in: src/types/sorts.ts:782
The world assumption for this sort — open (default) or closed.