Skip to content

Search

vocabularySchema

ConstantVocabulary Source

Checks a Vocabulary, for example one read from JSON. Tagger checks its vocabulary with this too, and throws a TaggingError when it's invalid.

const vocabularySchema: z.ZodType<ResolvedVocabulary, Vocabulary>

image-tagger is a Ben Hodgson projectGitHub