component-schema-v2
Component Schema V2 Type
object (Component Schema V2)
Component Schema V2 Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string | Required | cannot be null | Component Schema V2 |
| shortDescription | string | Optional | cannot be null | Component Schema V2 |
| name | Merged | Optional | can be null | Component Schema V2 |
| title | Merged | Optional | can be null | Component Schema V2 |
| hint | string | Optional | cannot be null | Component Schema V2 |
| options | object | Optional | cannot be null | Component Schema V2 |
| schema | object | Optional | cannot be null | Component Schema V2 |
| id | string | Optional | cannot be null | Component Schema V2 |
| list | string | Optional | cannot be null | Component Schema V2 |
| Additional Properties | Any | Optional | can be null |
type
Component type (TextField, RadioButtons, DateField, etc.)
type
-
is required
-
Type:
string(Type) -
cannot be null
-
defined in: Component Schema V2
Type
string (Type)
shortDescription
Brief description of the component purpose
shortDescription
-
is optional
-
Type:
string(Short Description) -
cannot be null
-
defined in: Component Schema V2
Short Description Type
string (Short Description)
name
The name value.
name
-
is optional
-
Type: any of the following:
arrayorbooleanornumberorobjectorstring(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:
arrayorbooleanornumberorobjectorstring(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
-
is optional
-
Type:
string(Hint) -
cannot be null
-
defined in: Component Schema V2
Hint Type
string (Hint)
options
Component-specific configuration options
options
-
is optional
-
Type:
object(Options) -
cannot be null
-
defined in: Component Schema V2
Options Type
object (Options)
options Default Value
The default value is:
{}schema
Validation rules for the component
schema
-
is optional
-
Type:
object(Schema) -
cannot be null
-
defined in: Component Schema V2
Schema Type
object (Schema)
schema Default Value
The default value is:
{}id
Unique identifier for the component
id
-
is optional
-
Type:
string(Id) -
cannot be null
-
defined in: Component Schema V2
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
-
is optional
-
Type:
string(List) -
cannot be null
-
defined in: Component Schema V2
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