Skip to content

Interface: VocabularyDisplayLabel

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyDisplayLabel

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

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

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


fallbackPath: string[]

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

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


labelUseId: string

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

The label use shown (UUID).


language: string

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

The label’s canonical language.


policy: string

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

display-fallback/v1.


optional requestedLanguage?: string

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

The language the reader asked for, if any.


schemeId: string

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

The scheme whose preferred label this is (UUID).


text: string

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

The label text.