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

92Health
Library Go

kin-openapi

A Go library for parsing, validating, converting, and working with OpenAPI 2.0, 3.0, 3.1, and 3.2 documents.

3,311
MIT
Used by 14
65Health
Library PyPI

email-validator

Robust email address syntax and deliverability validation for Python

1,454
Other
Used by 14
64Health
Library npm

@apidevtools/swagger-parser

Parses, validates, and dereferences Swagger 2.0 and OpenAPI 3.x specs in Node.js and browsers

1,207
MIT
Used by 14
84Health
Library npm

zod-validation-error

Turns raw Zod validation issues into clear, human-readable error messages.

1,021
MIT
Used by 14
75Health
Library Cargo

Schemars

Generate JSON Schema documents directly from Rust types

1,422
MIT
Used by 11
60Health
Library npm

zod-openapi

Generate OpenAPI 3.x documentation directly from your existing Zod schemas.

653
MIT
Used by 11
95Health
Library npm

@rjsf/core

The React engine that turns a JSON Schema into a fully working form

15,923
Apache 2.0
Used by 10
58Health
Library PyPI

annotated-types

Reusable constraint metadata objects for use with Python's typing.Annotated

615
MIT
Used by 10
72Health
Library Go

image-spec

Canonical Go types and embedded JSON Schema validation for the OCI Image Format specification.

4,502
Apache 2.0
Used by 9
45Health
Library Go

jsonschema

Generate JSON Schema 2020-12 documents from Go types using reflection, struct tags, and doc comments.

965
MIT
Used by 9
90Health
Library Cargo

jsonschema

A high-performance JSON Schema validator for Rust with Python, Ruby, and WASM bindings

829
MIT
Used by 9
20Health
Library npm

TypeBox

JSON Schema type builder with static TypeScript type inference and zero dependencies.

12
MIT
Used by 9
79Health
Library npm

express-validator

A chainable Express middleware that wraps validator.js to validate and sanitize incoming request data with minimal boilerplate.

6,234
MIT
Used by 8
86Health
Library PyPI

json_repair

Repair malformed JSON from LLMs, APIs, logs, and user input — a drop-in fallback for json.loads().

5,124
MIT
Used by 8
90Health
Library PyPI

msgspec

A fast, zero-cost serialization and validation library for JSON, MessagePack, YAML, and TOML in Python.

4,183
BSD 3
Used by 8
48Health
Library Go

gojsonschema

A Go implementation of JSON Schema, supporting draft-04, draft-06, and draft-07 validation.

2,740
Apache 2.0
Used by 8
83Health
Library PyPI

validators

A Python library for validating strings — emails, URLs, IPs, and more — without defining a schema.

1,131
MIT
Used by 8
59Health
Library Go

govalidator

A comprehensive Go package of string, numeric, and struct validators and sanitizers, modeled on validator.js.

6,202
MIT
Used by 7
73Health
Library npm

graphql-scalars

A drop-in library of 70+ precise, spec-compliant GraphQL scalar types for emails, dates, IDs, currencies, and geodata.

1,931
MIT
Used by 7
60Health
Library PyPI

typing-inspection

Runtime introspection tools for Python type annotations, maintained by the Pydantic team

71
MIT
Used by 7
44Health
Library npm

json-logic-js

A lightweight JavaScript engine for building, storing, and executing JsonLogic rules across the front-end, back-end, and database.

1,488
MIT
Used by 6
63Health
Library Go

jsonschema

A compliant, dependency-light Go library for compiling and validating JSON Schema across five draft versions, with rich hierarchical errors.

1,289
Apache 2.0
Used by 6
61Health
Library npm

openapi3-ts

Typed TypeScript models and a fluent builder DSL for authoring OpenAPI 3.0, 3.1, and 3.2 contracts.

540
MIT
Used by 6
78Health
Library PyPI

referencing

Implementation-agnostic JSON reference resolution for JSON Schema, OpenAPI, and beyond

53
MIT
Used by 6

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