The work-contract resource models a formal employment relationship between an employee (or user) and an establishment.

Each employee is required to have at least one associated work-contract. Multiple contracts are supported, provided their date ranges do not overlap.

A work-contract determines the employee’s active status within the system. Access to the employee’s Lucca account is granted exclusively within the valid date range of at least one active work-contract. Outside of these bounds, account access is disabled.

Additionally, a work-contract contains data describing the employment terms, such as:

  • Contract type (e.g., permanent, fixed-term);
  • Presence of a trial period;
  • Work duration;
  • etc…

The schema is of type object.