Skip to content

Interface: BulkSortDefinition

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BulkSortDefinition

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

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?: string[]

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

Alternative labels / synonyms (e.g., HPO synonyms for semantic matching).


optional description?: string | null

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

Human-readable description.


optional features?: FeatureDescriptorDto[]

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

Feature descriptors.


optional hiddenLabels?: string[]

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

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

Sort name.


optional parents?: string[]

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

Parent sort names (resolved server-side).


optional scopeNote?: string | null

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

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


optional worldMode?: WorldModeDto

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

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