Schema URL https://catalog.lintel.tools/schemas/schemastore/proactions-ai-kit-configuration/_shared/latest--partial-step.form.schema.json
Parent schema proactions-ai-kit-configuration

Schema for FORM step and form components in ProActions AI-Kit

Definitions

formComponent object
type string required

Type of form component

Values: "text" "password" "select" "radio" "checkbox" "date" "datetime" "range" "color" "textarea" "number" "file" "headline" "hr" "html" "diff" "markdown"
label string

Label for the field

placeholder string

Placeholder text for input fields

options string[] | object[]

Options for select, radio components

default string | boolean | number

Default value for the field

required boolean

Whether the field is required

multiple boolean

Whether multiple selection is allowed (for select and file inputs)

requiredMessage string

Custom message to display if required field is empty

min number

Minimum value for number inputs

max number

Maximum value for number inputs

step number

Step size for the range input

validation object

Validation rules for the field

2 nested properties
pattern string

Regular expression pattern for validation

errorMessage string

Error message to display when validation fails

tooltip string

Tooltip text for the field

visibleIf Record<string, string | number | boolean>

Conditional visibility rules for the field

accept string

Accepted file types for file input

maxSize number

Maximum file size in bytes for file input

maxSizeMessage string

Error message for file size exceeding maxSize

text string

Text content for headline, markdown, or diff components

html string

HTML content for html component

prevText string

Previous text for diff component

showDeletions boolean

Whether to show deletions in diff component

mode string

Mode for diff component

Values: "chars" "words" "lines" "sentences"
interactive boolean

Interactive mode for diff component

formGroup object
label string required

Label for the field group

fields Record<string, object> required

Fields in the group