Skip to content

Interface: VocabularyDisplayLabel

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyDisplayLabel

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

A display label and how it was chosen (display-fallback/v1).

A fallback is a label in another language, never a translation: show it marked (for example “fallback from en — not a translation”). A fallback writes nothing and never counts toward a language obligation.

fallback: boolean

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

Whether the label is in another language than the requested one.


fallbackPath: string[]

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

Every language tried, in order, up to the selected one.


labelUseId: string

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

The label use shown (UUID).


language: string

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

The label’s canonical language.


policy: string

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

display-fallback/v1.


optional requestedLanguage?: string

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

The language the reader asked for, if any.


schemeId: string

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

The scheme whose preferred label this is (UUID).


text: string

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

The label text.