Schema Export

Serves a JSON description of your Payload site for clients and code generators

Community 0 15/wk MIT v0.1.0

Installation

pnpm add @yairl/payload-schema-export

About

Schema Export describes a Payload site as one JSON document. It lists collections, globals, fields with their types and relations, select options, labels, locales, and every REST route, including custom endpoints. Clients and code generators in any language can read that document instead of parsing your Payload config.

The document is served from an endpoint that you can protect with your own access rule. The admin panel also gets a page that summarises the schema and lets you download it. Functions and admin conditions are reduced to flags, so no executable code leaves the server.

Package info

Package name
@yairl/payload-schema-export
Latest version
0.1.0
Unpacked size
95 kB
License
MIT
Weekly downloads
15
Last publish
Oct 26, 2026

More from ylahav

View profile

Admin page that finds duplicate, broken and one-sided records, with opt-in repairs

Exports and restores selected collections as a portable JSON backup

Similar plugins

More in Devtools

Chat agent that composes and edits Payload pages from your block library

Exposes Payload collections and globals to AI agents through the Model Context Protocol

Lets AI assistants read and edit Payload content over MCP with scoped API keys

Editorial suite that lets teams run a Payload site through MCP tools and AI assistants

Typed block registry and React Server Component renderer for Payload blocks

Runs Payload CMS admin and APIs under vinext, on Node or Cloudflare Workers