{
  "source": "scheduler.js",
  "method": "updateTimer",
  "input-schema": {
    "type": "object",
    "additionalProperties": false,
    "properties" : {
      "label": {
        "type": "string",
        "description": "Specify the label of the timer.",
        "required": true
      },
      "interval": {
        "type": "integer",
        "description": "Specify the new interval to update the timer.",
        "required": true
      }
    }
  },
  "output-schema": {
    "type": "object",
    "success": {
      "type": "boolean",
      "required": true
    }
  },
  "meta": {
    "name": "updateTimer",
    "description": "Update the specified timer with a new interval. If the timer is in paused state, the updated interval will be reflected after it is resumed."
  }
}