npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@chobantonov/jsonforms-extended-spec

v1.1.1

Published

Portable JSON Forms extended UI model specification, JSON schemas and examples

Readme

JSON Forms Extended Specification

One portable specification, authoring schemas and 32 worked examples for JSON Forms renderer implementations.

This is the consolidated v1 specification. It separates accepted contracts from future design work and documents optional capabilities explicitly. The published schemas cover the authoring vocabulary; see design backlog for design discussions and implementation work, including $dynamic. No component library is required by this package.

Contents

| Path | Purpose | | --- | --- | | docs/spec.md | The single specification, organized by topic | | schemas/ | Six JSON schemas with offline-resolvable references | | examples/ | Authored schemas, UI schemas, data, config, translations and walkthroughs | | conformance/authoring.json | Executable positive and negative schema vectors | | conformance/behavior.json | Behavioral scenarios for renderer adapter suites | | provenance.json | Source document hashes and reconciliation decisions |

Behavioral vectors need a renderer-specific test adapter. This package tests schema authoring and packaging; it does not certify renderer implementations. Examples deliberately include invalid data and selected diagnostic cases.

Use the package

pnpm add @chobantonov/jsonforms-extended-spec

Read an asset without depending on package installation paths:

import { readFile } from 'node:fs/promises';

const url = import.meta.resolve(
  '@chobantonov/jsonforms-extended-spec/schemas/jsonforms-extended-uischema.schema.json'
);
const schema = JSON.parse(await readFile(new URL(url), 'utf8'));

Register all files in schemas/ with the validator by $id before compiling a profile. The relative $ref values then resolve locally. JSON Schema defaults are annotations: do not mutate UI schemas or config while validating them.

examples/catalog.json lists the assets and host requirements for each example. Read each JSON asset fresh for each form; mutable demo state must not overwrite shared fixtures. Registered UI schemas and their declarative match conditions live in uischemas.json, so hosts in any language can use the same examples. String scripts in JSON require the host's explicit execution permission.

Develop and verify

Requires Node 22 or newer and pnpm 10.28.2.

pnpm install --frozen-lockfile
pnpm test
pnpm run build
pnpm run test:packed
pnpm run check

build validates the assets and creates a static site in site/. It does not execute scripts or render forms from the example documents. test:packed unpacks the real tarball, resolves public exports as an external consumer and validates its schemas and examples without fetching schema references.

To keep a release tarball:

pnpm run release:pack

The command prints its temporary output path. Nothing is published by that command. The package has no runtime dependencies.

Release and deployment

The workflow follows the Changesets process used by the renderer projects:

  1. Run pnpm changeset and describe the spec/schema/example changes.
  2. Merge to master. The release workflow opens or updates a version PR.
  3. Merge the version PR. Checks run before changeset publish publishes npm packages and creates the GitHub release/tags.

For the first unpublished version, the release workflow also has a manual trigger. Configure the repository's NPM_TOKEN secret with publish access to @chobantonov/jsonforms-extended-spec, and allow GitHub Actions to create pull requests. These settings are external to the package.

CI builds and checks pull requests. On master, it deploys the static site to GitHub Pages. Set Settings → Pages → Source → GitHub Actions in the repository. The expected URL is the project documentation site.

pnpm run check is the local release gate. Publishing and Pages deployment happen only through their configured workflows or an explicit maintainer command.

TypeScript authoring

See the TypeScript guide for schema-aware authoring helpers. Sources and tests live under typescript/; other language bindings can use their own directories.

Renderer and demo design

Use the renderer/demo acceptance guide, renderer selection, and the authoring-schema audit. These maintained guides contain the portable requirements; renderer implementation gaps belong in their renderer repositories.

Automatic example discovery

Import examples from @chobantonov/jsonforms-extended-spec/examples. Each entry includes its ID, title, JSON fixtures and optional UI-schema registry. Add an entry to examples/catalog.json, then run pnpm build (or pnpm generate:examples during development). All consuming demos discover it without maintaining their own registration list. Rebuild the linked package to refresh a running demo. Host requirements remain explicit in each entry.