Field
A schema that is used to validate a part of Laboperator workflow templates.
A valid field schema is either a valid JSON schema as per Draft 7 or one of our custom field types. Some additional properties are allowed at the top level.
- object
- reference or reference or reference or reference or reference or reference
| ui:widget | string one of: checkbox switch text textarea A flag indicating the widget variant for fields of type | ||||
|---|---|---|---|---|---|
| ui:options | object Configuration options for certain field types and widget settings. If a field or widget does not support | ||||
| |||||
| readOnly | boolean default: false A flag indicating whether a field can be updated once the workflow run has been started. | ||||
| prepare | boolean default: false A flag indicating whether a field must be assigned a value before workflow execution can be started. Setting both the | ||||
| hidden | boolean default: false A flag indicating whether a field is hidden from the user. A hidden field can still be explicitly referenced as, for example, the source data for a table or in the description of a substep and thereby have a visual representation. Setting both the | ||||
| defaultValue | any Assign a default value to a field. Fields without a default value that also don't require a value to be assigned via the | ||||
| output | boolean default: true A flag indicating whether a field is included in the output of a workflow run export. | ||||
| formatSpecifier | reference Format SpecifierA specifier describing number formatting for fields of type | ||||
| group | string <= 50 characters A flag that is used to group fields during the workflow preparation stage. Fields with the same group name are displayed together in the order of definition. All fields without a specified group are displayed separately. | ||||
| changeReason | reference Change ReasonA flag indicating whether subsequent field updates require a reason and prompt the user with a reason dialog. The first update to a field's value never requires a reason, any further updates always do. Consider the following example: | ||||
| externalProperty | string The name of a property of the experiment linked through an integrated workspace. The field is set from that property when the workflow run starts. A list property (e.g. linked Portfolio Projects) gives one row per selected value with its detail columns, in selection order, so map it to a field of type Examples: | ||||
| enumFrom | reference Member NameThe identifier of another field in the same workflow whose current value supplies the list of options for this field at runtime, instead of a literal | ||||
| enumFromProperty | string non-empty When the field referenced by | ||||
type: string
enum:
- German
- English
type: string
enumFrom: materialSetupData
enumFromProperty: media
type: string
output: false
group: Analyst Notes
ui:widget: textarea
type: boolean
ui:widget: switch
ui:options:
label: false
type: array
hidden: true
items:
type: object
properties:
weight:
type: number
name:
type:
- string
- "null"
changeReason: true
defaultValue:
- weight: 12
name: Sample 1
- weight: 17
name: Sample 2