Skip to main content

betaThis is a new capability. Help us improve it and give your feedback on Slack.

component-schema-v2

Component Schema V2 Type

object (Component Schema V2)

Component Schema V2 Properties

PropertyTypeRequiredNullableDefined by
typestringRequiredcannot be nullComponent Schema V2
shortDescriptionstringOptionalcannot be nullComponent Schema V2
nameMergedOptionalcan be nullComponent Schema V2
titleMergedOptionalcan be nullComponent Schema V2
hintstringOptionalcannot be nullComponent Schema V2
optionsobjectOptionalcannot be nullComponent Schema V2
schemaobjectOptionalcannot be nullComponent Schema V2
idstringOptionalcannot be nullComponent Schema V2
liststringOptionalcannot be nullComponent Schema V2
Additional PropertiesAnyOptionalcan be null

type

Component type (TextField, RadioButtons, DateField, etc.)

type

Type

string (Type)

shortDescription

Brief description of the component purpose

shortDescription

Short Description Type

string (Short Description)

name

The name value.

name

  • is optional

  • Type: any of the following: array or boolean or number or object or string (Name)

  • can be null

  • defined in: Component Schema V2

Name Type

any of the following: array or boolean or number or object or string (Name)

one (and only one) of

title

The title value.

title

  • is optional

  • Type: any of the following: array or boolean or number or object or string (Title)

  • can be null

  • defined in: Component Schema V2

Title Type

any of the following: array or boolean or number or object or string (Title)

one (and only one) of

hint

Additional guidance text displayed below the component title

hint

Hint Type

string (Hint)

options

Component-specific configuration options

options

Options Type

object (Options)

options Default Value

The default value is:

{}

schema

Validation rules for the component

schema

Schema Type

object (Schema)

schema Default Value

The default value is:

{}

id

Unique identifier for the component

id

Id Type

string (Id)

id Constraints

UUID: the string must be a UUID, according to RFC 4122

list

List id reference to a predefined list of options for select components

list

List Type

string (List)

list Constraints

constant: the value of this property must be equal to:

{
"ref": {
"path": [
"lists"
],
"ancestor": "root",
"in": true
}
}

Additional Properties

Additional properties are allowed and do not have to follow a specific schema