Type alias PartialVocabulary<TBase>

PartialVocabulary<TBase>: {
    namespace: TBase;
} & Partial<Record<string, string>> & {
    terms: {
        namespace: NamedNode<TBase>;
    } & Partial<Record<string, NamedNode>>;
}

A Vocabulary where all the non-namespace fields are of unknown value. This is a fallback in case createVocabulary gets called with a non-strict string array.

Type Parameters

  • TBase extends string

Type declaration

  • namespace: TBase

Type declaration

  • terms: {
        namespace: NamedNode<TBase>;
    } & Partial<Record<string, NamedNode>>