def build_dd_entry(definition_entry):
    """Builds Data Dictionary entry from given dictionary entry. Given entry
    itself is added as value for "definition" key.
    {
        "name": "",
        "tags": "",
        "data_type": "",
        "description": "",
        "entry_schema": "",
        "updatedBy": "",
        "definition": definition_entry
    }
    """
    out_dict = {}
    out_dict["name"] = definition_entry["name"]
    out_dict["tags"] = definition_entry["tags"]
    out_dict["data_type"] = definition_entry["property"]["type"]
    out_dict["description"] = definition_entry["property"]["description"]
    out_dict["entry_schema"] = definition_entry["property"]["type"]
    out_dict["updatedBy"] = definition_entry["updated-by"]
    out_dict["definition"] = definition_entry
    return out_dict