def search_crash_query_full(crash_id, field_list):
    """
    Generates a graphql query to search for a crash
    :param crash_id: string - The Crash ID to search for.
    :return: string
    """
    return """
        query search_crash_query {
          atd_txdot_crashes(limit: 1, where: {crash_id: {_eq: %CRASH_ID%}}){
            %FIELD_LIST%
          }
        }
    """.replace("%CRASH_ID%", crash_id)\
        .replace("%FIELD_LIST%", "\n            ".join(field_list))