Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.32 KB

break.md

File metadata and controls

35 lines (26 loc) · 1.32 KB

Break

A record of an employee's break during a shift.

Structure

Break

Fields

Name Type Tags Description
id String Optional The UUID for this object.
start_at String Required RFC 3339; follows the same timezone information as Shift. Precision up to
the minute is respected; seconds are truncated.
Constraints: Minimum Length: 1
end_at String Optional RFC 3339; follows the same timezone information as Shift. Precision up to
the minute is respected; seconds are truncated.
break_type_id String Required The BreakType that this Break was templated on.
Constraints: Minimum Length: 1
name String Required A human-readable name.
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
the break.
Constraints: Minimum Length: 1
is_paid TrueClass | FalseClass Required Whether this break counts towards time worked for compensation
purposes.

Example (as JSON)

{
  "id": "id6",
  "start_at": "start_at8",
  "end_at": "end_at4",
  "break_type_id": "break_type_id2",
  "name": "name6",
  "expected_duration": "expected_duration8",
  "is_paid": false
}