@Override
    public boolean validateData(File profileFile) throws HyscaleException {
        String profileFileName = profileFile.getName().split("\\.")[0];
        int dashIndex = profileFileName.indexOf(ToolConstants.DASH);
        if (dashIndex < 0) {
            logger.warn(ServiceSpecActivity.PROFILE_NAME_MISMATCH.getActivityMessage(), profileFile.getName());
            WorkflowLogger.persist(ServiceSpecActivity.PROFILE_NAME_MISMATCH, profileFile.getName());
        }
        StringBuilder profileNameBuilder = new StringBuilder();
        profileNameBuilder.append(ServiceProfileUtil.getProfileName(profileFile)).append(ToolConstants.DASH)
                .append(ServiceProfileUtil.getServiceNameFromProfile(profileFile));
        if (!profileFileName.equals(profileNameBuilder.toString())) {
            logger.warn(ServiceSpecActivity.PROFILE_NAME_MISMATCH.getActivityMessage(), profileFile.getName());
            WorkflowLogger.persist(ServiceSpecActivity.PROFILE_NAME_MISMATCH, profileFile.getName());
        }
        return true;
    }
Provides Profile spec schema related implementation to {@link SpecSchemaValidator}
workflow-controller/controller-service/src/main/java/io/hyscale/controller/validator/impl/HprofSchemaValidator.java