Skip to content

tools.ozone.set.addValues

Lexicon Version: 1

Type: procedure

Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
namestringName of the set to add values to
valuesArray of stringArray of string values to add to the setMin Items: 1
Max Items: 1000

{
"lexicon": 1,
"id": "tools.ozone.set.addValues",
"defs": {
"main": {
"type": "procedure",
"description": "Add values to a specific set. Attempting to add values to a set that does not exist will result in an error.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"name",
"values"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the set to add values to"
},
"values": {
"type": "array",
"minLength": 1,
"maxLength": 1000,
"items": {
"type": "string"
},
"description": "Array of string values to add to the set"
}
}
}
}
}
}
}