protected static function inputValidate($data, string $jsonShemaFile): bool
    {
        $fullPath = cfg::baseDir() . cfg::JSON_SCHEMA . cfg::DS;
        $jsonSchema = $fullPath . $jsonShemaFile;

        if (Json::validate($data, $jsonSchema)) {
            return true;
        }

        return false;
    }