Export & Import Scripting Rules

File Structure of JSON format

Imported & Exported files need to have some mandatory structural information:

  • name: name of the script

  • description: description of the script

  • type: type of the script

  • inputSchema: input schema of the script

  • outputSchema: output schema of the script

  • script: the JavaScript script you wish to run

Minimal File Structure Example:

{
    "name": "",
    "description": "",
    "type": "",
    "status": "",
    "inputSchema": {
    },
    "outputSchema": {
    },
    "script": {}
}

File Structure Example:

Last updated