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

Method _addVocabularies

lib/2019.ts:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 _addVocabularies(): void {
24 super._addVocabularies()
25 this.addVocabulary(dynamicVocabulary)
26 draft7Vocabularies.forEach((v) => this.addVocabulary(v))
27 this.addVocabulary(nextVocabulary)
28 this.addVocabulary(unevaluatedVocabulary)
29 if (this.opts.discriminator) this.addKeyword(discriminator)
30 }
31
32 _addDefaultMetaSchema(): void {
33 super._addDefaultMetaSchema()

Callers

nothing calls this directly

Calls 2

addVocabularyMethod · 0.80
addKeywordMethod · 0.45

Tested by

no test coverage detected