def METHOD_NAME(self):
    """Get citation metadata for file in repository."""
    citation_file_path = current_app.config.get("GITHUB_CITATION_FILE")
    if not citation_file_path:
        return {}
    try:
        # Read raw data from file
        data = self.load_citation_file(citation_file_path)
        # Load metadata from citation file and serialize it
        metadata = self.load_citation_metadata(data)
        return self.serialize_citation_metadata(metadata)
    except ValidationError as e:
        # Wrap the error into CustomGitHubMetadataError() so it can be handled upstream
        raise CustomGitHubMetadataError(file=citation_file_path, message=e.messages)