Remote · Schema
TimeOff
A time-off request on Remote.
Global PayrollEORContractor ManagementContractor of RecordPEOHRISRecruitingBenefitsEmploymentHRComplianceWorkforceMCPAI Agents
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| employment_id | string | |
| leave_type | string | |
| leave_policy_id | stringnull | |
| status | string | |
| start_date | string | |
| end_date | string | |
| total_days | number | |
| note | stringnull | |
| created_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/remote-com/main/json-schema/remote-time-off-schema.json",
"title": "TimeOff",
"description": "A time-off request on Remote.",
"type": "object",
"required": ["id", "employment_id", "leave_type", "status", "start_date", "end_date"],
"properties": {
"id": { "type": "string", "format": "uuid" },
"employment_id": { "type": "string", "format": "uuid" },
"leave_type": { "type": "string" },
"leave_policy_id": { "type": ["string", "null"], "format": "uuid" },
"status": {
"type": "string",
"enum": ["requested", "approved", "declined", "cancellation_requested", "canceled", "started", "taken"]
},
"start_date": { "type": "string", "format": "date" },
"end_date": { "type": "string", "format": "date" },
"total_days": { "type": "number" },
"note": { "type": ["string", "null"] },
"created_at": { "type": "string", "format": "date-time" }
},
"additionalProperties": false
}