object OnboardingCreateNewTaskRequest
{
  "type": "object",
  "required": [
    "title",
    "boarding_task_template_category_id",
    "due_in"
  ],
  "properties": {
    "title": {
      "type": "string"
    },
    "due_in": {
      "type": "number",
      "example": 30,
      "description": "Due date in days after employee start date"
    },
    "add_after": {
      "type": "number",
      "description": "Task start date in days after employee start date"
    },
    "assignee_id": {
      "type": "number",
      "description": "Specific assignee if default_assignee_type is 'employee'"
    },
    "description": {
      "type": "string"
    },
    "require_attachment": {
      "type": "string",
      "description": "'true' to enabled required attachment"
    },
    "default_assignee_type": {
      "enum": [
        "self",
        "leader",
        "employee"
      ],
      "type": "string",
      "description": "Default: self; leader - direct manager; employee - specific employee via assignee_id"
    },
    "boarding_task_template_category_id": {
      "type": "number"
    }
  }
}
object OnboardingCreateNewTaskResponse
{
  "type": "object",
  "example": {
    "data": {
      "id": 1
    }
  },
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "example": 1
        }
      }
    }
  }
}
object OnboardingListTaskCategoriesResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 1,
        "title": "General"
      },
      {
        "id": 2,
        "title": "Platform"
      }
    ]
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 1
          },
          "title": {
            "type": "string",
            "example": "General"
          }
        }
      }
    }
  }
}
object PerformanceGetQuarterlyCompanyGoalsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "title": "Optimize data storage",
        "progress": {
          "actual": 10,
          "to_date": 34
        }
      }
    ]
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "example": "Optimize data storage"
          },
          "progress": {
            "type": "object",
            "properties": {
              "actual": {
                "type": "number",
                "example": 10
              },
              "to_date": {
                "type": "number",
                "example": 34
              }
            }
          }
        }
      }
    }
  }
}
object PerformanceGetQuarterlyIndividualGoalsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "name": "John Doe",
        "goals": [
          {
            "title": "Optimize data storage",
            "progress": {
              "actual": 10,
              "to_date": 34
            }
          }
        ],
        "progress": {
          "actual": 10,
          "to_date": 34
        }
      }
    ]
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "John Doe"
          },
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Optimize data storage"
                },
                "progress": {
                  "type": "object",
                  "properties": {
                    "actual": {
                      "type": "number",
                      "example": 10
                    },
                    "to_date": {
                      "type": "number",
                      "example": 34
                    }
                  }
                }
              }
            }
          },
          "progress": {
            "type": "object",
            "properties": {
              "actual": {
                "type": "number",
                "example": 10
              },
              "to_date": {
                "type": "number",
                "example": 34
              }
            }
          }
        }
      }
    }
  }
}
object PerformanceGetQuarterlyTeamGoalsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "name": "HR team",
        "goals": [
          {
            "title": "Optimize data storage",
            "progress": {
              "actual": 10,
              "to_date": 34
            }
          }
        ],
        "progress": {
          "actual": 10,
          "to_date": 34
        }
      }
    ]
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "HR team"
          },
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Optimize data storage"
                },
                "progress": {
                  "type": "object",
                  "properties": {
                    "actual": {
                      "type": "number",
                      "example": 10
                    },
                    "to_date": {
                      "type": "number",
                      "example": 34
                    }
                  }
                }
              }
            }
          },
          "progress": {
            "type": "object",
            "properties": {
              "actual": {
                "type": "number",
                "example": 10
              },
              "to_date": {
                "type": "number",
                "example": 34
              }
            }
          }
        }
      }
    }
  }
}
object PerformanceOverviewQuarterlyProgressResponse
{
  "type": "object",
  "example": {
    "data": {
      "team": {
        "actual": 37,
        "adjusted": 42
      },
      "company": {
        "actual": 15,
        "adjusted": 18
      },
      "individual": {
        "actual": 26,
        "adjusted": 31
      }
    }
  },
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "team": {
          "type": "object",
          "properties": {
            "actual": {
              "type": "number",
              "example": 37
            },
            "adjusted": {
              "type": "number",
              "example": 42
            }
          }
        },
        "company": {
          "type": "object",
          "properties": {
            "actual": {
              "type": "number",
              "example": 15
            },
            "adjusted": {
              "type": "number",
              "example": 18
            }
          }
        },
        "individual": {
          "type": "object",
          "properties": {
            "actual": {
              "type": "number",
              "example": 26
            },
            "adjusted": {
              "type": "number",
              "example": 31
            }
          }
        }
      }
    }
  }
}
object PositionsListCompanyPositionsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 19,
        "code": "X2",
        "title": "CFO",
        "description": "..."
      },
      {
        "id": 20,
        "code": null,
        "title": "CEO",
        "description": null
      }
    ],
    "meta": {
      "per_page": 50,
      "next_page": 2,
      "total_pages": 2,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 75
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 19
          },
          "code": {
            "type": "string",
            "example": "X2",
            "nullable": true
          },
          "title": {
            "type": "string",
            "example": "CFO"
          },
          "description": {
            "type": "string",
            "example": "...",
            "nullable": true
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 50
        },
        "next_page": {
          "type": "number",
          "example": 2
        },
        "total_pages": {
          "type": "number",
          "example": 2
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 75
        }
      }
    }
  }
}
object RecruitmentCreateApplicantWithReferral422Response
{
  "type": "object",
  "example": {
    "errors": [
      "Email has already been taken"
    ],
    "error_code": "validation_failed"
  },
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "Email has already been taken"
      }
    },
    "error_code": {
      "type": "string",
      "example": "validation_failed"
    }
  }
}
object RecruitmentCreateApplicantWithReferralRequest
{
  "type": "object",
  "required": [
    "applicant[first_name]"
  ],
  "properties": {
    "applicant[email]": {
      "type": "string"
    },
    "applicant[source]": {
      "type": "string"
    },
    "applicant[address]": {
      "type": "string"
    },
    "applicant[summary]": {
      "type": "string"
    },
    "applicant[referral]": {
      "type": "string"
    },
    "applicant[last_name]": {
      "type": "string"
    },
    "send_thank_you_email": {
      "type": "string",
      "description": "'true' to send thank you email to applicant"
    },
    "applicant[attachment]": {
      "type": "string",
      "format": "binary",
      "description": "The file to upload."
    },
    "applicant[first_name]": {
      "type": "string"
    },
    "applicant[phone_number]": {
      "type": "string"
    }
  }
}
object RecruitmentCreateApplicantWithReferralResponse
{
  "type": "object",
  "example": {
    "data": {
      "id": 1
    }
  },
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "example": 1
        }
      }
    }
  }
}
object RecruitmentGetApplicantDetailsResponse
{
  "type": "object",
  "example": {
    "data": {
      "id": 3,
      "email": "fritzgerard@example.com",
      "stage": {
        "id": 4,
        "title": "Interview",
        "created_at": "2020-10-15T10:57:34Z"
      },
      "source": "referral",
      "address": null,
      "summary": null,
      "added_by": {
        "id": 1,
        "email": "vlad@example.com",
        "full_name": "Vlad Hendrik"
      },
      "referrer": {
        "id": 1,
        "email": "josh@example.com",
        "full_name": "Josh Pascuale",
        "phone_number": 67876162
      },
      "full_name": "Fritzgerard Stachie",
      "last_name": "Stachie",
      "created_at": "2020-10-21T12:58:43Z",
      "first_name": "Fritzgerard",
      "hired_date": null,
      "position_id": 1,
      "phone_number": null,
      "disqualified_date": "2020-10-28"
    }
  },
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "example": 3
        },
        "email": {
          "type": "string",
          "example": "fritzgerard@example.com"
        },
        "stage": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "example": 4
            },
            "title": {
              "type": "string",
              "example": "Interview"
            },
            "created_at": {
              "type": "string",
              "example": "2020-10-15T10:57:34Z"
            }
          }
        },
        "source": {
          "type": "string",
          "example": "referral"
        },
        "address": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "summary": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "added_by": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "example": 1
            },
            "email": {
              "type": "string",
              "example": "vlad@example.com"
            },
            "full_name": {
              "type": "string",
              "example": "Vlad Hendrik"
            }
          }
        },
        "referrer": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "example": 1
            },
            "email": {
              "type": "string",
              "example": "josh@example.com"
            },
            "full_name": {
              "type": "string",
              "example": "Josh Pascuale"
            },
            "phone_number": {
              "type": "number",
              "example": 67876162
            }
          }
        },
        "full_name": {
          "type": "string",
          "example": "Fritzgerard Stachie"
        },
        "last_name": {
          "type": "string",
          "example": "Stachie"
        },
        "created_at": {
          "type": "string",
          "example": "2020-10-21T12:58:43Z"
        },
        "first_name": {
          "type": "string",
          "example": "Fritzgerard"
        },
        "hired_date": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "position_id": {
          "type": "number",
          "example": 1
        },
        "phone_number": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "disqualified_date": {
          "type": "string",
          "example": "2020-10-28"
        }
      }
    }
  }
}
object RecruitmentGetPositionDetailsResponse
{
  "type": "object",
  "example": {
    "data": {
      "id": 1,
      "link": null,
      "team": "",
      "group": "Hiring Group",
      "title": "CTO",
      "status": "completed",
      "group_id": 1,
      "location": "New York",
      "priority": 1,
      "applicants": [
        {
          "id": 1,
          "email": "jon.vondrak@example.com",
          "full_name": "Jon Vondrak"
        },
        {
          "id": 2,
          "email": "sam.cross@example.com",
          "full_name": "Samantha Cross"
        }
      ],
      "created_at": "2020-10-15",
      "visibility": "Completed",
      "hiring_team": [
        {
          "id": 12,
          "role": "hiring_manager",
          "full_name": "Manel Lopez-Bru"
        },
        {
          "id": 1,
          "role": "interviewer",
          "full_name": "Pau Capdevilla"
        }
      ],
      "location_id": 4,
      "completed_at": "2020-10-28",
      "internal_date": "2020-10-31",
      "employment_type": "Full-time",
      "applicants_count": 2,
      "description_blocks": [
        {
          "title": "Description",
          "content": "<h1>This Is A CTO Position</h1>"
        },
        {
          "title": "Requirements",
          "content": "<p>This is what we required.</p>"
        },
        {
          "title": "Benefits",
          "content": "<p>Here are some benefits.</p>"
        },
        {
          "title": "More Details",
          "content": "<p>A custom block.</p>"
        }
      ],
      "applicants_required": 1
    }
  },
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "example": 1
        },
        "link": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "team": {
          "type": "string",
          "example": ""
        },
        "group": {
          "type": "string",
          "example": "Hiring Group"
        },
        "title": {
          "type": "string",
          "example": "CTO"
        },
        "status": {
          "type": "string",
          "example": "completed"
        },
        "group_id": {
          "type": "number",
          "example": 1
        },
        "location": {
          "type": "string",
          "example": "New York"
        },
        "priority": {
          "type": "number",
          "example": 1
        },
        "applicants": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "example": 1
              },
              "email": {
                "type": "string",
                "example": "jon.vondrak@example.com"
              },
              "full_name": {
                "type": "string",
                "example": "Jon Vondrak"
              }
            }
          }
        },
        "created_at": {
          "type": "string",
          "example": "2020-10-15"
        },
        "visibility": {
          "type": "string",
          "example": "Completed"
        },
        "hiring_team": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "example": 12
              },
              "role": {
                "type": "string",
                "example": "hiring_manager"
              },
              "full_name": {
                "type": "string",
                "example": "Manel Lopez-Bru"
              }
            }
          }
        },
        "location_id": {
          "type": "number",
          "example": 4
        },
        "completed_at": {
          "type": "string",
          "example": "2020-10-28"
        },
        "internal_date": {
          "type": "string",
          "example": "2020-10-31"
        },
        "employment_type": {
          "type": "string",
          "example": "Full-time"
        },
        "applicants_count": {
          "type": "number",
          "example": 2
        },
        "description_blocks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string",
                "example": "Description"
              },
              "content": {
                "type": "string",
                "example": "<h1>This Is A CTO Position</h1>"
              }
            }
          }
        },
        "applicants_required": {
          "type": "number",
          "example": 1
        }
      }
    }
  }
}
object RecruitmentListApplicantActionsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "action": "moved_between_stages",
        "message": "Applicant moved from \"Interview\" to \"Reference check\"",
        "created_at": "2020-10-28T09:05:45Z"
      },
      {
        "action": "moved_between_stages",
        "message": "Applicant moved from \"CV review\" to \"Interview\"",
        "created_at": "2020-10-27T10:59:23Z"
      },
      {
        "action": "moved_between_stages",
        "message": "Applicant moved from \"New\" to \"CV review\"",
        "created_at": "2020-10-15T11:01:39Z"
      },
      {
        "action": "document_created",
        "message": "Uploaded \"empty-document.pdf\"",
        "created_at": "2020-10-15T10:59:15Z"
      },
      {
        "action": "applicant_created",
        "message": "Applicant created",
        "created_at": "2020-10-15T10:58:57Z"
      }
    ],
    "meta": {
      "per_page": 30,
      "next_page": null,
      "total_pages": 1,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 5
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "example": "moved_between_stages"
          },
          "message": {
            "type": "string",
            "example": "Applicant moved from \"Interview\" to \"Reference check\""
          },
          "created_at": {
            "type": "string",
            "example": "2020-10-28T09:05:45Z"
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 30
        },
        "next_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_pages": {
          "type": "number",
          "example": 1
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 5
        }
      }
    }
  }
}
object RecruitmentListApplicantsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 1,
        "email": "jon.vondrak@example.com",
        "stage": {
          "id": 6,
          "title": "Reference check",
          "created_at": "2020-10-15T10:57:34Z"
        },
        "source": "recruiters",
        "address": null,
        "summary": null,
        "full_name": "Jon Vondrak",
        "last_name": "Vondrak",
        "created_at": "2020-10-15T10:58:57Z",
        "first_name": "Jon",
        "hired_date": null,
        "phone_number": null,
        "disqualified_date": null
      },
      {
        "id": 2,
        "email": "sam.cross@example.com",
        "stage": {
          "id": 10,
          "title": "Hired",
          "created_at": "2020-10-15T10:57:34Z"
        },
        "source": "recruiters",
        "address": null,
        "summary": null,
        "full_name": "Samantha Cross",
        "last_name": "Cross",
        "created_at": "2020-10-15T11:02:34Z",
        "first_name": "Samantha",
        "hired_date": "2020-10-28",
        "phone_number": null,
        "disqualified_date": null
      }
    ],
    "meta": {
      "per_page": 30,
      "next_page": null,
      "total_pages": 1,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 3
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 1
          },
          "email": {
            "type": "string",
            "example": "jon.vondrak@example.com"
          },
          "stage": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "example": 6
              },
              "title": {
                "type": "string",
                "example": "Reference check"
              },
              "created_at": {
                "type": "string",
                "example": "2020-10-15T10:57:34Z"
              }
            }
          },
          "source": {
            "type": "string",
            "example": "recruiters"
          },
          "address": {
            "type": "string",
            "nullable": true,
            "x-konfig-null-placeholder": true
          },
          "summary": {
            "type": "string",
            "nullable": true,
            "x-konfig-null-placeholder": true
          },
          "full_name": {
            "type": "string",
            "example": "Jon Vondrak"
          },
          "last_name": {
            "type": "string",
            "example": "Vondrak"
          },
          "created_at": {
            "type": "string",
            "example": "2020-10-15T10:58:57Z"
          },
          "first_name": {
            "type": "string",
            "example": "Jon"
          },
          "hired_date": {
            "type": "string",
            "example": "2020-10-28",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true,
            "x-konfig-null-placeholder": true
          },
          "disqualified_date": {
            "type": "string",
            "nullable": true,
            "x-konfig-null-placeholder": true
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 30
        },
        "next_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_pages": {
          "type": "number",
          "example": 1
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 3
        }
      }
    }
  }
}
object RecruitmentListPositionsResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 2902504,
        "link": "https://talent.sage.hr/jobs/xxx",
        "team": "Management",
        "group": "Hiring Group",
        "title": "CEO",
        "status": "published",
        "group_id": 871621,
        "location": "London",
        "priority": 1,
        "created_at": "2019-09-01",
        "visibility": "Published",
        "location_id": 9182712,
        "completed_at": null,
        "internal_date": "2019-10-01",
        "employment_type": "Full-time",
        "applicants_count": 3,
        "description_blocks": [
          {
            "title": "Requirements",
            "content": "Html content goes here"
          }
        ],
        "applicants_required": 1
      },
      {
        "id": 212,
        "link": null,
        "team": "",
        "group": "Hiring Group",
        "title": "CFO",
        "status": "completed",
        "group_id": 871621,
        "location": null,
        "priority": 9800,
        "created_at": "2019-09-01",
        "visibility": "Completed",
        "location_id": null,
        "completed_at": "2019-10-12",
        "internal_date": "2019-10-21",
        "employment_type": null,
        "applicants_count": 4,
        "description_blocks": [
          {
            "title": "Description",
            "content": "<p>This is a CFO position.</p>"
          },
          {
            "title": "Requirements",
            "content": "<p>Be a CFO</p>"
          },
          {
            "title": "Benefits",
            "content": "<p>iPhone 12</p>"
          }
        ],
        "applicants_required": 2
      }
    ],
    "meta": {
      "per_page": 20,
      "next_page": 2,
      "total_pages": 2,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 34
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 2902504
          },
          "link": {
            "type": "string",
            "example": "https://talent.sage.hr/jobs/xxx",
            "nullable": true
          },
          "team": {
            "type": "string",
            "example": "Management"
          },
          "group": {
            "type": "string",
            "example": "Hiring Group"
          },
          "title": {
            "type": "string",
            "example": "CEO"
          },
          "status": {
            "type": "string",
            "example": "published"
          },
          "group_id": {
            "type": "number",
            "example": 871621
          },
          "location": {
            "type": "string",
            "example": "London",
            "nullable": true
          },
          "priority": {
            "type": "number",
            "example": 1
          },
          "created_at": {
            "type": "string",
            "example": "2019-09-01"
          },
          "visibility": {
            "type": "string",
            "example": "Published"
          },
          "location_id": {
            "type": "number",
            "example": 9182712,
            "nullable": true
          },
          "completed_at": {
            "type": "string",
            "example": "2019-10-12",
            "nullable": true
          },
          "internal_date": {
            "type": "string",
            "example": "2019-10-01"
          },
          "employment_type": {
            "type": "string",
            "example": "Full-time",
            "nullable": true
          },
          "applicants_count": {
            "type": "number",
            "example": 3
          },
          "description_blocks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "example": "Requirements"
                },
                "content": {
                  "type": "string",
                  "example": "Html content goes here"
                }
              }
            }
          },
          "applicants_required": {
            "type": "number",
            "example": 1
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 20
        },
        "next_page": {
          "type": "number",
          "example": 2
        },
        "total_pages": {
          "type": "number",
          "example": 2
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 34
        }
      }
    }
  }
}
object TeamsListInCompanyResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 19,
        "name": "Sales",
        "manager_ids": [
          1,
          2
        ],
        "employee_ids": [
          5,
          7,
          90
        ]
      }
    ],
    "meta": {
      "per_page": 50,
      "next_page": 2,
      "total_pages": 2,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 75
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 19
          },
          "name": {
            "type": "string",
            "example": "Sales"
          },
          "manager_ids": {
            "type": "array",
            "items": {
              "type": "number",
              "example": 1
            }
          },
          "employee_ids": {
            "type": "array",
            "items": {
              "type": "number",
              "example": 5
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 50
        },
        "next_page": {
          "type": "number",
          "example": 2
        },
        "total_pages": {
          "type": "number",
          "example": 2
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 75
        }
      }
    }
  }
}
object TerminationsReasonsListInCompanyResponse
{
  "type": "object",
  "example": {
    "data": [
      {
        "id": 19,
        "code": "NJ",
        "name": "New job",
        "type": "voluntary"
      },
      {
        "id": 20,
        "code": null,
        "name": "End of Internship",
        "type": "involuntary"
      }
    ],
    "meta": {
      "per_page": 50,
      "next_page": 2,
      "total_pages": 2,
      "current_page": 1,
      "previous_page": null,
      "total_entries": 75
    }
  },
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "example": 19
          },
          "code": {
            "type": "string",
            "example": "NJ",
            "nullable": true
          },
          "name": {
            "type": "string",
            "example": "New job"
          },
          "type": {
            "type": "string",
            "example": "voluntary"
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "number",
          "example": 50
        },
        "next_page": {
          "type": "number",
          "example": 2
        },
        "total_pages": {
          "type": "number",
          "example": 2
        },
        "current_page": {
          "type": "number",
          "example": 1
        },
        "previous_page": {
          "type": "string",
          "nullable": true,
          "x-konfig-null-placeholder": true
        },
        "total_entries": {
          "type": "number",
          "example": 75
        }
      }
    }
  }
}
object TimesheetsClockInOutRequest
{
  "type": "object",
  "properties": {
    "override": {
      "type": "string",
      "description": "'true' if override provided days clocked entries"
    },
    "clocked_time": {
      "type": "object",
      "properties": {
        "YYYY/MM/DD": {
          "type": "object",
          "properties": {
            "employee_id": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "clock_in": {
                    "type": "string",
                    "description": "YYYY/MM/DD HH:MM"
                  },
                  "clock_out": {
                    "type": "string",
                    "description": "YYYY/MM/DD HH:MM"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
object TimesheetsClockInOutResponse
{
  "type": "object",
  "example": {
    "errors": [
      "error 1",
      "error 2"
    ]
  },
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "error 1"
      }
    }
  }
}