import type { Options } from 'ajv'; // Docs: https://ajv.js.org/options.html const ajvConfig: Options = { // Modified strict: true, allErrors: true, strictTypes: true, strictTuples: true, strictRequired: true, allowUnionTypes: false, // required for some tests? to be true // allowMatchingProperties: false, // * // validateFormats: true, // * // // validation and reporting options: // $data: false, // * // verbose: false, // discriminator: false, // * // unicodeRegExp: true, // * // timestamp: undefined, // ** // parseDate: false, // ** // allowDate: false, // ** // int32range: true, // ** // logger: undefined, // loadSchema: undefined, // *, function(uri: string): Promise {} // // options to modify validated data: // removeAdditional: false, // useDefaults: false, // * // coerceTypes: false, // * // // advanced options: // meta: true, // passContext: false, // ownProperties: false, // multipleOfPrecision: undefined, // * }; export default ajvConfig;