Properties
| Name | Type | Description |
|---|---|---|
| id | string | Timesheet identifier. |
| employee_id | string | Employee identifier. |
| project_id | string | Associated project identifier. |
| cost_code_id | string | Associated cost code. |
| date | string | Timesheet date. |
| regular_hours | number | Regular hours worked. |
| overtime_hours | number | Overtime hours worked. |
| pay_rate | number | Hourly pay rate in USD. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/agave/refs/heads/main/json-schema/unified-api-timesheet-schema.json",
"title": "Timesheet",
"description": "An employee timesheet entry.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Timesheet identifier.",
"example": "ts-990011"
},
"employee_id": {
"type": "string",
"description": "Employee identifier.",
"example": "emp-123456"
},
"project_id": {
"type": "string",
"description": "Associated project identifier.",
"example": "proj-500123"
},
"cost_code_id": {
"type": "string",
"description": "Associated cost code.",
"example": "cc-445566"
},
"date": {
"type": "string",
"format": "date",
"description": "Timesheet date.",
"example": "2025-03-15"
},
"regular_hours": {
"type": "number",
"description": "Regular hours worked.",
"example": 8.0
},
"overtime_hours": {
"type": "number",
"description": "Overtime hours worked.",
"example": 2.0
},
"pay_rate": {
"type": "number",
"description": "Hourly pay rate in USD.",
"example": 45.0
}
}
}