lib/core.ts - core Ajv class without any keywords. All Ajv methods for managing schemas and extensions are defined in this class.
lib/ajv.ts - subclass of Ajv core with JSON Schema draft-07 keywords.
lib/2019.ts - subclass of Ajv core with JSON Schema draft-2019-09 keywords.
lib/compile - code for schema compilation
lib/compile/index.ts - the main recursive function code for schema compilation, functions for reference resolution, the interface for schema compilation context (
lib/compile/context.ts - the class for keyword code generation
KeywordCxt. All pre-defined keywords and user-defined keywords that use
code function are passed an instance of this class.
lib/compile/rules.ts - data structure to store references to all all keyword definitions that were added to Ajv instance, organised by data type.
lib/compile/validate - code to iterate the schema to generate code of validation function.
lib/vocabularies - pre-defined validation keywords.
lib/refs - JSON Schema meta-schemas.