# VesselActionSchema
Source: https://docs.maelstrom-ai.co/0.2/reference/protocol/variables/vesselactionschema/
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` **VesselActionSchema**: `ZodObject`<{ `description`: `ZodString`; `idempotent`: `ZodDefault`<`ZodOptional`<`ZodBoolean`\>>; `name`: `ZodPipe`<`ZodString`, `ZodTransform`<[`ActionName`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/actionname/), `string`\>>; `parameters`: `ZodOptional`<`ZodArray`<`ZodObject`<{ `defaultValue`: `ZodOptional`<`ZodUnknown`\>; `description`: `ZodString`; `enum`: `ZodOptional`<`ZodArray`<`ZodUnknown`\>>; `name`: `ZodString`; `required`: `ZodOptional`<`ZodBoolean`\>; `type`: `ZodEnum`<{ `boolean`: `"boolean"`; `number`: `"number"`; `object`: `"object"`; `string`: `"string"`; }>; }, `$strip`\>>>; `transitionsTo`: `ZodOptional`<`ZodPipe`<`ZodString`, `ZodTransform`<[`VariantName`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/variantname/), `string`\>>>; }, `$strip`\>

Defined in: packages/protocol/src/lib/vessel.ts:36

Brands an Action and defers transition-target existence to [VesselSchema](https://docs.maelstrom-ai.co/0.2/reference/protocol/variables/vesselschema/).

`idempotent` parses to an explicit boolean so consumers never branch on `undefined`; see [VesselActionDefinition.idempotent](https://docs.maelstrom-ai.co/0.2/reference/protocol/interfaces/vesselactiondefinition/#idempotent) for what the flag promises.
