{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowral-app/json-schema/flowral-app-flow-summary-schema.json",
  "title": "FlowSummary",
  "description": "A flow without its tasks — what list endpoints return.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowral-app-openapi.json#/components/schemas/FlowSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "archived": {
      "type": "boolean"
    },
    "public": {
      "type": "boolean",
      "description": "Whether this flow is published — readable by anyone with its link, with no account. Assignees, comments and files are never included in the public view."
    },
    "publicUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The published link, or null when the flow is private."
    },
    "dueDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date the flow is meant to land, if one is set."
    },
    "taskCount": {
      "type": "integer"
    },
    "doneCount": {
      "type": "integer"
    },
    "readyCount": {
      "type": "integer",
      "description": "Tasks that can be started right now."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name",
    "archived"
  ]
}