Skip to content

TilingLayoutSchema

const TilingLayoutSchema: ZodObject<{ instances: ZodArray<ZodObject<{ instanceId: ZodPipe<ZodString, ZodTransform<InstanceId, string>>; variant: ZodPipe<ZodString, ZodTransform<VariantName, string>>; vesselId: ZodPipe<ZodString, ZodTransform<VesselId, string>>; }, $strip>>; tree: ZodArray<ZodPipe<ZodNullable<ZodString>, ZodTransform<"H" | "V" | `H:${string}` | `V:${string}` | `ID:${string}` | null, string | null>>>; }, $strip>

Defined in: packages/protocol/src/lib/schemas.ts:192

Parses the model-output tiling layout body.

Tree completeness, duplicate identities, and leaf-to-Instance coherence are intentionally deferred to the Engine’s heal layer.