{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usemeridian-us/json-schema/usemeridian-us-task-schema.json",
  "title": "Task",
  "description": "A task-log entry.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usemeridian-us-openapi.json#/components/schemas/Task",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "session_id": {
      "type": "string",
      "title": "Session Id"
    },
    "project_id": {
      "type": "string",
      "title": "Project Id"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "in_progress",
        "done",
        "failed",
        "pending-hitl",
        "backlog",
        "future",
        "backburner",
        "skipped"
      ],
      "title": "Status"
    },
    "parent_task_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Task Id"
    },
    "sprint_item_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sprint Item Id"
    },
    "claimed_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Claimed By"
    },
    "claimed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Claimed At"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "session_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Name"
    },
    "human_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Human Id"
    },
    "claimed_by_human_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Claimed By Human Id"
    },
    "claimed_by_session_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Claimed By Session Name"
    }
  },
  "type": "object",
  "required": [
    "id",
    "session_id",
    "project_id",
    "description",
    "status",
    "created_at"
  ]
}