Packages

Data Validation & Schemas Packages

Runtime data validation and schema-definition libraries for catching malformed input before it reaches your application logic (Zod, Pydantic, Valibot).

148 packages

Packages in Data Validation & Schemas

24Health
Library Go

cel-go

The Go implementation of the Common Expression Language for fast, safe, embeddable expression evaluation.

5
Apache 2.0
Used by 6
46Health
Library Cargo

Validator

Derive-macro struct validation for Rust, covering email, URL, length, range, and custom rules

2,524
MIT
Used by 5
70Health
Library npm

MailChecker

Cross-language disposable email detector backed by a 55,000+ domain blocklist

1,915
MIT
Used by 5
67Health
Library npm

schema-dts

TypeScript type definitions for Schema.org's JSON-LD vocabulary, giving structured data literals full autocomplete and compile-time validation.

1,251
Apache 2.0
Used by 5
47Health
Library npm

@cfworker/json-schema

A dependency-free JSON Schema validator built to run inside Cloudflare Workers and other restricted JS runtimes without eval.

704
MIT
Used by 5
87Health
Library PyPI

SQLModel

One model for SQLAlchemy and Pydantic, built by the creator of FastAPI to kill duplicate schema code.

18,464
MIT
Used by 4
89Health
Library PyPI

instructor

Get reliable, validated structured JSON from any LLM provider using Pydantic models and automatic retries.

14,057
MIT
Used by 4
74Health
Library npm

next-safe-action

Type safe and validated Server Actions for Next.js, with typed errors, middleware, and React hooks for execution state.

3,079
MIT
Used by 4
68Health
Library Composer

spatie/laravel-data

Powerful, type-safe data transfer objects and API resources for Laravel

1,801
MIT
Used by 4
69Health
Library PyPI

fastjsonschema

Fast JSON schema validator for Python that compiles schemas to generated code

498
BSD 3
Used by 4
36Health
Library npm

ajv-errors

Custom, human-readable error messages for Ajv JSON Schema validation

288
MIT
Used by 4
46Health
Library npm

codemirror-json-schema

JSON Schema-powered linting, autocomplete, and hover tooltips for CodeMirror 6, across JSON, JSON5, and YAML documents.

111
MIT
Used by 4
58Health
Library PyPI

jsonschema-specifications

Ships the official JSON Schema meta-schemas and vocabularies as a ready-to-use referencing Registry, so you never hand-copy spec files again.

13
MIT
Used by 4
49Health
Library Composer

EmailValidator

RFC-compliant email address validation for PHP with DNS, spoof, and strictness checks

11,639
MIT
Used by 3
75Health
Library PyPI

marshmallow

An ORM/framework-agnostic Python library for converting complex objects to and from native datatypes, with built-in validation.

7,246
MIT
Used by 3
52Health
Framework PyPI

Flask-RESTful

A lightweight extension for Flask that adds Resource-based routing, request parsing, and output formatting for building REST APIs.

6,906
BSD 3
Used by 3
83Health
Library PyPI

disposable-email-domains

A community-maintained blocklist of disposable email domains for filtering throwaway signups.

5,614
Other
Used by 3
87Health
Library Composer

libphonenumber for PHP

A PHP port of Google's libphonenumber for parsing, formatting, validating, and storing international phone numbers.

5,070
Apache 2.0
Used by 3
88Health
Library Composer

Validator

Symfony's constraint-based validation component for checking PHP values, objects, and forms

2,680
MIT
Used by 3
82Health
Library PyPI

OmegaConf

A hierarchical YAML-based configuration library that merges files, CLI args, and structured schemas with runtime type safety.

2,442
BSD 3
Used by 3
89Health
Library Go

phonenumbers

A Go port of Google's libphonenumber for parsing, validating, and formatting international phone numbers.

1,607
MIT
Used by 3
66Health
Library npm

envalid

Type-safe environment variable validation and cleanup for Node.js and Bun with zero runtime dependencies.

1,589
MIT
Used by 3
82Health
Library PyPI

WTForms

A flexible, framework-agnostic form validation and rendering library for Python web development.

1,583
BSD 3
Used by 3
54Health
Library PyPI

dataclasses-json

Encode and decode Python dataclasses to and from JSON with a single decorator or mixin.

1,488
MIT
Used by 3

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers