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

@golemui/gui-schemas

v1.5.0

Published

[Golem UI](https://golemui.com): the declarative form engine.

Readme

@golemui/gui-schemas

Golem UI: the declarative form engine.

Install

npm install @golemui/gui-schemas

Layout

schemas/
  form.schema.json           form envelope (generated)
  widgets.schema.json        widget union + knownWidgetTypes enum (generated)
  layout-widget.schema.json  layout widget union (generated)
  validators.schema.json     the gui validator set (handwritten)
  ranges.schema.json         shared date and time range defs (handwritten)
  components/*.schema.json   per-widget schemas (handwritten)
  core/*.schema.json         vendored copy of the @golemui/schemas core file (generated)

Every file under schemas/ is reachable as a raw asset, for example @golemui/gui-schemas/schemas/components/textinput.schema.json. The package also has a JavaScript entry point that exports the same files as objects.

The generated files derive from the widget manifest (src/lib/widget-manifest.ts). Do not edit them, run npm run generate:schemas after changing the manifest or the @golemui/schemas core sources. CI fails when generated files are stale.

The shared common.schema.json moved to the @golemui/schemas package and is vendored here under schemas/core/. Raw-asset imports of @golemui/gui-schemas/schemas/common.schema.json must switch to schemas/core/common.schema.json. The vendored copy is identical to the core source apart from its $id, which is rebased onto this tree (https://golemui.com/schemas/gui/core/common.schema.json) so it matches the retrieval URI that sibling refs resolve to. validators.schema.json stays at the schemas/ root and is owned by this package: validation vocabulary is implementation-specific, so it is not part of the core layer, and its $id is now https://golemui.com/schemas/gui/validators.schema.json. The package entry-point export names (commonSchema, validatorsSchema, and every component schema export) are unchanged, but the $id values and $ref layout are not.

These $id values are identifiers, not download URLs. The matching tree under https://golemui.com/schemas/ is not published yet, so nothing dereferences them today.

Validating with Ajv

Every shipped file declares the $id that its siblings reference, so registering the files is all that is needed. A component ref like ../core/common.schema.json resolves to the vendored core copy's own $id.

import Ajv2020 from 'ajv/dist/2020';
import {
  commonSchema,
  rangesSchema,
  textinputSchema,
  validatorsSchema,
} from '@golemui/gui-schemas';

const ajv = new Ajv2020();
ajv.addSchema(commonSchema);
ajv.addSchema(validatorsSchema);
ajv.addSchema(rangesSchema);
const validate = ajv.compile(textinputSchema);

The raw schemas/ files behave the same way: registering each one by its own $id resolves the whole tree, with no JavaScript from this package involved. The core common.schema.json of @golemui/schemas keeps its own $id, so both packages can be loaded into one Ajv instance.

Documentation

  • Website: https://golemui.com
  • Repository: https://github.com/golemui/golemui
  • Source: https://github.com/golemui/golemui/tree/main/libs/gui/schemas
  • Issues: https://github.com/golemui/golemui/issues

License

MIT