from typing import List
from typing import Dict


def make_property_dict(key: str, data: List) -> Dict:
    """Organize real estate data for the debtor in 106 A/B

    :param key: The ID for the property in the form
    :param data: Extracted content from real estate section
    :return: Organized property information
    """
    if len(data) == 10:
        property_id = data[9]
    else:
        property_id = ""
    return {
        "key": key,
        "address": data[0],
        "city": data[1],
        "state": data[2],
        "zip": data[3],
        "property_value": data[4],
        "your_property_value": data[5],
        "other": data[6],
        "ownership_interest": data[7],
        "county": data[8],
        "property_id": property_id,
    }