{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/knit/main/json-schema/knit-time-off-schema.json",
  "title": "TimeOff",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knit-time-off-api-openapi.yml#/components/schemas/TimeOff",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "employee_id": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "approved",
        "denied",
        "cancelled"
      ]
    },
    "start_date": {
      "type": "string",
      "format": "date"
    },
    "end_date": {
      "type": "string",
      "format": "date"
    },
    "integration_id": {
      "type": "string"
    }
  }
}