MCPcopy
hub / github.com/ajv-validator/ajv / _addVocabularies

Method _addVocabularies

lib/2020.ts:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 }
19
20 _addVocabularies(): void {
21 super._addVocabularies()
22 draft2020Vocabularies.forEach((v) => this.addVocabulary(v))
23 if (this.opts.discriminator) this.addKeyword(discriminator)
24 }
25
26 _addDefaultMetaSchema(): void {
27 super._addDefaultMetaSchema()

Callers

nothing calls this directly

Calls 2

addVocabularyMethod · 0.80
addKeywordMethod · 0.45

Tested by

no test coverage detected