The Spotfire Action Mod manifest schema

version: string , must match ^(.*)$

Specifies the version of this Mod.

apiVersion: string 2.1 , must match ^(.*)$

Specifies the version of the Mod JavaScript API used by the code of this Mod. Set the lowest possible version number that the Mod requires to ensure best possible backward compatibility with older Spotfire systems. Using a newer API version than specified will result in runtime errors, even if the current Spotfire system includes that API.

name: string , must match ^(.*)$

Specifies the name of this Mod. The name will be shown to the user when this Mod is handled in Spotfire.

description: string , must match ^(.*)$

Specifies the description of this Mod. The description will be shown to the user of the mod.

icon: string icon.svg
id: string , must match ^[a-zA-Z0-9]+[a-zA-Z0-9-._]*(?<=[a-zA-Z0-9])$
type: string , x ∈ { action (default) } , must match ^(.*)$
capabilities: string[]

Any extended capabilities required by the scripts in the mod. The API documentation indicates if an API requires an extended capability.

string , x ∈ { LibraryRead , LibraryWrite , AI } , must match ^(.*)$
files: string[]

All files of a mod will be saved into Spotfire. The files array lists all files so that Spotfire can save them.

string , must match ^(.*)$
classification: string[]

Specifies the classification of the mod, which determines the license required to run it. Use 'Industry Pro' to indicate that this mod requires an Industry Pro license. Requires apiVersion >= 2.5.

string , x ∈ { Industry Pro }
scripts: []

All scripts which can be executed inside of Spotfire.

wrapInTransaction: boolean true , must match ^(true)(false)$

Flag indicating if the script should be wrapped in a transaction.

parameters: []

All parameters of the entry point function.

name: myParam

The JavaScript identifier for the parameter.

type: string , x ∈ { Boolean , Currency , DataTable , DataColumn , Date , DateTime , Integer , LongInteger , Real , SingleReal , String , Time , TimeSpan , Page , Visualization , DataViewDefinition }

The Spotfire type of the parameter.

displayName: string Display name of the parameter. , must match ^(.*)$

A description of this parameter.

description: string Description of the parameter , must match ^(.*)$

A description of this parameter.

optional: boolean true

If the parameter is optional.

enum: string[]

Array of allowed values for this parameter.

string
allowedDataTypes: string[]

Array of allowed values for this parameter.

string , x ∈ { All , AllNumeric , Integer , Real , SingleReal , Currency , String , Date , Time , DateTime , Boolean , Binary , LongInteger }
singleColumn: boolean true

If the data view should only allow single columns.

disableLimitations: boolean true

If the data view should not allow limitations to be configured.

array: boolean true

If the parameter is an array.

range: object

The valid range of a numeric parameter.

min: object

The minimum value of the valid parameter range.

max: object

The maximum value of the valid parameter range.

minExcluded: boolean

If the min value is excluded from the range.

maxExcluded: boolean

If the max value is excluded from the range.

agents: []

Agents that provide AI-driven analysis based on the current context.

type: string , x ∈ { marking , visual }

The type of context this agent operates on.