7shifts · Schema
Time Punch
7shifts TimePunch resource.
RestaurantSchedulingWorkforce ManagementEmployee SchedulingTime TrackingHRISLabor
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| user_id | integer | |
| location_id | integer | |
| department_id | integer | |
| role_id | integer | |
| clocked_in | string | Clock-in timestamp (UTC, ISO8601). |
| clocked_out | string | Clock-out timestamp (UTC, ISO8601). |
| approved | boolean | |
| hourly_wage | integer | Calculated wage in cents. |
| tips | integer | Declared tips in cents. |
| auto_clocked_out | boolean | |
| deleted | boolean | |
| breaks | array | |
| created | string | |
| modified | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/7shifts/refs/heads/main/json-schema/7shifts-timepunch-schema.json",
"title": "Time Punch",
"type": "object",
"description": "7shifts TimePunch resource.",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"user_id": {
"type": "integer",
"format": "int64"
},
"location_id": {
"type": "integer",
"format": "int64"
},
"department_id": {
"type": "integer",
"format": "int64"
},
"role_id": {
"type": "integer",
"format": "int64"
},
"clocked_in": {
"type": "string",
"format": "date-time",
"description": "Clock-in timestamp (UTC, ISO8601)."
},
"clocked_out": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "Clock-out timestamp (UTC, ISO8601)."
},
"approved": {
"type": "boolean"
},
"hourly_wage": {
"type": "integer",
"description": "Calculated wage in cents."
},
"tips": {
"type": "integer",
"description": "Declared tips in cents."
},
"auto_clocked_out": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
},
"breaks": {
"type": "array",
"items": {
"type": "object"
}
},
"created": {
"type": "string",
"format": "date-time"
},
"modified": {
"type": "string",
"format": "date-time"
}
}
}