---
title: validatePluginShape
description: >-
  Validate a plugin against the Effect Schema. On failure, inspects the raw
  input to throw PluginValidationError with message parity to the legacy manual
  validation path.
updated_at: '2026-11-20T00:40:56+01:00'
created_at: '2026-03-07T03:07:52+01:00'
symbol:
  kind: function
  name: validatePluginShape
  signatures:
    - >-
      validatePluginShape(input: unknown): asserts input is
      [[reference/api/core/SvartzPlugin|SvartzPlugin]]
  parameters:
    - name: input
      type: unknown
  returns:
    type: 'asserts input is [[reference/api/core/SvartzPlugin|SvartzPlugin]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/plugin/schema.ts#L83
---

# validatePluginShape
