{
  "name": "query/timec/employee.json",
  "parameter": {
    "employee": "",
    "show_sql": false
  },
  "query": [
    ["timec_employee_id", "=", "employee"],
    "and", ["timec_timecard_state", "=", "started"]
  ],
  "field": [
    "timec_record_id",
    "timec_timecard_state",
    "timec_employee_id",
    "timec_start_time",
    "timec_end_time",
    "timec_work_time",
    "timec_work_shift",
    "timec_end_reason",
    "timec_location",
    "timec_work_group",
    "timec_work_subgroup",
    "timec_info"
  ],
  "order": ["timec_start_time", ">"],
  "limit": 1
}
