Map Output Element
Two mutually exclusive modes are supported:
- Key-Value Mode: The key-value pairs of the map are predefined, but each value may be a different type.
- Uniform Mode: The map may contain a variable number of key-value pairs, but each entry must have the same type.
keyValueDeclaration) Specifies the expected output type for each key–value pair in the map.
Use this when individual entries in the map can have different value types and the keys are known in advance. The keys are always expected to be strings.
If the output value is not required in the Script Output Declaration, an empty list is also considered a valid script output if there are no required key-value pairs inside this map.
Note: Cannot be combined with the Uniform Declaration setting.
uniformDeclaration) Defines the expected output type for all values in the map.
Use this when the keys are not known in advance, and all entries in the map share the same value type.
With this property, the size of the map is variable. Each key is expected to be a string.
If the output value is not required in the Script Output Declaration, an empty list is also considered a valid script output.
Note: Cannot be combined with the Key-Value Declaration setting.
type: MapScriptOutputType
id: MapScriptOutputType-xxxxxx
displayName:
comment:
properties:
keyValueDeclaration:
uniformDeclaration: