Deel · Schema

Deel Time Off Request

Canonical schema for a Deel HRIS time-off request.

HRPayrollGlobal PayrollEOREmployer of RecordContractorsHRISATSWorkforceComplianceImmigrationBackground ChecksWebhooksIT

Properties

Name Type Description
id string
person_id string
policy_id string
type string
start_date string
end_date string
days number
status string
reason string
half_day boolean
created_at string
reviewed_by string
reviewed_at string
View JSON Schema on GitHub

JSON Schema

deel-time-off-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/deel-com/main/json-schema/deel-time-off-schema.json",
  "title": "Deel Time Off Request",
  "description": "Canonical schema for a Deel HRIS time-off request.",
  "type": "object",
  "required": ["id", "person_id", "policy_id", "start_date", "end_date", "status"],
  "properties": {
    "id": { "type": "string" },
    "person_id": { "type": "string" },
    "policy_id": { "type": "string" },
    "type": {
      "type": "string",
      "enum": ["vacation", "sick", "parental", "bereavement", "jury_duty", "study", "unpaid", "other"]
    },
    "start_date": { "type": "string", "format": "date" },
    "end_date": { "type": "string", "format": "date" },
    "days": { "type": "number" },
    "status": {
      "type": "string",
      "enum": ["pending", "approved", "declined", "cancelled"]
    },
    "reason": { "type": "string" },
    "half_day": { "type": "boolean" },
    "created_at": { "type": "string", "format": "date-time" },
    "reviewed_by": { "type": "string" },
    "reviewed_at": { "type": "string", "format": "date-time" }
  },
  "additionalProperties": true
}