Skip to main content

Interface: VocabularyDomain

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

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

The SAP domain identifier.


terms​

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

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

All terms in this domain, keyed by canonical name.