{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/takibibase-com/json-schema/takibibase-com-task-version-schema.json",
  "title": "TaskVersion",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/takibibase-com-openapi.yml#/components/schemas/TaskVersion",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "kind": {
      "type": "string",
      "enum": [
        "edit",
        "handoff"
      ]
    },
    "title": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "actorKind": {
      "type": "string",
      "enum": [
        "user",
        "profile"
      ]
    },
    "actorProfileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "actorUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "actorName": {
      "type": [
        "string",
        "null"
      ]
    },
    "handoffByProfileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "handoffByName": {
      "type": [
        "string",
        "null"
      ]
    },
    "seq": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string"
    }
  }
}