toolsOzoneSetDeleteValues top-level constant

Map<String, dynamic> const toolsOzoneSetDeleteValues

tools.ozone.set.deleteValues

Implementation

const toolsOzoneSetDeleteValues = <String, dynamic>{
  "lexicon": 1,
  "id": "tools.ozone.set.deleteValues",
  "defs": {
    "main": {
      "type": "procedure",
      "description":
          "Delete values from a specific set. Attempting to delete values that are not in the set will not result in an error",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["name", "values"],
          "properties": {
            "name": {
              "type": "string",
              "description": "Name of the set to delete values from"
            },
            "values": {
              "type": "array",
              "description": "Array of string values to delete from the set",
              "items": {"type": "string"},
              "minLength": 1
            }
          }
        }
      },
      "errors": [
        {
          "name": "SetNotFound",
          "description": "set with the given name does not exist"
        }
      ]
    }
  }
};