Topics / #schema

Schema projects on GitHub

Schema definition and validation libraries for data structures and migrations.

As of , the most-starred Schema projects on GitHub are zod (44.1K stars), drawdb (40K stars) and fastify (37.3K stars). GitHub.Locker tracks 28 Schema repositories with 447.6K stars combined. The fastest-growing on October 16 was monid, with +262 stars in a day.

28Projects
447.6KStars in total
+513Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

28 projects · by stars

  1. #1 · colinhacks/zod

    zod

    Zod is a schema validation library: you describe what your data should look like, and it checks real values against that description at runtime.

    44.1K
  2. #2 · drawdb-io/drawdb

    drawdb

    DrawDB is a free online editor for database entity-relationship diagrams: you sketch your schema visually in the browser and turn it into SQL. No account needed.

    40K
  3. #3 · fastify/fastify

    fastify

    Fastify is a fast, low-overhead web framework for Node.js used to build HTTP servers and APIs. It is inspired by Hapi and Express and ranks among the fastest web frameworks around.

    37.3K
  1. 4

    mongoose

    27.5KAutomattic/mongoose · JavaScript

    Mongoose is a MongoDB object modeling tool — an ODM for Node.js. You define schemas and work with models that carry validation, defaults, middleware and rich queries, instead of talking to the raw driver.

  2. 5

    flatbuffers

    26.6Kgoogle/flatbuffers · C++

    FlatBuffers is a cross-platform serialization library built for maximum memory efficiency: you read serialized data directly without a parsing/unpacking step, and it keeps forwards/backwards compatibility.

  3. 6

    joi

    21.2Khapijs/joi · JavaScript

    joi is a schema description language and data validator for JavaScript: you describe what valid data looks like, and joi checks objects against that description. It comes from the hapi ecosystem but works in any JavaScript project.

  4. 7

    normalizr

    20.8Kpaularmstrong/normalizr · JavaScript

    Normalizr is an open-source JavaScript library that normalizes nested JSON according to a schema you define: hand it a deeply nested API response and it returns a flat, normalized structure. It is typically used in React, Redux and Flux apps.

  5. 8

    graphql-js

    20.3Kgraphql/graphql-js · TypeScript

    The JavaScript reference implementation of GraphQL, a query language for APIs created by Facebook — the core library for building and executing GraphQL APIs in JavaScript or TypeScript.

  6. 9

    sqlmodel

    18.4Kfastapi/sqlmodel · Python

    SQLModel is a Python library for interacting with SQL databases using Python objects instead of raw SQL. It is built on Pydantic and SQLAlchemy and designed for simplicity, compatibility, and robustness.

  7. 10

    effect

    17.3KEffect-TS/effect · TypeScript

    Effect is a TypeScript library for building robust, maintainable, type-safe, production-grade applications. It tackles the hard problems at scale: typed errors, dependency injection, structured concurrency, scheduling, tracing, and schema validation.

  8. 11

    react-jsonschema-form

    15.9Krjsf-team/react-jsonschema-form · TypeScript

    It is a React component that builds complete web forms from a JSON Schema: you describe your fields declaratively and it renders and validates the form for you.

  9. 12

    ajv

    14.9Kajv-validator/ajv · TypeScript

    Ajv is a JSON schema validator for JavaScript: give it a schema and it checks that your JSON data matches. It is billed as the fastest and supports JSON Schema draft-04 through 2020-12 plus JSON Type Definition (RFC 8927).

  10. 13

    graphql-spec

    14.6Kgraphql/graphql-spec · HTML

    This is the official GraphQL specification: the document that defines the GraphQL query language, type system, validation rules, and execution semantics for building APIs.

  11. 14

    capnproto

    13.2Kcapnproto/capnproto · C++

    Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary — or think Protocol Buffers, except faster.

  12. 15

    crystal

    12.9Kgraphile/crystal · TypeScript

    Graphile's Crystal monorepo bundles their GraphQL-related packages, headlined by Grafast (a planning and execution engine for GraphQL.js) and PostGraphile (which auto-generates a high-performance GraphQL API from a PostgreSQL database), plus many supporting libraries.

  13. 16

    formily

    12.6Kalibaba/formily · TypeScript

    A high-performance form solution for React and Vue: build normal or dynamic JSON Schema-driven forms in code, or design them visually with the built-in Form Builder. React, React Native, Vue 2 and Vue 3 are supported.

  14. 17

    sqlalchemy

    12.2Ksqlalchemy/sqlalchemy · Python

    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper (ORM) that gives application developers the full power and flexibility of SQL while also allowing object-oriented domain models to be mapped transparently to relational tables.

  15. 18

    goose

    11.6Kpressly/goose · Go

    Goose is a database migration tool that manages schema changes using incremental SQL files or Go functions.

  16. 19

    pkl

    11.5Kapple/pkl · Java

    Pkl (pronounced Pickle) is a configuration-as-code language created by Apple, built for writing config with rich validation and tooling support.

  17. 20

    graphql-code-generator

    11.3Kdotansimha/graphql-code-generator · TypeScript

    GraphQL Code Generator is a tool that generates code from your GraphQL schema and operations (queries, mutations, subscriptions, fragments), producing typed output in whatever language or framework you configure via plugins.

  18. 21

    geo-seo-claude

    11.1Kzubair-trabzada/geo-seo-claude · Python

    A GEO-first SEO skill for Claude Code that audits and optimizes websites for AI-powered search engines like ChatGPT, Claude, Perplexity, Gemini, and Google AI Overviews, alongside traditional SEO.

  19. 22

    protobuf.js

    10.6Kprotobufjs/protobuf.js · JavaScript

    protobuf.js is a very fast, spec-compliant JavaScript implementation of Protocol Buffers for Node.js and browsers. It works with .proto schemas without protoc, offering runtime reflection and ahead-of-time code generation with TypeScript declarations.

  20. 23

    protobuf

    10.1Kgolang/protobuf · Go

    Go bindings for Google's protocol buffers: the github.com/golang/protobuf module for serializing protobuf messages in Go, plus a protoc plugin that generates Go code from .proto files.

  21. 24

    os-taxonomy

    5.1Kwithmarbleapp/os-taxonomy · JavaScript

    Marble Skill Taxonomy is an open dataset mapping what children learn in primary/elementary school, broken into 1,590 fine-grained micro-topics linked by a prerequisite graph and aligned to national curriculum standards like NGSS and Common Core.

  22. 25

    monid

    4.7Kmonid-ai/monid · TypeScript

    It's 'OpenRouter for agent tools': one base URL and one key give an agent access to 2,000+ tools across 72+ providers, so you integrate one API instead of wiring up dozens of vendors yourself.

  23. 26

    lift

    1.2Kdatalab-to/lift · Python

    lift is an open-source 9B vision-language model and toolkit that extracts structured JSON data from PDFs and images by matching a schema you provide, using schema-constrained decoding to guarantee valid output.

  24. 27

    libfyaml

    346pantoniou/libfyaml · C

    libfyaml is a high-performance YAML 1.2 and JSON parser/emitter for C, built for zero-copy operation with full document-tree and event-streaming APIs, and it passes the full YAML testsuite.

  25. 28

    auth

    232yielded-dev/auth · TypeScript

    A composable authentication, session, and identity workflow library built specifically for the Effect ecosystem. You define your auth contract with Schema and wire up infrastructure through Effect Layers.

Often tagged together