- switch (this.version) {
- case OCPPVersion.VERSION_16:
- this.ajv = new AjvDraft04();
- break;
- case OCPPVersion.VERSION_20:
- case OCPPVersion.VERSION_201:
- this.ajv = new Ajv();
- break;
- }
+ this.ajv = new Ajv({
+ keywords: ['javaType'],
+ multipleOfPrecision: 2,
+ });