{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-project-list-item-response-schema.json",
  "title": "ProjectListItemResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/balladic-com-openapi.json#/components/schemas/ProjectListItemResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "color": {
      "type": "string",
      "title": "Color"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "view_mode": {
      "type": "string",
      "title": "View Mode",
      "default": "kanban"
    },
    "created_by": {
      "type": "string",
      "format": "uuid",
      "title": "Created By"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "archived_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Archived At"
    },
    "organization_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Organization Id"
    },
    "installed_augments": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Installed Augments",
      "default": []
    },
    "activity": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Activity",
      "default": []
    },
    "unread_count": {
      "type": "integer",
      "title": "Unread Count",
      "default": 0
    },
    "members": {
      "items": {
        "$ref": "#/$defs/MemberSummary"
      },
      "type": "array",
      "title": "Members",
      "default": []
    },
    "groups": {
      "items": {
        "$ref": "#/$defs/GroupSummary"
      },
      "type": "array",
      "title": "Groups",
      "default": []
    },
    "pinned": {
      "type": "boolean",
      "title": "Pinned",
      "default": false
    },
    "muted": {
      "type": "boolean",
      "title": "Muted",
      "default": false
    },
    "done_percentage": {
      "type": "number",
      "title": "Done Percentage",
      "default": 0
    },
    "active_percentage": {
      "type": "number",
      "title": "Active Percentage",
      "default": 0
    },
    "waiting_count": {
      "type": "integer",
      "title": "Waiting Count",
      "default": 0
    },
    "active_count": {
      "type": "integer",
      "title": "Active Count",
      "default": 0
    },
    "done_count": {
      "type": "integer",
      "title": "Done Count",
      "default": 0
    },
    "overdue_count": {
      "type": "integer",
      "title": "Overdue Count",
      "default": 0
    },
    "critical_open_count": {
      "type": "integer",
      "title": "Critical Open Count",
      "default": 0
    },
    "critical_since": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Critical Since"
    }
  },
  "type": "object",
  "required": [
    "id",
    "title",
    "slug",
    "color",
    "description",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "$defs": {
    "GroupSummary": {
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "org",
            "team"
          ],
          "title": "Kind"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "avatar_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avatar Key"
        },
        "member_count": {
          "type": "integer",
          "title": "Member Count"
        }
      },
      "type": "object",
      "required": [
        "kind",
        "id",
        "name",
        "member_count"
      ],
      "title": "GroupSummary"
    },
    "MemberSummary": {
      "properties": {
        "user_id": {
          "type": "string",
          "format": "uuid",
          "title": "User Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "avatar_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avatar Key"
        }
      },
      "type": "object",
      "required": [
        "user_id",
        "name",
        "avatar_key"
      ],
      "title": "MemberSummary"
    }
  }
}