Skip to main content

foundation-forms.uischema

Home > @genesislcap/foundation-forms > UiSchema

UiSchema type

The UI schema, which is passed to JSON Forms, describes the general layout of a form and is just a regular JSON object. It describes the form by means of different UI schema elements, which can often be categorized into either Controls or Layouts.

Signature:

export type UiSchema = {
type: UiSchemaElementType;
elements: UiSchemaElement[];
options?: UiSchemaOptions;
};

References: UiSchemaElementType, UiSchemaElement, UiSchemaOptions