DataTypes supported by action metadata

I am trying to find documentation around what datatypes are supported by the action metadata file. Does it supports dictionary?

See Actions — StackStorm 3.1.0 documentation

Key part is here:

parameters - A dictionary of parameters and optional metadata describing type and default. The metadata is structured data following the JSON Schema specification draft 4. The common parameter types allowed are string , boolean , number (whole numbers and decimal numbers - e.g. 1.0 , 1 , 3.3333 , etc.), object , integer (whole numbers only - 1 , 1000 , etc.) and array .

object is probably what you want

FYI: in YAML, JSON, and Javascript, objects and dictionaries are the same thing.

1 Like