# KeyResultTemplate

Type: object

Schema: [KeyResultTemplate](https://sourcey-gauzy.pages.dev/api-reference/models/keyresulttemplate/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

- `type` (required)
  Type: string
  
  enum: ["Numerical","True/False","Currency","Task","KPI"]

- `unit` (required)
  Type: string

- `targetValue` (required)
  Type: number

- `initialValue` (required)
  Type: number

- `deadline` (required)
  Type: string
  
  enum: ["No Custom Deadline","Hard Deadline","Hard and Soft Deadline"]

- `kpi` (required)
  Reference: [GoalKPITemplate](https://sourcey-gauzy.pages.dev/api-reference/models/goalkpitemplate/index.md); Type: object

- `kpiId` (required)
  Type: string
  
  readOnly: true

- `goal` (required)
  Reference: [GoalTemplate](https://sourcey-gauzy.pages.dev/api-reference/models/goaltemplate/index.md); Type: object

- `goalId` (required)
  Type: string
  
  readOnly: true