Shared ESLint 9 flat configs for Node, React, Next.js and Payload projects
Schema
Shared field definitions that generate Payload fields and matching validation schemas
Installation
pnpm add @nexload-sdk/payload-schema About
Payload Schema lets you describe a document's fields once and reuse that definition in two places: as ordinary Payload fields in a collection and as validation schemas for your own code. Each field carries its own rules and normalization, such as trimming text or enforcing whole numbers, so the same checks apply whether a record is saved through the admin panel, the Local API, or your custom endpoints.
Derived schemas can pick a subset of fields, make some of them optional, or transform values, so validation for a create form stays in step with the stored fields. Payload's generated types remain the source of truth for stored documents.
Package info
- Package name
@nexload-sdk/payload-schema- Latest version
2.0.0- Unpacked size
- 168 kB
- License
- MIT
- Weekly downloads
- 6
- Last publish
- Jul 25, 2026
More from gecut
View profileTyped custom operations for Payload with a client and server-side contract
Slug, Jalali date and minor-unit money fields for Payload collections
Preset-based Lexical rich text configuration for Payload fields
Logs collection create, update, delete and read operations
Readiness check that runs a Payload collection query to confirm the database responds
Similar plugins
More in FieldsBuilds site and admin themes from color harmonies, with contrast checks in light and dark
Pedigree fields, relatives and family-tree views for Payload collections
Color, icon, encrypted and unit-aware measurement fields for Payload admin
Adds theme presets, live preview and contrast checks to the Payload admin
Groups Payload fields inside a drawer that opens from a button or icon
Adds a barcode scan button to text fields in the Payload admin panel