import _Ajv, { type ValidateFunction } from 'ajv'
import _ajvFormats from 'ajv-formats'
import _Ajv, { type ValidateFunction } from 'ajv'
import _ajvFormats from 'ajv-formats'
import type { ChargingStation } from '../../charging-station/index.js'
import { OCPPError } from '../../exception/index.js'
import type {
import type { ChargingStation } from '../../charging-station/index.js'
import { OCPPError } from '../../exception/index.js'
import type {
RequestCommand
} from '../../types/index.js'
import { Constants, logger } from '../../utils/index.js'
RequestCommand
} from '../../types/index.js'
import { Constants, logger } from '../../utils/index.js'
private readonly version: OCPPVersion
protected readonly ajv: Ajv
protected readonly ajvIncomingRequest: Ajv
private readonly version: OCPPVersion
protected readonly ajv: Ajv
protected readonly ajvIncomingRequest: Ajv
- protected abstract jsonSchemasValidateFunction: Map<RequestCommand, ValidateFunction<JsonType>>
- public abstract jsonSchemasIncomingRequestResponseValidateFunction: Map<
+ protected abstract payloadValidateFunctions: Map<RequestCommand, ValidateFunction<JsonType>>
+ public abstract incomingRequestResponsePayloadValidateFunctions: Map<