def METHOD_NAME(self, record: Record) -> dict[str, Any] | None:
    details = record.vulnerability_details
    if not details:
        # this shouldn't happen
        return None
    return {
        "id": str(uuid4()),
        "identifiers": [
            {
                "name": record.check_id,
                "type": "license",
                "value": record.check_id,
            }
        ],
        "location": {
            "file": record.repo_file_path.lstrip("/"),
        },
        "name": record.short_description,
        "description": f"Package {details['package_name']}@{details['package_version']} has license {details['license']}",
    }