{
  "hidden": true,
  "source": "var.js",
  "method": "set",
  "input-schema": {
    "type": "object",
    "properties": {
      "operations": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "title": "operation",
          "properties": {
            "element": {
              "type": "any",
              "noJst": true
            },
            "operation": {
              "type": "string",
              "noJst": false,
              "format": "choice",
              "choice": [
                {
                  "value": "set",
                  "label": "Set"
                },
                {
                  "value": "\"remove\"",
                  "label": "Remove"
                },
                {
                  "value": "push",
                  "label": "Push"
                },
                {
                  "value": "pop",
                  "label": "Pop"
                },
                {
                  "value": "slice",
                  "label": "Slice"
                },
                {
                  "value": "splice",
                  "label": ""
                }
              ]
            },
            "key": {
              "type": "string",
              "noJst": true,
              "depends": "['set', 'get'].indexOf(this.operation.value) > 0"
            },
            "value": {
              "type": "any",
              "noJst": true,
              "depends": "['push', 'get'].indexOf(this.operation.value) > 0"
            }
          }
        }
      }
    }
  },
  "output-schema": {

  },
  "meta": {
    "name": "Set Variable2",
    "description": "Set value to a simple variable"
  }
}