{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deputy/json-schema/deputy-employees-shift-status-get-statuses-response-schema.json",
  "title": "Represents the response object displayed to the client",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-communication-api-openapi.yml#/components/schemas/EmployeesShiftStatusGetStatusesResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/modelEmployeeShiftStatus"
      },
      "title": "Response data"
    }
  },
  "$defs": {
    "EmployeeShiftStatusEmployeeShiftStatusValues": {
      "type": "string",
      "enum": [
        "STATUS_UNKNOWN",
        "ON_SHIFT",
        "OFF_SHIFT",
        "ON_BREAK",
        "ON_LEAVE"
      ],
      "default": "STATUS_UNKNOWN",
      "title": "- STATUS_UNKNOWN: Default value, should not be used\n - ON_SHIFT: Employee is currently on shift\n - OFF_SHIFT: Employee is currently off shift\n - ON_BREAK: Employee is currently on break\n - ON_LEAVE: Employee is currently on leave"
    },
    "modelEmployeeShiftStatus": {
      "type": "object",
      "properties": {
        "employeeId": {
          "type": "string",
          "title": "Employee ID as string"
        },
        "status": {
          "$ref": "#/$defs/EmployeeShiftStatusEmployeeShiftStatusValues",
          "title": "Indicates if the employee is currently on shift"
        }
      },
      "title": "Represents the shift status of an employee"
    }
  }
}