{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TimeTrackingConfiguration",
  "title": "TimeTrackingConfiguration",
  "additionalProperties": false,
  "description": "Details of the time tracking configuration.",
  "properties": {
    "defaultUnit": {
      "description": "The default unit of time applied to logged time.",
      "enum": [
        "minute",
        "hour",
        "day",
        "week"
      ],
      "type": "string"
    },
    "timeFormat": {
      "description": "The format that will appear on an issue's *Time Spent* field.",
      "enum": [
        "pretty",
        "days",
        "hours"
      ],
      "type": "string"
    },
    "workingDaysPerWeek": {
      "description": "The number of days in a working week.",
      "format": "double",
      "type": "number"
    },
    "workingHoursPerDay": {
      "description": "The number of hours in a working day.",
      "format": "double",
      "type": "number"
    }
  },
  "required": [
    "defaultUnit",
    "timeFormat",
    "workingDaysPerWeek",
    "workingHoursPerDay"
  ],
  "type": "object"
}