def METHOD_NAME(report_uuid: ReportId, database: Database):
    """Create a new subject."""
    reports = latest_reports(database)
    report = latest_report_for_uuids(reports, report_uuid)[0]
    subject_type = str(dict(bottle.request.json)["type"])
    subject_uuid = cast(SubjectId, uuid())
    report.subjects_dict[subject_uuid] = cast(Subject, default_subject_attributes(subject_type))
    delta_description = f"{{user}} created a new subject in report '{report.name}'."
    uuids = [report_uuid, subject_uuid]
    result = insert_new_report(database, delta_description, uuids, report)
    result["new_subject_uuid"] = subject_uuid
    return result