def prepareResponse(mainpropertyname: str, data: dict) -> dict:
    """
    Prepares a response to be sent with the received data.

    :param mainpropertyname: str - The name of the property that will hold the response's body.
    :param data: dict - The dictionary with data to build the response.
    :returns: dict - A dictionary with keys:
        'mainpropertyname' : The main body for the response.
        'status' : An status code for the operation. To be propertly determined. For now:
            0 = All good.
            1 = No data found.
            20 = Error.
        {scraped, but might be used later...?}
        ['error'] : If an error was raised, this will contain an error message.
        ['message'] : If a warning was emitted, this will contain a warning or information message.
    """
    response = {'status' : '0', mainpropertyname : data['body']}

    if 'message' in data:
        response['status'] = '1' # data['message']

    if 'error' in data:
        response['status'] = '20' # data['error']


    return response