From fused
JSON schemas for Fused canvas UI widget components (text, text-input, button, dropdown, charts, maps, sql-table, form, transformer, etc.). Use when authoring or editing widget JSON files (e.g. `widget_*.json` in canvas directories), validating widget props, or answering questions about which fields a given widget type accepts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fused:json-ui-schemasThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reference for every supported widget `type` and its prop schema.
Reference for every supported widget type and its prop schema.
The full JSON Schema for each component (with descriptions, defaults, required fields, and enum values) is available from the fused CLI. See the fused-cli skill for how to read it. Read it before authoring or modifying widget JSON.
The authoritative reference to JSON schema is available from the CLI. There is also a reference in reference.md, but it is an offline copy that may be out of date.
JSON UI files are in JSON5 format, which may have trailing commas, comments, etc.
div, form, sql-runner (children: yes)text-input, text-area, number-input, datetime-input, camera-input, color-input, dropdown, slider, button, code-editor, gallery-inputtext, image, metric, iframe, htmlbar-chart, line-chart, stacked-bar-chart, stacked-area-chart, scatter-chart, donut-chart, heatmap-chartsql-tablemap, map-bounds, map-h3, fused-mapwidget-builder, transformer, ai-chatparam syncs a widget's value with a canvas parameter (or a form field when nested in form).sql fields accept DuckDB queries with {{udf_name}} and $param_name placeholders. Required output columns vary by widget — check the schema.style is always a CSS string ("padding: 8px; color: red"), not an object.barColor/lineColor to Fused lime yellow (#E8FF59).reference.md and find the section for the widget type you're working with.required props and respect enum constraints.fused json-ui validate <file> — unknown keys and missing required props will be flagged.The fused json-ui subcommands are the fastest way to check your work without round-tripping through the canvas UI. See the fused:fused-cli skill for full flag details; the common debugging flow is:
fused json-ui schemas <type> prints the live JSON Schema for one or more component types (or all of them if omitted). Use this when reference.md and the CLI disagree; the CLI is authoritative.fused json-ui validate path/to/widget_foo.json (or a path to a .json5 file, or an inline JSON5 string). Run this after every non-trivial edit; it catches missing required props, unknown keys, and bad enum values without needing a canvas push.fused canvas share <ref>), use fused json-ui run-shared-widget <share-token> <widget-name> --screenshot-filename out.png to render the widget headlessly and save a PNG. Add --wait N if the widget loads data asynchronously. run-inline-widget does the same for an inline JSON5 config string, which is useful for iterating on a widget that isn't committed yet.fused json-ui catalog-prompt prints the high-level component catalog; handy when a new widget type appears in the CLI before it lands in reference.md.Recommended loop when authoring a new widget JSON: write → fused json-ui validate <file> → fix → push → confirm it renders.
Always verify the widget renders correctly before reporting the task complete. Use one of these methods:
fused json-ui run-shared-widget <share-token> <widget-name> --screenshot-filename out.png — renders headlessly and saves a PNG. Review the PNG to confirm layout, labels, and data look correct.Do not claim success after validate alone — validation only checks schema conformance, not runtime behavior or visual correctness.
npx claudepluginhub fusedio/skills --plugin fusedProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.