# VesselVariantSchema
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/variables/vesselvariantschema/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> `const` **VesselVariantSchema**: `ZodObject`<{ `actions`: `ZodArray`<`ZodObject`<{ `description`: `ZodString`; `effect`: `ZodDefault`<`ZodOptional`<`ZodEnum`<{ `any`: `"any"`; `idempotent`: `"idempotent"`; `none`: `"none"`; }>>>; `idempotent`: `ZodOptional`<`ZodCustom`<`never`, `never`\>>; `name`: `ZodPipe`<`ZodString`, `ZodTransform`<[`ActionName`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/actionname/), `string`\>>; `parameters`: `ZodOptional`<`ZodArray`<`ZodObject`<{ `defaultValue`: `ZodOptional`<`ZodUnknown`\>; `description`: `ZodString`; `enum`: `ZodOptional`<`ZodArray`<…>>; `name`: `ZodString`; `required`: `ZodOptional`<`ZodBoolean`\>; `type`: `ZodEnum`<{ `boolean`: …; `number`: …; `object`: …; `string`: …; }>; }, `$strip`\>>>; `transitionsTo`: `ZodOptional`<`ZodPipe`<`ZodString`, `ZodTransform`<[`VariantName`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/variantname/), `string`\>>>; }, `$strip`\>>; `description`: `ZodOptional`<`ZodString`\>; `minSize`: `ZodObject`<{ `height`: `ZodNumber`; `width`: `ZodNumber`; }, `$strip`\>; `props`: `ZodRecord`<`ZodString`, `ZodUnknown`\>; }, `$strip`\>

Defined in: [packages/protocol/src/lib/vessel.ts:85](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/vessel.ts#L85)

Validates local Variant shape; cross-Action invariants require [VesselSchema](https://docs.maelstrom-ai.co/dev/reference/protocol/variables/vesselschema/).
