Field Type Required Description
blockOptions.method.args.name string + Name for an expression. Max 30 characters.
blockOptions.method.args.code string Lua code snippet to be run within a scene (Max 5 kb)
blockOptions.method.args.valueType string A type of value returned by an expression. Required for expressions used by the Scenes Engine. If set, the Lua code should return only values, from which the variable of a given value type can be constructed.
blockOptions.method.args.metadata object Any metadata bound to an expression. Can be of any JSON type. If null, should not be stored.
blockOptions.method.args.params object Expression parameters