Tulip Logo IconTulip
Dependencies

Zod

Zod is the validation and schema library used across Tulip query, command, inline, and API flows.

Zod provides runtime validation with TypeScript inference.

Tulip uses Zod where user input, API input, command variables, query parameters, and inline edit values need validation.

Where Tulip uses Zod

  • Query schemas and resolved input
  • Commands with typed data and form validation
  • Inline editing strategies and validators
  • Storage and Drive DTO validation
  • App router inputs and outputs

What Tulip adds

Tulip adds package-specific schema helpers, validators, and conventions for where schemas should live.

Tulip does not replace your domain schemas.

What your app owns

  • domain schemas
  • validation messages
  • schema composition
  • API boundary validation
  • form-specific constraints

Continue reading

On this page