Skip to main content

JSON Forms Reference

This reference covers everything Prismatic's configuration wizard supports for JSON Forms, including the custom renderers, layouts, and options Prismatic adds on top of stock JSON Forms. Use it when you need exact details on schema features, UI schema elements, renderers, or options. If you're new to JSON Forms, start with What are JSON Forms? and Using JSON Forms.

ReferenceSchema reference

Types, formats, validation keywords, defaults, dropdowns, arrays, and composition.

ReferenceUI schema reference

Every UI schema element type, including Control, layouts, Group, Categorization, and ListWithDetail.

ReferenceOptions reference

An alphabetized catalog of every options key you can set on a UI schema element.

ToolJSON Forms playground

Try example forms and see how the configuration wizard renders a schema and UI schema.

How the reference is organized​

JSON Forms drives a form from two JSON documents you author:

  • Schema - a JSON Schema that describes the data your form collects.
  • UI schema - a JSON document that describes how the schema is rendered - layouts, labels, visibility, and per-control behavior.

Three reference pages break the UI schema down further:

  • Renderers - how each schema type maps to an input control, and which controls Prismatic customizes.
  • Rules - the rule block you attach to any UI schema element to show, hide, enable, or disable it based on form data.
  • Options - an alphabetized catalog of every options key you can set on a UI schema element.

JSON Schema in Prismatic​

Prismatic uses the standard JSON Schema vocabulary, and the schema reference walks through the keywords you're most likely to reach for:

A handful of keywords behave differently in Prismatic than they do in the JSON Schema specification - see Keywords Prismatic handles differently.