7shifts · JSON Structure

7Shifts Timepunch Structure

7shifts TimePunch structure.

Type: object Properties: 15
RestaurantSchedulingWorkforce ManagementEmployee SchedulingTime TrackingHRISLabor

TimePunch is a JSON Structure definition published by 7shifts, describing 15 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id user_id location_id department_id role_id clocked_in clocked_out approved hourly_wage tips auto_clocked_out deleted breaks created modified

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/7shifts/refs/heads/main/json-structure/7shifts-timepunch-structure.json",
  "name": "TimePunch",
  "type": "object",
  "description": "7shifts TimePunch structure.",
  "properties": {
    "id": {
      "type": "int64",
      "description": ""
    },
    "user_id": {
      "type": "int64",
      "description": ""
    },
    "location_id": {
      "type": "int64",
      "description": ""
    },
    "department_id": {
      "type": "int64",
      "description": ""
    },
    "role_id": {
      "type": "int64",
      "description": ""
    },
    "clocked_in": {
      "type": "datetime",
      "description": "Clock-in timestamp (UTC, ISO8601)."
    },
    "clocked_out": {
      "type": "datetime",
      "description": "Clock-out timestamp (UTC, ISO8601)."
    },
    "approved": {
      "type": "boolean",
      "description": ""
    },
    "hourly_wage": {
      "type": "int64",
      "description": "Calculated wage in cents."
    },
    "tips": {
      "type": "int64",
      "description": "Declared tips in cents."
    },
    "auto_clocked_out": {
      "type": "boolean",
      "description": ""
    },
    "deleted": {
      "type": "boolean",
      "description": ""
    },
    "breaks": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object"
      }
    },
    "created": {
      "type": "datetime",
      "description": ""
    },
    "modified": {
      "type": "datetime",
      "description": ""
    }
  }
}