1.2.1. Script Object

Script objects take the following form.

{
  "type"  : "text/javascript",
  "source": string
}
type

string, required

Specifies the type of script to be executed. Currently, OpenIDM supports only "text/javascript".

source

string, required

Specifies the source code of the script to be executed.