{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/when-i-work/json-schema/when-i-work-shift-break-audit-schema.json",
  "title": "ShiftBreakAudit",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/when-i-work-shift-break-paid-rest-api-openapi.yml#/components/schemas/ShiftBreakAudit",
  "type": "object",
  "required": [
    "id",
    "timeId",
    "creatorId",
    "taken"
  ],
  "properties": {
    "id": {
      "description": "The shift break audit id",
      "type": "integer"
    },
    "timeId": {
      "description": "The time id associated with the break audit",
      "type": "integer"
    },
    "creatorId": {
      "description": "The id of the user who created the break audit",
      "type": "integer"
    },
    "taken": {
      "description": "True if all breaks were taken",
      "type": "boolean"
    },
    "note": {
      "description": "A note that should be populated if taken is false",
      "type": "string"
    }
  }
}