# TimeOffPolicy

Type: object

Schema: [TimeOffPolicy](https://sourcey-gauzy.pages.dev/api-reference/models/timeoffpolicy/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `name` (required)
  Type: string

- `requiresApproval` (required)
  Type: boolean

- `paid` (required)
  Type: boolean

- `leaveType` (optional)
  Type: string
  
  enum: ["ANNUAL","SICK","MATERNITY","PATERNITY","UNPAID","COMPENSATORY","BEREAVEMENT","STUDY","OTHER"]

- `maxDaysPerYear` (optional)
  Type: number

- `allowCarryForward` (optional)
  Type: boolean

- `maxCarryForwardDays` (optional)
  Type: number

- `accrualRate` (optional)
  Type: number

- `accrualFrequency` (optional)
  Type: string
  
  enum: ["DAILY","WEEKLY","BIWEEKLY","MONTHLY","ANNUALLY"]

- `isDefault` (optional)
  Type: boolean