def METHOD_NAME(self, config) -> dict:
    """Check that the config has all required fields"""
    try:
        from_dict(OutpostConfig, config)
    except DaciteError as exc:
        raise ValidationError(f"Failed to validate config: {str(exc)}") from exc
    return config