Customize UI
Some arguments' types can be given advanced settings that will affect the inputs' auto-generated UI and JSON Schema.
From the script's Settings, pick "Generated UI" tab.
Here is an example on how to define a python list as an enum of strings using the Customize
menu.
Below is the list of all available advanced settings for each argument type:
Type | Advanced Configuration |
---|---|
Integer | No advanced configuration for this type. |
Number | Min and Max. |
String | - File (base64) | Enum | Format: email, hostname, uri, uuid, ipv4, yaml, sql, date-time | Pattern (Regex) |
Boolean | No advanced configuration for this type. |
Object | Advanced settings are Resource Types. |
Array | - Items are strings | Items are strings from an enum | Items are objects (JSON) | Items are numbers | Items are bytes |
Any | No advanced configuration for this type. |