@nexaiform/schema
v0.1.1
Published
NexAiForm wire contracts: JSON-safe document types, precompiled meta-schema validators and structural validation. No React, Formily or Next.js runtime.
Maintainers
Readme
@nexaiform/schema
NexAiForm wire contracts: JSON-safe document types, precompiled meta-schema validators and structural validation.
- No React, Formily, Next.js or host business code at runtime — this package is the bottom of
the dependency direction
schema -> core -> headless/formily. - Meta-schemas are compiled to standalone validators at build time, so no code path uses
evalornew Functionand no host has to relax its CSP.
pnpm add --save-exact @nexaiform/schemaimport { validateNexAiFormDocument } from "@nexaiform/schema";
const result = validateNexAiFormDocument(document);
if (!result.ok) console.error(result.issues);ESM only, Node.js >=24.19.0. See the deployment guide
for the host runtime matrix and the release manifest that pins every package version.
Licensed under MIT.
