Zod schemas for column objects and lists used in API responses.
// Source: https://github.com/usekaneo/kaneo | License: MIT | Copyright 2024 Andrej Acevski
// Provided via justclaw.it.com; keep this notice with the code.
import { responseTimestamp, z } from "../openapi";
export const columnSchema = z
.object({
id: z.string(),
projectId: z.string(),
name: z.string(),
slug: z.string().openapi({
description:
"Stable identifier derived from the name; tasks store this as their status.",
}),
position: z.number().openapi({
description:
"Board order, ascending. Columns are always returned sorted by it.",
}),
icon: z.string().nullable(),
color: z.string().nullable(),
isFinal: z.boolean().openapi({
description:
"Marks the column as a done state, which stops overdue reminders for
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key