Interface: VocabularyDisplayLabel
@kortexya/reasoninglayer / VocabularyDisplayLabel
Interface: VocabularyDisplayLabel
Section titled “Interface: VocabularyDisplayLabel”Defined in: src/types/vocabulary.ts:1445
A display label and how it was chosen (display-fallback/v1).
Remarks
Section titled “Remarks”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.
Properties
Section titled “Properties”fallback
Section titled “fallback”fallback:
boolean
Defined in: src/types/vocabulary.ts:1453
Whether the label is in another language than the requested one.
fallbackPath
Section titled “fallbackPath”fallbackPath:
string[]
Defined in: src/types/vocabulary.ts:1455
Every language tried, in order, up to the selected one.
labelUseId
Section titled “labelUseId”labelUseId:
string
Defined in: src/types/vocabulary.ts:1459
The label use shown (UUID).
language
Section titled “language”language:
string
Defined in: src/types/vocabulary.ts:1449
The label’s canonical language.
policy
Section titled “policy”policy:
string
Defined in: src/types/vocabulary.ts:1461
display-fallback/v1.
requestedLanguage?
Section titled “requestedLanguage?”
optionalrequestedLanguage?:string
Defined in: src/types/vocabulary.ts:1451
The language the reader asked for, if any.
schemeId
Section titled “schemeId”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.