Separate Ajv class with JSON Schema draft-2019-09 support and Ajv class without any keywords/meta-schemas:
import Ajv from "ajv" // draft-07 support
import AjvCore from "ajv/dist/core" // no keywords included
import Ajv2019 from "ajv/dist/2019" // draft-2019-09 support (option `draft2019: true` no longer used)
Different default import using require (breaking change):
const Ajv = require("ajv").default // draft-07 support
const AjvCore = require("ajv/dist/core").default // no keywords included
const Ajv2019 = require("ajv/dist/2019").default // draft-2019-09 support
Support for $data reference with in draft-2019-09