[
  {"label":"Case","field_name":"case_id","data_column":"reference_id","type_id":4,"options_table":"cases","options_label_column":"title","options_value_column":"case_id","order_index":1},
  {"label":"Task","field_name":"generic_task_id","data_column":"generic_task_id","type_id":4,"options_table":"generic_tasks","options_label_column":"title","options_value_column":"task_id","options_filter":{"reference_table":"cases","reference_id_field":"reference_id"},"order_index":2},
  {"label":"Hours Remaining","field_name":"hours_remaining_display","type_id":25,"compute_function":"computeTaskHoursRemaining","watch_fields":["generic_task_id"],"help_text":"Automatically calculated based on task allocation and time logged","order_index":3},
  {"label":"Date","field_name":"date","data_column":"date","default":"now()","type_id":3,"order_index":4},
  {"label":"Hours","field_name":"hours","data_column":"hours","type_id":2,"order_index":5},
  {"label":"Description","field_name":"description","data_column":"description","type_id":8,"order_index":6},
  {"label":"Work Type","field_name":"work_type","data_column":"work_type_id","type_id":13,"options_table":"work_types","options_label_column":"name","options_value_column":"work_type_id","order_index":7},
  {"label":"Instructions","field_name":"instructions","data_column":"instructions","type_id":8,"order_index":8},
  {"label":"Documents","field_name":"documents","data_column":"document_ids","type_id":9,"order_index":9,"options":{"linkTable":"case_hour_documents","linkField":"document_id"}},
  {"field_name":"reference_table","data_column":"reference_table","type_id":17,"default_value":"cases","order_index":10}
]