{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LeaveRequest",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "leave_type": { "type": "string" },
    "description": { "type": "string" },
    "start_date": { "type": "string", "format": "date" },
    "end_date": { "type": "string", "format": "date" },
    "duration": { "type": "number" },
    "leave_status": { "type": "string" },
    "comments": { "type": "string" },
    "employee": { "$ref": "hr-partner-employee-ref-schema.json" }
  }
}
