Native model
workspace_variant
Declare a named workspace_variant value and reference it as workspace_variant.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
Lets the user choose one of several shapes for part of the input, for example a person or a company, each with its own fields.
childrenRequired- Minimum items
1- Maximum items
9223372036854776000
List items
Choose exactly one shape
All of these apply
componentRequired- Value
"variant"
defaultCaseOptionalCase selected initially for new records. Never overrides the case of an existing record.
discriminatorOptionalThe input member that records the chosen case. Required for discriminator encoding.
encodingRequiredHow the choice is sent: one-of for a GraphQL OneOf input, discriminator for an input with a type field.
- Allowed values
["one-of","discriminator"]- Minimum length
1
idRequiredUnique identifier: lowercase letters, digits and hyphens, starting with a letter.
- Minimum length
1
labelRequiredLabel shown above the choice of cases.
- Minimum length
1
pathRequiredPath of the input object the variant fills.
- Minimum length
1
sourceOptionalPath in the edited record that supplies the initial value.
stateOptionalWorkspace state key whose value fills this input. Editing the form does not change that state.
submitOptionalalways sends the value every time; changed sends it only when the user changed it.
- Allowed values
["always","changed"]
Only the fields listed here are accepted.