Skip to content

Interface: BulkSortDefinition

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BulkSortDefinition

Defined in: src/types/sorts.ts:760

A sort definition within a bulk creation request.

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.

optional altLabels?: 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.


optional description?: string | null

Defined in: src/types/sorts.ts:780

Human-readable description.


optional features?: FeatureDescriptorDto[]

Defined in: src/types/sorts.ts:766

Feature descriptors.


optional hiddenLabels?: 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.


optional parents?: string[]

Defined in: src/types/sorts.ts:764

Parent sort names (resolved server-side).


optional scopeNote?: string | null

Defined in: src/types/sorts.ts:778

Usage guidance (skos:scopeNote) — when to reach for this concept.


optional worldMode?: WorldModeDto

Defined in: src/types/sorts.ts:782

The world assumption for this sort — open (default) or closed.