Skip to main content
Version: 1.x

Interface: VocabularyDomain

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

A domain of vocabulary terms grouped by name.

Remarks

Maps canonical term names to their full VocabularyTerm definitions.

Example

const domain: VocabularyDomain = {
name: 'procurement',
terms: {
supplier: { name: 'supplier', synonyms: ['vendor'], domain: 'procurement' },
},
};

Properties

name

readonly name: SAPDomain

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

The SAP domain identifier.


terms

readonly terms: Readonly<Record<string, VocabularyTerm>>

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

All terms in this domain, keyed by canonical name.