Absence.io · Schema

Timespan

A working time configuration defining work hours and schedule.

AbsencesEmployeesLeave ManagementHR

Properties

Name Type Description
_id string Unique identifier of the timespan.
name string Name of the working time configuration.
hoursPerDay number Number of working hours per day.
daysPerWeek integer Number of working days per week.
View JSON Schema on GitHub

JSON Schema

timespan-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/absence-io/refs/heads/main/json-schema/timespan-schema.json",
  "title": "Timespan",
  "description": "A working time configuration defining work hours and schedule.",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique identifier of the timespan.",
      "example": "500567"
    },
    "name": {
      "type": "string",
      "description": "Name of the working time configuration.",
      "example": "Standard Work Week"
    },
    "hoursPerDay": {
      "type": "number",
      "description": "Number of working hours per day.",
      "example": 8
    },
    "daysPerWeek": {
      "type": "integer",
      "description": "Number of working days per week.",
      "example": 5
    }
  }
}