-// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
+// Partial Copyright Jerome Benoit. 2021-2024. All Rights Reserved.
-import { OCPPServiceUtils } from '../OCPPServiceUtils';
+import type { JSONSchemaType } from 'ajv'
-export class OCPP20ServiceUtils extends OCPPServiceUtils {}
+import { type JsonType, OCPPVersion } from '../../../types/index.js'
+import { OCPPServiceUtils } from '../OCPPServiceUtils.js'
+
+export class OCPP20ServiceUtils extends OCPPServiceUtils {
+ public static parseJsonSchemaFile<T extends JsonType>(
+ relativePath: string,
+ moduleName?: string,
+ methodName?: string
+ ): JSONSchemaType<T> {
+ return super.parseJsonSchemaFile<T>(
+ relativePath,
+ OCPPVersion.VERSION_201,
+ moduleName,
+ methodName
+ )
+ }
+}