def full_record(marc21_record, marc21_metadata):
    """Full record as is expected by the UI serializer."""
    marc21_record
    marc21_record["id"] = "9jkx5-hx115"
    marc21_record["pid"] = {
        "pk": 58,
        "status": "R",
        "obj_type": "rec",
        "pid_type": "marcid",
    }

    marc21_record["files"] = {"enabled": True}
    marc21_record["access"] = {
        "files": "restricted",
        "embargo": {"until": None, "active": False, "reason": None},
        "metadata": "restricted",
        "status": "restricted",
    }
    marc21_record["metadata"] = marc21_metadata

    return marc21_record