# standard-schema/standard-schema

A standard interface for TypeScript schema validation libraries

Repository: https://github.com/standard-schema/standard-schema
Canonical: https://ross.abutalabs.com/products/standard-schema
Homepage: https://standardschema.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: interface, schema, standard, typescript, validation
Last push: 2026-07-13T18:32:50+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 61, longevity 62
- inputs: {"age_days": 877, "days_push": 51, "days_rel": 261, "gap_med": 4.5, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3598, forks 120 (observed 2026-08-28T04:08:11.372690+00:00)

## What it is
Standard Schema is a specification defining a shared interface for TypeScript schema validation libraries, so tools can accept any compliant schema without library-specific adapters. It also includes a Standard JSON Schema spec for converting schemas to JSON Schema.

## Use cases
- accept any validation library's schemas in my tool without adapters
- standardize schema validation interfaces across TypeScript libraries
- convert validation schemas to JSON Schema
- avoid extra dependencies when integrating schema libraries
- build a form library that works with Zod, Valibot, and ArkType
- infer input and output types from a schema generically

## When to choose
- you're building a tool or framework that should consume schemas from multiple validation libraries
- you maintain a schema library and want ecosystem interoperability
- you need a vendor-neutral JSON Schema conversion interface

## When to avoid
- you need an actual validation implementation rather than an interface spec
- your project only uses one schema library and has no interop needs
- you need runtime features beyond what the spec defines

## Facets
- artifact type: library
- maturity: active
- function: type-system, serialization, developer-tools
- domain: developer-tools, web-development, programming-languages
- platform: bun, browser
- tags: schema-validation, interop-spec, typescript-ecosystem, json-schema, typescript, nodejs, deno

## Member repositories
- standard-schema/standard-schema (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.372690+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:33:46.742958+00:00, confidence not recorded.
  - readme: https://github.com/standard-schema/standard-schema (fetched 2026-08-28T04:08:11.372690+00:00, sha 5413c302a672)
  - homepage: https://standardschema.dev (fetched 2026-08-29T09:27:14.621341+00:00, sha 15aa318f8399)
- Data as of 2026-08-30T08:39:29.467469+00:00.
