Attributes
string
Unique identifier for the leave policy, for example
lvp_Xk9mPq2vR8tn3e.string
Human-readable policy name.
string | null
Plain-language explanation of the policy’s legal or company basis.
string
Leave type the policy applies to, for example
vacation or sick_time_off.string
Whether the policy sets the base entitlement or adds on top of it. One of
set or add.string
Unit used for all policy quantities. One of
days or hours.string
Lifecycle state for the policy. One of
draft, active, or archived.string | null
Workspace that owns the policy. Returns
null for platform-managed policies.string | null
CEL expression that determines which workers match this policy. The expression is evaluated
against the same
worker shape returned by the worker resource and worker GET API, so you can
reference fields such as worker.id, worker.type, worker.workspace,
worker.employment.status, worker.employment.starts,
worker.employment.location.address.country, and worker.reporting.department.name.
Returns null when the policy must be assigned manually.object
Period definition used to reset the balance window.
object | null
Accrual rule for the policy.
object | null
Carryover rule. Returns
null for use-it-or-lose-it policies.object | null
Minimum and maximum balance bounds for the policy.
object | null
Per-period usage limits. Returns
null when there is no additional usage cap.object
Termination payout rule for unused balance.
string
ISO 8601 timestamp of when the policy was created.
string
ISO 8601 timestamp of the most recent update to the policy.