Voxco · Schema

ScriptDefinition

Script definition for Studies API

Survey SoftwareMarket ResearchCATIOmnichannelText AnalyticsData CollectionPanel Management

Properties

Name Type Description
key integer Script key
name string Script name
description string Script description
isForceToTextOption boolean Indicates if the script output is forced to text format
friendlyName string Provides a user-friendly, display-ready name for the script
acceptsQuestionList boolean Specifies if the script can accept a list of questions as a parameter
modifiesData boolean Flags whether running the script will alter or update any data in the database
purpose object
parameters array Script parameters
View JSON Schema on GitHub

JSON Schema

ScriptDefinition.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ScriptDefinition",
  "required": [
    "key",
    "name"
  ],
  "type": "object",
  "properties": {
    "key": {
      "type": "integer",
      "description": "Script key",
      "format": "int32"
    },
    "name": {
      "type": "string",
      "description": "Script name",
      "nullable": true
    },
    "description": {
      "type": "string",
      "description": "Script description",
      "nullable": true
    },
    "isForceToTextOption": {
      "type": "boolean",
      "description": "Indicates if the script output is forced to text format"
    },
    "friendlyName": {
      "type": "string",
      "description": "Provides a user-friendly, display-ready name for the script",
      "nullable": true
    },
    "acceptsQuestionList": {
      "type": "boolean",
      "description": "Specifies if the script can accept a list of questions as a parameter"
    },
    "modifiesData": {
      "type": "boolean",
      "description": "Flags whether running the script will alter or update any data in the database"
    },
    "purpose": {
      "$ref": "#/components/schemas/DBScriptPurpose"
    },
    "parameters": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ScriptParameter"
      },
      "description": "Script parameters",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Script definition for Studies API"
}