Ross ROSS = Recommend OSS · open-source software intelligence for agents

StefanTerdell/zod-to-json-schema

Converts Zod schemas to Json schemas observed · 2026-08-28

github.com/StefanTerdell/zod-to-json-schema · TypeScript · ISC (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 74
  • Release rhythm 8
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2016
  • days_rel: n/a
  • days_push: 159
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1251 stars · 93 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A TypeScript library that converts Zod schemas into JSON Schema documents, with support for recursive $refs, OpenAPI 3.0 targeting, and OpenAI strict mode. It is deprecated as of November 2025 in favor of Zod v4's native JSON Schema support.

Use cases

  • convert zod schemas to schema
  • generate schema from zod validation types
  • produce openapi 3.0 schemas from zod
  • create openai strict mode schemas from zod
  • share api request validation schemas as schema
  • resolve recursive zod schemas into schema refs

When to choose

  • you are on Zod v3 and need JSON Schema output
  • you need OpenAPI 3.0 or OpenAI strict mode compatible schemas
  • you cannot yet migrate to Zod v4

When to avoid

  • you are using Zod v4, which natively generates JSON schemas
  • you need a long-term maintained dependency
  • you need conversions in the other direction (use -schema-to-zod)

Facets

library · maturity maintenance

serialization developer-tools developer-tools apis web-development cross-platform zod -schema schema-conversion openapi deprecated nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
StefanTerdell/zod-to-json-schemamain10

For agents

markdown · JSON · MCP: product_card(name="StefanTerdell/zod-to-json-schema")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem