{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-task-status-response-schema.json",
  "title": "TaskStatusResponse",
  "description": "Public metadata for a single :class:`TaskStatus` member.\n\nMirrors :class:`giljo_mcp.domain.task_status.TaskStatusMeta` plus the\ncanonical ``value`` (the enum's string value).\n\nThe frontend (``taskStatusesStore.js``) consumes this shape verbatim\nand resolves ``color_token`` against the CSS custom properties\ndeclared in ``main.scss``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/giljo-ai-task-statuses-api-openapi.yml#/components/schemas/TaskStatusResponse",
  "properties": {
    "value": {
      "type": "string",
      "title": "Value",
      "description": "Canonical task status string written to the tasks.status column."
    },
    "label": {
      "type": "string",
      "title": "Label",
      "description": "Human-readable badge label."
    },
    "color_token": {
      "type": "string",
      "title": "Color Token",
      "description": "CSS custom property name (no hex literal). Resolves at runtime."
    },
    "is_lifecycle_finished": {
      "type": "boolean",
      "title": "Is Lifecycle Finished",
      "description": "True for COMPLETED and CANCELLED -- terminal states with no further progress."
    }
  },
  "type": "object",
  "required": [
    "value",
    "label",
    "color_token",
    "is_lifecycle_finished"
  ]
}