def METHOD_NAME(object_name: str, settings: dict) -> str:
    sharing_model = ""
    if "sharingModel" in settings:
        sharing_model = (
            f"    <sharingModel>{capitalize(settings['sharingModel'])}</sharingModel>"
        )
    record_type = ""
    business_process = ""
    if "defaultRecordType" in settings:
        # Use the same default picklist values as SFDX to generate a Business Process,
        # if this object requires one.
        picklist_value = {
            "Case": "New",
            "Lead": "New - Not Contacted",
            "Opportunity": "Prospecting",
            "Solution": "Draft",
        }.get(object_name, "")
        default_status = (
            "<default>true</default>" if object_name == "Opportunity" else ""
        )
        business_process_reference = ""
        if picklist_value:
            # We need to add a Business Process
            business_process_reference = (
                f"<businessProcess>Default{object_name}</businessProcess>"
            )
            default_status = ""
            business_process = f"""    <businessProcesses>
        <fullName>Default{object_name}</fullName>
        <isActive>true</isActive>
        <values>
            <fullName>{picklist_value}</fullName>
            {default_status}
        </values>
    </businessProcesses>"""
        record_type = f"""    <recordTypes>
        <fullName>{capitalize(settings['defaultRecordType'])}</fullName>
        <label>{capitalize(settings['defaultRecordType'])}</label>
        <active>true</active>
        {business_process_reference}
    </recordTypes>
        """
    return f"""<?xml version="1.0" encoding="UTF-8"?>