API reference: @salmonui/inputs/form-renderer
FormSchemainterface
import type { FormSchema } from '@salmonui/inputs/form-renderer';interface FormSchema {
readonly type: 'object';
readonly title?: string | undefined;
readonly description?: string | undefined;
readonly properties: Readonly<Record<string, FormSchemaProperty>>;
readonly required?: readonly string[] | undefined;
}
The JSON Schema subset FormRenderer renders: an object of scalar properties.
| Name | Signature | Description |
|---|---|---|
type | readonly type: 'object'; | |
titleoptional | readonly title?: string | undefined; | The form's accessible name when no |
descriptionoptional | readonly description?: string | undefined; | |
properties | readonly properties: Readonly<Record<string, FormSchemaProperty>>; | |
requiredoptional | readonly required?: readonly string[] | undefined; |