Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.64 KB

File metadata and controls

38 lines (29 loc) · 1.64 KB

Break Type

A defined break template that sets an expectation for possible Break instances on a Shift.

Structure

Break Type

Fields

Name Type Tags Description
id string Optional UUID for this object.
Constraints: Maximum Length: 255
location_id string Required The ID of the business location this type of break applies to.
Constraints: Minimum Length: 1
break_name string Required A human-readable name for this type of break. Will be displayed to
employees in Square products.
Constraints: Minimum Length: 1
expected_duration string Required Format: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of
this break. Precision below minutes is truncated.
Constraints: Minimum Length: 1
is_paid bool Required Whether this break counts towards time worked for compensation
purposes.
version int Optional Used for resolving concurrency issues; request will fail if version
provided does not match server version at time of request. If a value is not
provided, Square's servers execute a "blind" write; potentially
overwriting another writer's data.
created_at string Optional A read-only timestamp in RFC 3339 format.
updated_at string Optional A read-only timestamp in RFC 3339 format.

Example (as JSON)

{
  "id": "id0",
  "location_id": "location_id4",
  "break_name": "break_name8",
  "expected_duration": "expected_duration4",
  "is_paid": false,
  "version": 172,
  "created_at": "created_at2",
  "updated_at": "updated_at4"
}